Home
last modified time | relevance | path

Searched refs:buckets (Results 151 - 175 of 231) sorted by relevance

12345678910

/kernel/linux/linux-6.6/net/core/
H A Ddev.h15 #define FLOW_LIMIT_HISTORY (1 << 7) /* must be ^2 and !overflow buckets */
21 u8 buckets[]; member
H A Dsock_map.c847 struct bpf_shtab_bucket *buckets; member
862 return &htab->buckets[hash & (htab->buckets_num - 1)]; in sock_hash_select_bucket()
1112 htab->buckets = bpf_map_area_alloc(htab->buckets_num * in sock_hash_alloc()
1115 if (!htab->buckets) { in sock_hash_alloc()
1121 INIT_HLIST_HEAD(&htab->buckets[i].head); in sock_hash_alloc()
1122 spin_lock_init(&htab->buckets[i].lock); in sock_hash_alloc()
1179 bpf_map_area_free(htab->buckets); in sock_hash_free()
1318 bucket = &htab->buckets[info->bucket_id]; in sock_hash_seq_find_next()
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_device.h232 /* The BO cache is a set of buckets with power-of-two sizes
237 struct list_head buckets[NR_BO_CACHE_BUCKETS]; member
/kernel/linux/linux-5.10/net/core/
H A Dsock_map.c869 struct bpf_shtab_bucket *buckets; member
884 return &htab->buckets[hash & (htab->buckets_num - 1)]; in sock_hash_select_bucket()
1153 htab->buckets = bpf_map_area_alloc(htab->buckets_num * in sock_hash_alloc()
1156 if (!htab->buckets) { in sock_hash_alloc()
1163 INIT_HLIST_HEAD(&htab->buckets[i].head); in sock_hash_alloc()
1164 raw_spin_lock_init(&htab->buckets[i].lock); in sock_hash_alloc()
1221 bpf_map_area_free(htab->buckets); in sock_hash_free()
1360 bucket = &htab->buckets[info->bucket_id]; in sock_hash_seq_find_next()
H A Dneighbour.c66 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...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_allocator.c869 pool->buckets[i].free_list = ANV_FREE_LIST_EMPTY; in anv_state_pool_init()
870 pool->buckets[i].block.next = 0; in anv_state_pool_init()
871 pool->buckets[i].block.end = 0; in anv_state_pool_init()
976 anv_free_list_push(&pool->buckets[block_bucket].free_list, in anv_state_pool_return_blocks()
1043 state = anv_free_list_pop(&pool->buckets[bucket].free_list, in anv_state_pool_alloc_no_vg()
1052 state = anv_free_list_pop(&pool->buckets[b].free_list, &pool->table); in anv_state_pool_alloc_no_vg()
1100 offset = anv_fixed_size_state_pool_alloc_new(&pool->buckets[bucket], in anv_state_pool_alloc_no_vg()
1178 anv_free_list_push(&pool->buckets[bucket].free_list, in anv_state_pool_free_no_vg()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dsuper.c104 err = "Too many journal buckets"; in read_super_common()
108 err = "Too many buckets"; in read_super_common()
112 err = "Not enough buckets"; in read_super_common()
147 err = "Journal buckets not sequential"; in read_super_common()
152 err = "Too many journal buckets"; in read_super_common()
570 * buckets in suboptimal order.
572 * On disk they're stored in a packed array, and in as many buckets are required
573 * to fit them all. The buckets we use to store them form a list; the journal
578 * of buckets to allocate from) the allocation code will invalidate some
579 * buckets, bu
[all...]
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_dentryfile.c447 hmdfs_err("buckoffset %llu overflow, level %d has %llu buckets max", in get_bucketaddr()
458 __u64 buckets = 0; in get_bucket_by_level() local
462 return buckets; in get_bucket_by_level()
465 buckets = ((__u64)1 << level); in get_bucket_by_level()
466 return buckets; in get_bucket_by_level()
471 __u64 buckets = 0; in get_overall_bucket() local
475 return buckets; in get_overall_bucket()
477 buckets = ((__u64)1 << (level + 1)) - 1; in get_overall_bucket()
478 return buckets; in get_overall_bucket()
483 loff_t buckets in get_dcache_file_size() local
[all...]
/kernel/linux/linux-5.10/net/ceph/
H A Dosdmap.c373 arg->ids_size != c->buckets[bucket_index]->size) in decode_choose_args()
398 if (!c->buckets[b]) in crush_finalize()
401 switch (c->buckets[b]->alg) { in crush_finalize()
411 c->working_size += c->buckets[b]->size * sizeof(__u32); in crush_finalize()
451 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
452 if (c->buckets == NULL) in crush_decode()
458 /* buckets */ in crush_decode()
466 c->buckets[i] = NULL; in crush_decode()
492 b = c->buckets[ in crush_decode()
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-ctrls-core.c1542 hdl->buckets = kvcalloc(hdl->nr_of_buckets, sizeof(hdl->buckets[0]), in v4l2_ctrl_handler_init_class()
1544 hdl->error = hdl->buckets ? 0 : -ENOMEM; in v4l2_ctrl_handler_init_class()
1557 if (hdl == NULL || hdl->buckets == NULL) in v4l2_ctrl_handler_free()
1578 kvfree(hdl->buckets); in v4l2_ctrl_handler_free()
1579 hdl->buckets = NULL; in v4l2_ctrl_handler_free()
1632 ref = hdl->buckets ? hdl->buckets[bucket] : NULL; in find_ref()
1729 new_ref->next = hdl->buckets[bucket]; in handler_new_ref()
1730 hdl->buckets[bucke in handler_new_ref()
[all...]
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_dentryfile.c448 hmdfs_err("buckoffset %llu overflow, level %d has %llu buckets max", in get_bucketaddr()
459 __u64 buckets = 0; in get_bucket_by_level() local
463 return buckets; in get_bucket_by_level()
466 buckets = ((__u64)1 << level); in get_bucket_by_level()
467 return buckets; in get_bucket_by_level()
472 __u64 buckets = 0; in get_overall_bucket() local
476 return buckets; in get_overall_bucket()
478 buckets = ((__u64)1 << (level + 1)) - 1; in get_overall_bucket()
479 return buckets; in get_overall_bucket()
484 loff_t buckets in get_dcache_file_size() local
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dsuper.c104 err = "Too many journal buckets"; in read_super_common()
108 err = "Too many buckets"; in read_super_common()
112 err = "Not enough buckets"; in read_super_common()
147 err = "Journal buckets not sequential"; in read_super_common()
152 err = "Too many journal buckets"; in read_super_common()
568 * buckets in suboptimal order.
570 * On disk they're stored in a packed array, and in as many buckets are required
571 * to fit them all. The buckets we use to store them form a list; the journal
576 * of buckets to allocate from) the allocation code will invalidate some
577 * buckets, bu
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A Dosdmap.c389 arg->ids_size != c->buckets[bucket_index]->size) in decode_choose_args()
414 if (!c->buckets[b]) in crush_finalize()
417 switch (c->buckets[b]->alg) { in crush_finalize()
427 c->working_size += c->buckets[b]->size * sizeof(__u32); in crush_finalize()
467 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
468 if (c->buckets == NULL) in crush_decode()
474 /* buckets */ in crush_decode()
482 c->buckets[i] = NULL; in crush_decode()
508 b = c->buckets[ in crush_decode()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh627 ip nexthop add id 10 group 3 type resilient buckets 7
630 ip nexthop add id 10 group 3 type resilient buckets 129
631 check_fail $? "managed to configure a resilient nexthop group with invalid number of buckets when should not"
633 ip nexthop add id 10 group 1/2 type resilient buckets 32
636 ip nexthop add id 10 group 3 type resilient buckets 32
761 # Test offload indication of nexthop buckets
770 ip nexthop add id 10 group 1/2 type resilient buckets 32 idle_timer 0
780 check_err $? "IPv4 nexthop buckets not marked as offloaded when should"
783 check_err $? "IPv6 nexthop buckets not marked as offloaded when should"
789 check_err $? "IPv4 nexthop buckets no
[all...]
/third_party/libdrm/tests/
H A Dhash.c113 bucket = table->buckets[i]; in compute_dist()
/kernel/linux/linux-6.6/net/unix/
H A Ddiag.c215 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()
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dgre_multipath_nh_res.sh104 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 Dftrace.c1034 .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 Dinternal.h543 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 Dinternal.h568 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 Dfilecache.c1209 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 DELFTypes.h514 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 Dv8-callbacks.h211 size_t buckets);
/third_party/node/deps/v8/include/v8-include/
H A Dv8-callbacks.h213 size_t buckets);
/third_party/node/deps/v8/src/heap/
H A Dmemory-chunk.h80 size_t buckets() const { return SlotSet::BucketsForSize(size()); } in buckets() function in v8::internal::MemoryChunk

Completed in 46 milliseconds

12345678910