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.c626 unsigned int rules_alloc = rules; in pipapo_realloc_mt() local
634 if (rules > old_rules && f->rules_alloc > rules) in pipapo_realloc_mt()
639 unsigned int remove = f->rules_alloc - rules; in pipapo_realloc_mt()
649 check_add_overflow(rules, extra, &rules_alloc)) in pipapo_realloc_mt()
652 if (rules_alloc > (INT_MAX / sizeof(*new_mt))) in pipapo_realloc_mt()
655 new_mt = kvmalloc_objs(*new_mt, rules_alloc, GFP_KERNEL_ACCOUNT); in pipapo_realloc_mt()
667 f->rules_alloc = rules_alloc; in pipapo_realloc_mt()
1460 if (src->rules_alloc > (INT_MAX / sizeof(*src->mt)))
1463 dst->mt = kvmalloc_objs(*src->mt, src->rules_alloc,
1471 dst->rules_alloc = 0;
[all …]
H A Dnft_set_pipapo.h118 unsigned int rules_alloc; member