Searched refs:n_buckets (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_arena_htab.h | 15 int n_buckets; member 24 return &b[hash & (htab->n_buckets - 1)]; in __select_bucket() 99 htab->n_buckets = 2 * PAGE_SIZE / sizeof(struct htab_bucket); in htab_init()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pno.c | 400 int err, n_buckets; in brcmf_pno_config_sched_scans() local 403 n_buckets = brcmf_pno_prep_fwconfig(pi, &pno_cfg, &buckets, in brcmf_pno_config_sched_scans() 405 if (n_buckets < 0) in brcmf_pno_config_sched_scans() 406 return n_buckets; in brcmf_pno_config_sched_scans() 408 gsz = struct_size(gscan_cfg, bucket, n_buckets); in brcmf_pno_config_sched_scans() 436 gscan_cfg->count_of_channel_buckets = n_buckets; in brcmf_pno_config_sched_scans() 438 array_size(n_buckets, sizeof(*buckets))); in brcmf_pno_config_sched_scans()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arena_htab.c | 20 printf("htab %p buckets %p n_buckets %d\n", htab, htab->buckets, htab->n_buckets); in test_arena_htab_common()
|
| /linux/net/openvswitch/ |
| H A D | flow_table.h | 56 unsigned int n_buckets; member
|
| /linux/net/core/ |
| H A D | bpf_sk_storage.c | 701 u32 i, count, n_buckets; in bpf_sk_storage_map_seq_find_next() 705 n_buckets = 1U << smap->bucket_log; in bpf_sk_storage_map_seq_find_next() local 706 if (bucket_id >= n_buckets) in bpf_sk_storage_map_seq_find_next()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_ptr_kern.c | 94 __u32 n_buckets; member 116 VERIFY(hash->n_buckets == MAX_ENTRIES); in check_hash()
|