Home
last modified time | relevance | path

Searched refs:NFT_PIPAPO_BUCKETS (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/
Dnft_set_pipapo.c642 new_lt = kvzalloc(f->groups * NFT_PIPAPO_BUCKETS(f->bb) * in pipapo_resize()
653 for (bucket = 0; bucket < NFT_PIPAPO_BUCKETS(f->bb); bucket++) { in pipapo_resize()
703 pos += f->bsize * NFT_PIPAPO_BUCKETS(f->bb) * group; in pipapo_bucket_set()
752 for (b = 0; b < NFT_PIPAPO_BUCKETS(8); b++) { in pipapo_lt_4b_to_8b()
753 int src_b0 = b / NFT_PIPAPO_BUCKETS(4); in pipapo_lt_4b_to_8b()
754 int src_b1 = b % NFT_PIPAPO_BUCKETS(4); in pipapo_lt_4b_to_8b()
755 int src_i0 = src_g0 * NFT_PIPAPO_BUCKETS(4) + src_b0; in pipapo_lt_4b_to_8b()
756 int src_i1 = src_g1 * NFT_PIPAPO_BUCKETS(4) + src_b1; in pipapo_lt_4b_to_8b()
795 memset(new_lt, 0, old_groups * 2 * NFT_PIPAPO_BUCKETS(4) * bsize * in pipapo_lt_8b_to_4b()
801 for (b = 0; b < NFT_PIPAPO_BUCKETS(4); b++) { in pipapo_lt_8b_to_4b()
[all …]
Dnft_set_pipapo.h50 #define NFT_PIPAPO_BUCKETS(bb) (1 << (bb)) macro
209 lt += f->bsize * NFT_PIPAPO_BUCKETS(4); in pipapo_and_field_buckets_4bit()
214 lt += f->bsize * NFT_PIPAPO_BUCKETS(4); in pipapo_and_field_buckets_4bit()
234 lt += f->bsize * NFT_PIPAPO_BUCKETS(8); in pipapo_and_field_buckets_8bit()
271 NFT_PIPAPO_BUCKETS(NFT_PIPAPO_GROUP_BITS_INIT) / in pipapo_estimate_size()
Dnft_set_pipapo_avx2.c47 lt[((group) * NFT_PIPAPO_BUCKETS(4) + \
51 lt[((group) * NFT_PIPAPO_BUCKETS(8) + \