Home
last modified time | relevance | path

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

/net/netfilter/
A Dnft_set_pipapo.c572 unsigned int rules_alloc = rules; in pipapo_realloc_mt() local
580 if (rules > old_rules && f->rules_alloc > rules) in pipapo_realloc_mt()
585 unsigned int remove = f->rules_alloc - rules; in pipapo_realloc_mt()
595 check_add_overflow(rules, extra, &rules_alloc)) in pipapo_realloc_mt()
598 if (rules_alloc > (INT_MAX / sizeof(*new_mt))) in pipapo_realloc_mt()
601 new_mt = kvmalloc_array(rules_alloc, sizeof(*new_mt), GFP_KERNEL_ACCOUNT); in pipapo_realloc_mt()
613 f->rules_alloc = rules_alloc; in pipapo_realloc_mt()
1430 if (src->rules_alloc > (INT_MAX / sizeof(*src->mt)))
1433 dst->mt = kvmalloc_array(src->rules_alloc,
1442 dst->rules_alloc = 0;
[all …]
A Dnft_set_pipapo.h118 unsigned int rules_alloc; member

Completed in 11 milliseconds