| /linux/tools/perf/bench/ |
| H A D | futex.c | 20 if (params->nbuckets < 0) in futex_set_nbuckets_param() 23 ret = prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS, params->nbuckets, 0); in futex_set_nbuckets_param() 26 params->nbuckets, ret); in futex_set_nbuckets_param() 37 if (params->nbuckets >= 0) { in futex_print_nbuckets() 38 if (ret != params->nbuckets) { in futex_print_nbuckets() 44 printf("Requested: %d in usage: %d\n", params->nbuckets, ret); in futex_print_nbuckets() 47 if (params->nbuckets == 0) in futex_print_nbuckets() 51 params->nbuckets); in futex_print_nbuckets()
|
| H A D | futex-wake.c | 45 .nbuckets = -1, 54 OPT_INTEGER( 'b', "buckets", ¶ms.nbuckets, "Specify amount of hash buckets"),
|
| H A D | futex-lock-pi.c | 44 .nbuckets = -1, 49 OPT_INTEGER( 'b', "buckets", ¶ms.nbuckets, "Specify amount of hash buckets"),
|
| H A D | futex-hash.c | 54 .nbuckets = -1, 58 OPT_INTEGER( 'b', "buckets", ¶ms.nbuckets, "Specify amount of hash buckets"),
|
| H A D | futex-requeue.c | 45 .nbuckets = -1, 54 OPT_INTEGER( 'b', "buckets", ¶ms.nbuckets, "Specify amount of hash buckets"),
|
| H A D | futex-wake-parallel.c | 61 .nbuckets = -1, 65 OPT_INTEGER( 'b', "buckets", ¶ms.nbuckets, "Specify amount of hash buckets"),
|
| H A D | futex.h | 29 int nbuckets; member
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ethtool_rmon.sh | 73 local nbuckets=0 88 if ! bucket_test $iface $neigh $set $nbuckets ${bucket[0]}; then 93 nbuckets=$((nbuckets + 1)) 97 if [ $nbuckets -eq 0 ]; then
|
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 107 p->nbuckets = n; in pnfs_alloc_commit_array() 262 unsigned int nbuckets, in pnfs_bucket_scan_array() argument 268 for (i = 0; i < nbuckets && max != 0; i++) { in pnfs_bucket_scan_array() 291 array->nbuckets, max); in pnfs_generic_scan_commit_lists() 307 unsigned int nbuckets, in pnfs_bucket_recover_commit_reqs() argument 316 for (i = 0, b = buckets; i < nbuckets; i++, b++) { in pnfs_bucket_recover_commit_reqs() 346 array->nbuckets, in pnfs_generic_recover_commit_reqs() 386 unsigned int nbuckets, in pnfs_generic_retry_commit() argument 394 for (bucket = buckets; idx < nbuckets; bucket++, idx++) { in pnfs_generic_retry_commit() 408 unsigned int nbuckets, in pnfs_bucket_alloc_ds_commits() argument [all …]
|
| H A D | internal.h | 645 unsigned int nbuckets) in pnfs_bucket_clear_pnfs_ds_commit_verifiers() argument 649 for (i = 0; i < nbuckets; i++) in pnfs_bucket_clear_pnfs_ds_commit_verifiers() 660 array->nbuckets); in nfs_clear_pnfs_ds_commit_verifiers()
|
| /linux/kernel/bpf/ |
| H A D | bpf_local_storage.c | 717 u32 nbuckets; in bpf_local_storage_map_alloc_check() 725 nbuckets = roundup_pow_of_two(num_possible_cpus()); in bpf_local_storage_map_check_btf() 727 nbuckets = max_t(u32, 2, nbuckets); in bpf_local_storage_map_check_btf() 728 smap->bucket_log = ilog2(nbuckets); in bpf_local_storage_map_check_btf() 730 smap->buckets = bpf_map_kvcalloc(&smap->map, nbuckets, 737 for (i = 0; i < nbuckets; i++) { in bpf_local_storage_destroy() 802 u32 nbuckets; bpf_local_storage_map_alloc() local
|
| /linux/lib/ |
| H A D | rhashtable.c | 149 size_t nbuckets, in nested_bucket_table_alloc() argument 156 if (nbuckets < (1 << (shift + 1))) in nested_bucket_table_alloc() 172 tbl->nest = (ilog2(nbuckets) - 1) % shift + 1; in nested_bucket_table_alloc() 178 size_t nbuckets, in bucket_table_alloc() argument 187 kvmalloc_node_align_noprof(struct_size(tbl, buckets, nbuckets), in bucket_table_alloc() 190 size = nbuckets; in bucket_table_alloc() 193 tbl = nested_bucket_table_alloc(ht, nbuckets, gfp); in bucket_table_alloc() 194 nbuckets = 0; in bucket_table_alloc() 209 for (i = 0; i < nbuckets; i++) in bucket_table_alloc()
|
| /linux/drivers/md/bcache/ |
| H A D | bcache_ondisk.h | 189 __le64 nbuckets; /* device size */ member 249 __u64 nbuckets; /* device size */ member
|
| H A D | extents.c | 59 bucket >= ca->sb.nbuckets) in __ptr_invalid() 82 if (bucket >= ca->sb.nbuckets) in bch_ptr_status() 139 if (n >= b->c->cache->sb.first_bucket && n < b->c->cache->sb.nbuckets) in bch_bkey_dump()
|
| H A D | btree.h | 197 atomic_set(&c->sectors_to_gc, c->cache->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
|
| /linux/include/linux/ |
| H A D | nfs_xdr.h | 1343 unsigned int nbuckets; member 1344 struct pnfs_commit_bucket buckets[] __counted_by(nbuckets);
|