/kernel/linux/linux-6.6/net/unix/ |
H A D | diag.c | 215 sk_for_each(sk, &net->unx.table.buckets[slot]) { in unix_diag_dump() 246 sk_for_each(sk, &net->unx.table.buckets[i]) { in unix_lookup_by_ino()
|
H A D | af_unix.c | 323 sk_add_node(sk, &net->unx.table.buckets[sk->sk_hash]); in __unix_insert_socket() 374 sk_for_each(s, &net->unx.table.buckets[hash]) { in __unix_find_socket_byname() 3185 for (sk = sk_head(&seq_file_net(seq)->unx.table.buckets[bucket]); in unix_from_bucket() 3535 net->unx.table.buckets = kvmalloc_array(UNIX_HASH_SIZE, in unix_net_init() 3538 if (!net->unx.table.buckets) in unix_net_init() 3543 INIT_HLIST_HEAD(&net->unx.table.buckets[i]); in unix_net_init() 3562 kvfree(net->unx.table.buckets); in unix_net_exit()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | gre_multipath_nh_res.sh | 104 ip nexthop add id 103 group 101/102 type resilient buckets 512 \ 151 ip nexthop add id 203 group 201/202 type resilient buckets 512 \
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | ftrace.c | 1034 .buckets = (struct hlist_head *)empty_buckets, 1121 hhd = &hash->buckets[key]; in __ftrace_lookup_ip() 1156 hhd = &hash->buckets[key]; in __add_hash_entry() 1204 hhd = &hash->buckets[i]; in ftrace_hash_clear() 1238 kfree(hash->buckets); in free_ftrace_hash() 1274 hash->buckets = kcalloc(size, sizeof(*hash->buckets), GFP_KERNEL); in alloc_ftrace_hash() 1276 if (!hash->buckets) { in alloc_ftrace_hash() 1338 hlist_for_each_entry(entry, &hash->buckets[i], hlist) { in alloc_and_copy_ftrace_hash() 1389 hhd = &src->buckets[ in dup_hash() [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | internal.h | 543 pnfs_bucket_clear_pnfs_ds_commit_verifiers(struct pnfs_commit_bucket *buckets, in pnfs_bucket_clear_pnfs_ds_commit_verifiers() argument 549 buckets[i].direct_verf.committed = NFS_INVALID_STABLE_HOW; in pnfs_bucket_clear_pnfs_ds_commit_verifiers() 558 pnfs_bucket_clear_pnfs_ds_commit_verifiers(array->buckets, in nfs_clear_pnfs_ds_commit_verifiers()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | internal.h | 568 pnfs_bucket_clear_pnfs_ds_commit_verifiers(struct pnfs_commit_bucket *buckets, in pnfs_bucket_clear_pnfs_ds_commit_verifiers() argument 574 buckets[i].direct_verf.committed = NFS_INVALID_STABLE_HOW; in pnfs_bucket_clear_pnfs_ds_commit_verifiers() 583 pnfs_bucket_clear_pnfs_ds_commit_verifiers(array->buckets, in nfs_clear_pnfs_ds_commit_verifiers()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | filecache.c | 1209 unsigned int i, count = 0, buckets = 0; in nfsd_file_cache_stats_show() local 1224 buckets = tbl->size; in nfsd_file_cache_stats_show() 1238 seq_printf(m, "hash buckets: %u\n", buckets); in nfsd_file_cache_stats_show()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 514 ArrayRef<Elf_Word> buckets() const { 538 ArrayRef<Elf_Word> buckets() const { 544 return ArrayRef<Elf_Word>(buckets().end(), DynamicSymCount - symndx);
|
/third_party/node/deps/v8/include/ |
H A D | v8-callbacks.h | 211 size_t buckets);
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-callbacks.h | 213 size_t buckets);
|
/third_party/node/deps/v8/src/heap/ |
H A D | memory-chunk.h | 80 size_t buckets() const { return SlotSet::BucketsForSize(size()); } in buckets() function in v8::internal::MemoryChunk
|
/kernel/linux/linux-5.10/net/core/ |
H A D | neighbour.c | 66 Neighbour hash table buckets are protected with rwlock tbl->lock. 68 - All the scans/updates to hash buckets MUST be made under this lock. 479 struct neighbour __rcu **buckets; in neigh_hash_alloc() local 486 buckets = kzalloc(size, GFP_ATOMIC); in neigh_hash_alloc() 488 buckets = (struct neighbour __rcu **) in neigh_hash_alloc() 491 kmemleak_alloc(buckets, size, 1, GFP_ATOMIC); in neigh_hash_alloc() 493 if (!buckets) { in neigh_hash_alloc() 497 ret->hash_buckets = buckets; in neigh_hash_alloc() 510 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu() local 513 kfree(buckets); in neigh_hash_free_rcu() [all...] |
H A D | bpf_sk_storage.c | 684 b = &smap->buckets[bucket_id++]; in __acquires() 698 b = &smap->buckets[i]; in __acquires()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls.c | 2340 hdl->buckets = kvmalloc_array(hdl->nr_of_buckets, in v4l2_ctrl_handler_init_class() 2341 sizeof(hdl->buckets[0]), in v4l2_ctrl_handler_init_class() 2343 hdl->error = hdl->buckets ? 0 : -ENOMEM; in v4l2_ctrl_handler_init_class() 2356 if (hdl == NULL || hdl->buckets == NULL) in v4l2_ctrl_handler_free() 2388 kvfree(hdl->buckets); in v4l2_ctrl_handler_free() 2389 hdl->buckets = NULL; in v4l2_ctrl_handler_free() 2442 ref = hdl->buckets ? hdl->buckets[bucket] : NULL; in find_ref() 2540 new_ref->next = hdl->buckets[bucket]; in handler_new_ref() 2541 hdl->buckets[bucke in handler_new_ref() [all...] |
/third_party/musl/porting/liteos_a/user/ldso/ |
H A D | dynlink.c | 259 uint32_t *buckets = hashtab + 4 + hashtab[2]*(sizeof(size_t)/4); in gnu_lookup() local 260 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup() 264 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() 949 uint32_t *buckets = p->ghashtab + 4 + (p->ghashtab[2]*sizeof(size_t)/4); in count_syms() local 952 if (buckets[i] > nsym) in count_syms() 953 nsym = buckets[i]; in count_syms() 956 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
H A D | dynlink.c | 259 uint32_t *buckets = hashtab + 4 + hashtab[2]*(sizeof(size_t)/4); in gnu_lookup() local 260 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup() 264 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() 949 uint32_t *buckets = p->ghashtab + 4 + (p->ghashtab[2]*sizeof(size_t)/4); in count_syms() local 952 if (buckets[i] > nsym) in count_syms() 953 nsym = buckets[i]; in count_syms() 956 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
|
/third_party/node/deps/v8/tools/profview/ |
H A D | profview.js | 959 let buckets = stackProcessor.buckets; 961 for (let i = 0; i < buckets.length; i++) { 964 let total = buckets[i].total; 969 sum += buckets[i][desc.kinds[k]];
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_events_hist.c | 160 unsigned long buckets; member 296 unsigned long buckets = hist_field->buckets; in hist_field_bucket() local 300 if (WARN_ON_ONCE(!buckets)) in hist_field_bucket() 304 val = div64_ul(val, buckets); in hist_field_bucket() 306 val = (u64)((unsigned long)val / buckets); in hist_field_bucket() 307 return val * buckets; in hist_field_bucket() 1719 flags_str = "buckets"; in get_hist_field_flags() 2302 char *field_str, unsigned long *flags, unsigned long *buckets) in parse_field() 2345 ret = kstrtoul(modifier, 0, buckets); in parse_field() 2301 parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file, char *field_str, unsigned long *flags, unsigned long *buckets) parse_field() argument 2458 unsigned long buckets = 0; parse_atom() local 5410 unsigned long buckets = key_field->buckets; hist_trigger_print_key() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 300 struct hlist_head *buckets; /** ht for relocation handles */ member 347 eb->buckets = kzalloc(sizeof(struct hlist_head) << size, in eb_create() 349 if (eb->buckets) in eb_create() 545 &eb->buckets[hash_32(entry->handle, in eb_add_vma() 938 head = &eb->buckets[hash_32(handle, eb->lut_size)]; in eb_get_vma() 973 kfree(eb->buckets); in eb_destroy()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 310 struct hlist_head *buckets; /** ht for relocation handles */ member 360 eb->buckets = kzalloc(sizeof(struct hlist_head) << size, in eb_create() 362 if (eb->buckets) in eb_create() 576 &eb->buckets[hash_32(entry->handle, in eb_add_vma() 1073 head = &eb->buckets[hash_32(handle, eb->lut_size)]; in eb_get_vma() 1107 kfree(eb->buckets); in eb_destroy()
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_module_getdwarf.c | 761 const Elf32_Word *const buckets = data->d_buf; in translate_offs() local 764 if (buckets[bucket] > maxndx) in translate_offs() 765 maxndx = buckets[bucket]; in translate_offs()
|
/third_party/ninja/src/ |
H A D | ninja.cc | 1341 int buckets = (int)state_.paths_.bucket_count();
in DumpMetrics() local 1342 printf("path->node hash load %.2f (%d entries / %d buckets)\n",
in DumpMetrics() 1343 count / (double) buckets, count, buckets);
in DumpMetrics()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | bpf_sk_storage.c | 733 b = &smap->buckets[bucket_id++]; in __acquires() 747 b = &smap->buckets[i]; in __acquires()
|
H A D | neighbour.c | 65 Neighbour hash table buckets are protected with rwlock tbl->lock. 67 - All the scans/updates to hash buckets MUST be made under this lock. 535 struct neighbour __rcu **buckets; in neigh_hash_alloc() local 542 buckets = kzalloc(size, GFP_ATOMIC); in neigh_hash_alloc() 544 buckets = (struct neighbour __rcu **) in neigh_hash_alloc() 547 kmemleak_alloc(buckets, size, 1, GFP_ATOMIC); in neigh_hash_alloc() 549 if (!buckets) { in neigh_hash_alloc() 553 ret->hash_buckets = buckets; in neigh_hash_alloc() 566 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu() local 569 kfree(buckets); in neigh_hash_free_rcu() [all...] |
/third_party/musl/ldso/ |
H A D | dynlink.c | 274 uint32_t *buckets = hashtab + 4 + hashtab[2]*(sizeof(size_t)/4); in gnu_lookup() local 275 uint32_t i = buckets[h1 % nbuckets]; in gnu_lookup() 279 uint32_t *hashval = buckets + nbuckets + (i - hashtab[1]); in gnu_lookup() 1018 uint32_t *buckets = p->ghashtab + 4 + (p->ghashtab[2]*sizeof(size_t)/4); in count_syms() local 1021 if (buckets[i] > nsym) in count_syms() 1022 nsym = buckets[i]; in count_syms() 1025 hashval = buckets + p->ghashtab[0] + (nsym - p->ghashtab[1]); in count_syms()
|