Searched refs:rules_alloc (Results 1 – 2 of 2) sorted by relevance
588 unsigned int rules_alloc = rules; in pipapo_realloc_mt() local596 if (rules > old_rules && f->rules_alloc > rules) in pipapo_realloc_mt()601 unsigned int remove = f->rules_alloc - rules; in pipapo_realloc_mt()611 check_add_overflow(rules, extra, &rules_alloc)) in pipapo_realloc_mt()614 if (rules_alloc > (INT_MAX / sizeof(*new_mt))) in pipapo_realloc_mt()617 new_mt = kvmalloc_array(rules_alloc, sizeof(*new_mt), GFP_KERNEL_ACCOUNT); in pipapo_realloc_mt()629 f->rules_alloc = rules_alloc; in pipapo_realloc_mt()1446 if (src->rules_alloc > (INT_MAX / sizeof(*src->mt)))1449 dst->mt = kvmalloc_array(src->rules_alloc,1458 dst->rules_alloc = 0;[all …]
118 unsigned int rules_alloc; member