Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnft_set_pipapo.c624 unsigned int rules_alloc = rules; in pipapo_realloc_mt() local
632 if (rules > old_rules && f->rules_alloc > rules) in pipapo_realloc_mt()
637 unsigned int remove = f->rules_alloc - rules; in pipapo_realloc_mt()
647 check_add_overflow(rules, extra, &rules_alloc)) in pipapo_realloc_mt()
650 if (rules_alloc > (INT_MAX / sizeof(*new_mt))) in pipapo_realloc_mt()
653 new_mt = kvmalloc_objs(*new_mt, rules_alloc, GFP_KERNEL_ACCOUNT); in pipapo_realloc_mt()
665 f->rules_alloc = rules_alloc; in pipapo_realloc_mt()
1458 if (src->rules_alloc > (INT_MAX / sizeof(*src->mt)))
1461 dst->mt = kvmalloc_objs(*src->mt, src->rules_alloc,
1469 dst->rules_alloc = 0;
[all …]
H A Dnft_set_pipapo.h115 unsigned int rules_alloc; member