Searched refs:old_rules (Results 1 – 1 of 1) sorted by relevance
620 static int pipapo_resize(struct nft_pipapo_field *f, int old_rules, int rules) in pipapo_resize() argument671 memcpy(new_mt, f->mt, min(old_rules, rules) * sizeof(*new_mt)); in pipapo_resize()672 if (rules > old_rules) { in pipapo_resize()673 memset(new_mt + old_rules, 0, in pipapo_resize()674 (rules - old_rules) * sizeof(*new_mt)); in pipapo_resize()