/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | super.c | 124 err = "Bad bucket size (not power of 2)"; in read_super_common() 128 err = "Bad bucket size (smaller than page size)"; in read_super_common() 156 err = "Invalid superblock: first bucket comes before end of super"; in read_super_common() 519 /* Only one bucket used for uuid write */ in __uuid_write() 559 * For each bucket, we store on disk its 574 * header points to the first bucket, the first bucket points to the second 575 * bucket, et cetera. 592 static void prio_io(struct cache *ca, uint64_t bucket, int op, in prio_io() argument 600 bio->bi_iter.bi_sector = bucket * c in prio_io() 646 long bucket; bch_prio_write() local 694 prio_read(struct cache *ca, uint64_t bucket) prio_read() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | super.c | 124 err = "Bad bucket size (not power of 2)"; in read_super_common() 128 err = "Bad bucket size (smaller than page size)"; in read_super_common() 156 err = "Invalid superblock: first bucket comes before end of super"; in read_super_common() 517 /* Only one bucket used for uuid write */ in __uuid_write() 557 * For each bucket, we store on disk its 572 * header points to the first bucket, the first bucket points to the second 573 * bucket, et cetera. 590 static void prio_io(struct cache *ca, uint64_t bucket, blk_opf_t opf) in prio_io() argument 597 bio->bi_iter.bi_sector = bucket * c in prio_io() 643 long bucket; bch_prio_write() local 691 prio_read(struct cache *ca, uint64_t bucket) prio_read() argument [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | values_buckets.h | 41 API_EXPORT void Put(const ValuesBucket &bucket);
|
/kernel/linux/linux-5.10/fs/fscache/ |
H A D | cookie.c | 188 unsigned int bucket; in fscache_hash_cookie() local 190 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie() 191 h = &fscache_cookie_hash[bucket]; in fscache_hash_cookie() 831 unsigned int bucket; in fscache_unhash_cookie() local 833 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_unhash_cookie() 834 h = &fscache_cookie_hash[bucket]; in fscache_unhash_cookie()
|
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | keyring.c | 226 struct hlist_head *bucket = &keyring->key_hashtable[i]; in fscrypt_destroy_keyring() local 230 hlist_for_each_entry_safe(mk, tmp, bucket, mk_node) { in fscrypt_destroy_keyring() 276 struct hlist_head *bucket; in fscrypt_find_master_key() local 289 bucket = fscrypt_mk_hash_bucket(keyring, mk_spec); in fscrypt_find_master_key() 293 hlist_for_each_entry_rcu(mk, bucket, mk_node) { in fscrypt_find_master_key() 304 hlist_for_each_entry_rcu(mk, bucket, mk_node) { in fscrypt_find_master_key()
|
/kernel/linux/linux-6.6/fs/crypto/ |
H A D | keyring.c | 227 struct hlist_head *bucket = &keyring->key_hashtable[i]; in fscrypt_destroy_keyring() local 231 hlist_for_each_entry_safe(mk, tmp, bucket, mk_node) { in fscrypt_destroy_keyring() 277 struct hlist_head *bucket; in fscrypt_find_master_key() local 290 bucket = fscrypt_mk_hash_bucket(keyring, mk_spec); in fscrypt_find_master_key() 294 hlist_for_each_entry_rcu(mk, bucket, mk_node) { in fscrypt_find_master_key() 305 hlist_for_each_entry_rcu(mk, bucket, mk_node) { in fscrypt_find_master_key()
|
/kernel/linux/linux-6.6/fs/notify/fanotify/ |
H A D | fanotify.c | 191 unsigned int bucket = fanotify_event_hash_bucket(group, new); in fanotify_merge() local 192 struct hlist_head *hlist = &group->fanotify_data.merge_hash[bucket]; in fanotify_merge() 195 pr_debug("%s: group=%p event=%p bucket=%u\n", __func__, in fanotify_merge() 196 group, event, bucket); in fanotify_merge() 878 unsigned int bucket = fanotify_event_hash_bucket(group, event); in fanotify_insert_event() local 879 struct hlist_head *hlist = &group->fanotify_data.merge_hash[bucket]; in fanotify_insert_event() 886 pr_debug("%s: group=%p event=%p bucket=%u\n", __func__, in fanotify_insert_event() 887 group, event, bucket); in fanotify_insert_event()
|
/kernel/linux/linux-6.6/fs/fscache/ |
H A D | cookie.c | 406 unsigned int bucket; in fscache_hash_cookie() local 408 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie() 409 h = &fscache_cookie_hash[bucket]; in fscache_hash_cookie() 932 unsigned int bucket; in fscache_unhash_cookie() local 934 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_unhash_cookie() 935 h = &fscache_cookie_hash[bucket]; in fscache_unhash_cookie()
|
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_ldm.c | 171 * Returns a pointer to the start of the bucket associated with hash. */ 376 candidates[n].bucket = ZSTD_ldm_getBucket(ldmState, hash, *params); in ZSTD_ldm_generateSequences_internal() 377 PREFETCH_L1(candidates[n].bucket); in ZSTD_ldm_generateSequences_internal() 387 ldmEntry_t* const bucket = candidates[n].bucket; in ZSTD_ldm_generateSequences_internal() local 403 for (cur = bucket; cur < bucket + entsPerBucket; cur++) { in ZSTD_ldm_generateSequences_internal()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | raw.c | 947 static struct sock *raw_get_first(struct seq_file *seq, int bucket) in raw_get_first() argument 954 for (state->bucket = bucket; state->bucket < RAW_HTABLE_SIZE; in raw_get_first() 955 ++state->bucket) { in raw_get_first() 956 hlist = &h->ht[state->bucket]; in raw_get_first() 974 return raw_get_first(seq, state->bucket + 1); in raw_get_next() 1047 raw_sock_seq_show(seq, v, raw_seq_private(seq)->bucket); in raw_seq_show()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_standalone.c | 104 unsigned int bucket; member 113 for (st->bucket = 0; in ct_get_first() 114 st->bucket < st->htable_size; in ct_get_first() 115 st->bucket++) { in ct_get_first() 117 hlist_nulls_first_rcu(&st->hash[st->bucket])); in ct_get_first() 131 if (likely(get_nulls_value(head) == st->bucket)) { in ct_get_next() 132 if (++st->bucket >= st->htable_size) in ct_get_next() 136 hlist_nulls_first_rcu(&st->hash[st->bucket])); in ct_get_next()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_cmd_buffer.c | 324 unsigned bucket = shadow_size_log2 - 16; in anv_cmd_buffer_set_ray_query_buffer() local 325 assert(bucket < ARRAY_SIZE(device->ray_query_shadow_bos)); in anv_cmd_buffer_set_ray_query_buffer() 327 struct anv_bo *bo = p_atomic_read(&device->ray_query_shadow_bos[bucket]); in anv_cmd_buffer_set_ray_query_buffer() 340 bo = p_atomic_cmpxchg(&device->ray_query_shadow_bos[bucket], NULL, new_bo); in anv_cmd_buffer_set_ray_query_buffer() 1082 unsigned bucket = stack_size_log2 - 10; in anv_CmdSetRayTracingPipelineStackSizeKHR() local 1083 assert(bucket < ARRAY_SIZE(device->rt_scratch_bos)); in anv_CmdSetRayTracingPipelineStackSizeKHR() 1085 struct anv_bo *bo = p_atomic_read(&device->rt_scratch_bos[bucket]); in anv_CmdSetRayTracingPipelineStackSizeKHR() 1099 bo = p_atomic_cmpxchg(&device->rt_scratch_bos[bucket], NULL, new_bo); in anv_CmdSetRayTracingPipelineStackSizeKHR()
|
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_store_test.cpp | 787 OH_VBucket *bucket = OH_Rdb_CreateValuesBucket(); in HWTEST_F() local 788 bucket->putInt64(bucket, "data_key", 1); in HWTEST_F() 789 bucket->putInt64(bucket, "timestamp", 1000000000); in HWTEST_F() 790 errCode = OH_Rdb_Insert(storeTestRdbStore_, "naturalbase_rdb_aux_rdbstoreimpltest_integer_log", bucket); in HWTEST_F() 830 OH_VBucket *bucket = OH_Rdb_CreateValuesBucket(); in HWTEST_F() local 831 bucket->putInt64(bucket, "data_key", 1); in HWTEST_F() 832 bucket in HWTEST_F() [all...] |
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | endpoint.h | 68 TokenBucket bucket;
member
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_utils.h | 38 static int GetSelectVBucket(sqlite3_stmt *stmt, VBucket &bucket);
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | meter.h | 29 u64 bucket; /* 1/1000 packets, or in bits */ member
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | meter.h | 29 u64 bucket; /* 1/1000 packets, or in bits */ member
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_screen_cache.h | 84 /** Head for the bucket lists. */ 113 struct list_head bucket[SVGA_HOST_SURFACE_CACHE_BUCKETS]; member
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | lockdep.c | 3164 * The first 2 chain_hlocks entries in the chain block in the bucket 3174 * On the unsized bucket (bucket-0), the 3rd and 4th entries contain 3195 * Iterate all the chain blocks in a bucket. 3197 #define for_each_chain_block(bucket, prev, curr) \ 3198 for ((prev) = -1, (curr) = chain_block_buckets[bucket]; \ 3222 * bucket-0 only 3229 static inline void init_chain_block(int offset, int next, int bucket, int size) in init_chain_block() argument 3234 if (size && !bucket) { in init_chain_block() 3242 int bucket in add_chain_block() local 3295 del_chain_block(int bucket, int size, int next) del_chain_block() argument 3322 int bucket, curr, size; alloc_chain_hlocks() local [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | neighbour.c | 3061 int bucket; in neigh_get_first() local 3064 for (bucket = 0; bucket < (1 << nht->hash_shift); bucket++) { in neigh_get_first() 3065 n = rcu_dereference_bh(nht->hash_buckets[bucket]); in neigh_get_first() 3089 state->bucket = bucket; in neigh_get_first() 3131 if (++state->bucket >= (1 << nht->hash_shift)) in neigh_get_next() 3134 n = rcu_dereference_bh(nht->hash_buckets[state->bucket]); in neigh_get_next() 3163 int bucket in pneigh_get_first() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log_recover.c | 2634 * in an agi unlinked inode hash bucket. 2639 int bucket) in xlog_recover_clear_agi_bucket() 2657 agi->agi_unlinked[bucket] = cpu_to_be32(NULLAGINO); in xlog_recover_clear_agi_bucket() 2659 (sizeof(xfs_agino_t) * bucket); in xlog_recover_clear_agi_bucket() 2680 int bucket) in xlog_recover_iunlink_bucket() 2688 agino = be32_to_cpu(agi->agi_unlinked[bucket]); in xlog_recover_iunlink_bucket() 2765 int bucket; in xlog_recover_iunlink_ag() local 2783 * to hold it locked to read the initial unlinked bucket entries out of in xlog_recover_iunlink_ag() 2790 for (bucket = 0; bucket < XFS_AGI_UNLINKED_BUCKET in xlog_recover_iunlink_ag() 2637 xlog_recover_clear_agi_bucket( struct xfs_perag *pag, int bucket) xlog_recover_clear_agi_bucket() argument 2677 xlog_recover_iunlink_bucket( struct xfs_perag *pag, struct xfs_agi *agi, int bucket) xlog_recover_iunlink_bucket() argument [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp.c | 2917 for (state->bucket = start; state->bucket <= afinfo->udp_table->mask; in udp_get_first() 2918 ++state->bucket) { in udp_get_first() 2919 struct udp_hslot *hslot = &afinfo->udp_table->hash[state->bucket]; in udp_get_first() 2957 if (state->bucket <= afinfo->udp_table->mask) in udp_get_next() 2958 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_get_next() 2959 return udp_get_first(seq, state->bucket + 1); in udp_get_next() 2977 state->bucket = MAX_UDP_PORTS; in udp_seq_start() 3007 if (state->bucket <= afinfo->udp_table->mask) in udp_seq_stop() 3008 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket] in udp_seq_stop() 3013 udp4_format_sock(struct sock *sp, struct seq_file *f, int bucket) udp4_format_sock() argument 3058 udp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, struct udp_sock *udp_sk, uid_t uid, int bucket) udp_prog_seq_show() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pno.c | 437 memcpy(&gscan_cfg->bucket[0], buckets, in brcmf_pno_config_sched_scans() 552 u64 brcmf_pno_find_reqid_by_bucket(struct brcmf_pno_info *pi, u32 bucket) in brcmf_pno_find_reqid_by_bucket() argument 558 if (bucket < pi->n_reqs) in brcmf_pno_find_reqid_by_bucket() 559 reqid = pi->reqs[bucket]->reqid; in brcmf_pno_find_reqid_by_bucket()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_ssa.cpp | 136 DLList *bucket = new DLList[count]; in build() local 153 bucket[SEMI(w)].insert(nw); in build() 156 for (DLList::Iterator it = bucket[p].iterator(); !it.end(); it.erase()) { in build() 181 delete[] bucket; in build()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink_log.c | 1008 unsigned int bucket; member 1019 for (st->bucket = 0; st->bucket < INSTANCE_BUCKETS; st->bucket++) { in get_first() 1020 struct hlist_head *head = &log->instance_table[st->bucket]; in get_first() 1036 if (++st->bucket >= INSTANCE_BUCKETS) in get_next() 1040 head = &log->instance_table[st->bucket]; in get_next()
|