Home
last modified time | relevance | path

Searched refs:new_mt (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/netfilter/
Dnft_set_pipapo.c638 union nft_pipapo_map_bucket *new_mt = NULL, *old_mt = f->mt; in pipapo_realloc_mt() local
639 const unsigned int extra = PAGE_SIZE / sizeof(*new_mt); in pipapo_realloc_mt()
666 new_mt = kvmalloc_array(rules_alloc, sizeof(*new_mt), GFP_KERNEL_ACCOUNT); in pipapo_realloc_mt()
667 if (!new_mt) in pipapo_realloc_mt()
671 memcpy(new_mt, old_mt, min(old_rules, rules) * sizeof(*new_mt)); in pipapo_realloc_mt()
674 memset(new_mt + old_rules, 0, in pipapo_realloc_mt()
675 (rules - old_rules) * sizeof(*new_mt)); in pipapo_realloc_mt()
679 f->mt = new_mt; in pipapo_realloc_mt()
/linux-6.12.1/mm/
Dpage_alloc.c676 unsigned int order, int old_mt, int new_mt) in move_to_free_list() argument
685 list_move_tail(&page->buddy_list, &area->free_list[new_mt]); in move_to_free_list()
688 account_freepages(zone, 1 << order, new_mt); in move_to_free_list()
1640 int old_mt, int new_mt) in __move_freepages_block() argument
1663 move_to_free_list(page, zone, order, old_mt, new_mt); in __move_freepages_block()
1669 set_pageblock_migratetype(pfn_to_page(start_pfn), new_mt); in __move_freepages_block()
1725 int old_mt, int new_mt) in move_freepages_block() argument
1732 return __move_freepages_block(zone, start_pfn, old_mt, new_mt); in move_freepages_block()