Home
last modified time | relevance | path

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

/Linux-v5.4/net/core/
Dbpf_sk_storage.c50 u32 bucket_log; member
96 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
577 for (i = 0; i < (1U << smap->bucket_log); i++) { in bpf_sk_storage_map_free()
647 smap->bucket_log = max_t(u32, 1, ilog2(roundup_pow_of_two(num_possible_cpus()))); in bpf_sk_storage_map_alloc()
648 nbuckets = 1U << smap->bucket_log; in bpf_sk_storage_map_alloc()