Searched refs:new_mt (Results 1 – 1 of 1) sorted by relevance
624 union nft_pipapo_map_bucket *new_mt, *old_mt = f->mt; in pipapo_resize() local666 new_mt = kvmalloc(rules * sizeof(*new_mt), GFP_KERNEL); in pipapo_resize()667 if (!new_mt) { in pipapo_resize()672 memcpy(new_mt, f->mt, min(old_rules, rules) * sizeof(*new_mt)); in pipapo_resize()674 memset(new_mt + old_rules, 0, in pipapo_resize()675 (rules - old_rules) * sizeof(*new_mt)); in pipapo_resize()684 f->mt = new_mt; in pipapo_resize()