Home
last modified time | relevance | path

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

/linux-5.19.10/net/netfilter/
Dnft_set_pipapo.c623 union nft_pipapo_map_bucket *new_mt, *old_mt = f->mt; in pipapo_resize() local
665 new_mt = kvmalloc(rules * sizeof(*new_mt), GFP_KERNEL); in pipapo_resize()
666 if (!new_mt) { in pipapo_resize()
671 memcpy(new_mt, f->mt, min(old_rules, rules) * sizeof(*new_mt)); in pipapo_resize()
673 memset(new_mt + old_rules, 0, in pipapo_resize()
674 (rules - old_rules) * sizeof(*new_mt)); in pipapo_resize()
683 f->mt = new_mt; in pipapo_resize()