Home
last modified time | relevance | path

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

/kernel/bpf/
Dbpf_local_storage.c621 u32 nbuckets; in bpf_local_storage_map_alloc() local
628 nbuckets = roundup_pow_of_two(num_possible_cpus()); in bpf_local_storage_map_alloc()
630 nbuckets = max_t(u32, 2, nbuckets); in bpf_local_storage_map_alloc()
631 smap->bucket_log = ilog2(nbuckets); in bpf_local_storage_map_alloc()
633 smap->buckets = kvcalloc(sizeof(*smap->buckets), nbuckets, in bpf_local_storage_map_alloc()
640 for (i = 0; i < nbuckets; i++) { in bpf_local_storage_map_alloc()