Home
last modified time | relevance | path

Searched defs:bucket (Results 1 – 25 of 164) sorted by relevance

1234567

/linux-6.12.1/fs/bcachefs/
Dbuckets_types.h10 struct bucket { struct
22 struct bucket_gens { argument
Dbackpointers.h46 …line bool bp_pos_to_bucket_nodev_noerror(struct bch_fs *c, struct bpos bp_pos, struct bpos *bucket) in bp_pos_to_bucket_nodev_noerror()
56 static inline bool bp_pos_to_bucket_nodev(struct bch_fs *c, struct bpos bp_pos, struct bpos *bucket) in bp_pos_to_bucket_nodev()
62 static inline struct bpos bucket_pos_to_bp_noerror(const struct bch_dev *ca, in bucket_pos_to_bp_noerror()
74 static inline struct bpos bucket_pos_to_bp(const struct bch_dev *ca, in bucket_pos_to_bp()
88 struct bpos bucket, in bch2_bucket_backpointer_mod()
Dbackpointers.c20 struct bpos bucket, in extent_matches_bp()
70 struct bpos bucket = bp_pos_to_bucket(ca, bp.k->p); in bch2_backpointer_validate() local
98 struct bpos bucket = bp_pos_to_bucket(ca, k.k->p); in bch2_backpointer_k_to_text() local
171 struct bpos bucket, in bch2_bucket_backpointer_mod_nowritebuffer()
224 struct bpos bucket, int gen, in bch2_get_next_backpointer()
284 struct bpos bucket; in backpointer_not_found() local
318 struct bpos bucket; in bch2_backpointer_get_key() local
359 struct bpos bucket; in bch2_backpointer_get_node() local
400 struct bpos bucket; in bch2_check_btree_backpointer() local
527 struct bpos bucket, in check_bp_exists()
Dnocow_locking.h28 struct bpos bucket, int flags) in bch2_bucket_nocow_lock()
37 struct bpos bucket, int flags) in bch2_bucket_nocow_trylock()
Dalloc_foreground.h121 unsigned dev, u64 bucket) in open_bucket_hashslot()
128 static inline bool bch2_bucket_is_open(struct bch_fs *c, unsigned dev, u64 bucket) in bch2_bucket_is_open()
144 static inline bool bch2_bucket_is_open_safe(struct bch_fs *c, unsigned dev, u64 bucket) in bch2_bucket_is_open_safe()
Dmove_types.h20 struct bpos bucket; member
32 struct move_bucket bucket; member
Dalloc_background.h25 static inline u64 bucket_to_u64(struct bpos bucket) in bucket_to_u64()
30 static inline struct bpos u64_to_bucket(u64 bucket) in u64_to_bucket()
78 static inline bool bucket_data_type_mismatch(enum bch_data_type bucket, in bucket_data_type_mismatch()
Dnocow_locking.c10 bool bch2_bucket_nocow_is_locked(struct bucket_nocow_lock_table *t, struct bpos bucket) in bch2_bucket_nocow_is_locked()
24 void bch2_bucket_nocow_unlock(struct bucket_nocow_lock_table *t, struct bpos bucket, int flags) in bch2_bucket_nocow_unlock()
Dbuckets_waiting_for_journal.c27 unsigned dev, u64 bucket) in bch2_bucket_needs_journal_commit()
88 unsigned dev, u64 bucket, in bch2_set_bucket_needs_journal_commit()
/linux-6.12.1/drivers/md/dm-vdo/
Dint-map.c73 struct __packed bucket { struct
79 /** @next_hop: The biased offset of the next bucket in the hop list. */ argument
81 /** @key: The key stored in this bucket. */ argument
83 /** @value: The value stored in this bucket (NULL if empty). */ argument
91 * bucket array, we allocate a few more buckets at the end of the array instead, which is why argument
276 struct bucket *bucket = dereference_hop(neighborhood, next_hop); in insert_in_hop_list() local
325 struct bucket *bucket, in search_hop_list()
426 find_empty_bucket(struct int_map *map, struct bucket *bucket, unsigned int max_probes) in find_empty_bucket()
466 struct bucket *bucket; in move_empty_bucket() local
531 struct bucket *bucket = search_hop_list(map, neighborhood, key, NULL); in update_mapping() local
[all …]
Dpriority-table.c23 struct bucket { struct
28 /* The priority of all the entries in this bucket */ argument
34 * of the queue in the appropriate bucket. The dequeue operation finds the highest-priority argument
69 struct bucket *bucket = &table->buckets[priority]; in vdo_make_priority_table() local
140 static inline void mark_bucket_empty(struct priority_table *table, struct bucket *bucket) in mark_bucket_empty()
157 struct bucket *bucket; in vdo_priority_table_dequeue() local
/linux-6.12.1/net/mptcp/
Dtoken.c111 struct token_bucket *bucket; in mptcp_token_new_request() local
157 struct token_bucket *bucket; in mptcp_token_new_connect() local
196 struct token_bucket *bucket; in mptcp_token_accept() local
213 struct token_bucket *bucket; in mptcp_token_exists() local
249 struct token_bucket *bucket; in mptcp_token_get_sock() local
305 struct token_bucket *bucket = &token_hash[slot]; in mptcp_token_iter_next() local
354 struct token_bucket *bucket; in mptcp_token_destroy_request() local
378 struct token_bucket *bucket; in mptcp_token_destroy() local
/linux-6.12.1/net/ceph/crush/
Dmapper.c74 static int bucket_perm_choose(const struct crush_bucket *bucket, in bucket_perm_choose()
135 static int bucket_uniform_choose(const struct crush_bucket_uniform *bucket, in bucket_uniform_choose()
142 static int bucket_list_choose(const struct crush_bucket_list *bucket, in bucket_list_choose()
196 static int bucket_tree_choose(const struct crush_bucket_tree *bucket, in bucket_tree_choose()
228 static int bucket_straw_choose(const struct crush_bucket_straw *bucket, in bucket_straw_choose()
305 static __u32 *get_choose_arg_weights(const struct crush_bucket_straw2 *bucket, in get_choose_arg_weights()
317 static __s32 *get_choose_arg_ids(const struct crush_bucket_straw2 *bucket, in get_choose_arg_ids()
326 static int bucket_straw2_choose(const struct crush_bucket_straw2 *bucket, in bucket_straw2_choose()
455 const struct crush_bucket *bucket, in crush_choose_firstn()
648 const struct crush_bucket *bucket, in crush_choose_indep()
/linux-6.12.1/kernel/dma/
Ddebug.c265 static void put_hash_bucket(struct hash_bucket *bucket, in put_hash_bucket()
294 static struct dma_debug_entry *__hash_bucket_find(struct hash_bucket *bucket, in __hash_bucket_find()
344 static struct dma_debug_entry *bucket_find_exact(struct hash_bucket *bucket, in bucket_find_exact()
350 static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, in bucket_find_contain()
378 static void hash_bucket_add(struct hash_bucket *bucket, in hash_bucket_add()
532 struct hash_bucket *bucket = &dma_entry_hash[idx]; in debug_dma_dump_mappings() local
564 struct hash_bucket *bucket = &dma_entry_hash[idx]; in dump_show() local
593 struct hash_bucket *bucket; in add_dma_entry() local
967 struct hash_bucket *bucket; in check_unmap() local
1100 struct hash_bucket *bucket; in check_sync() local
[all …]
/linux-6.12.1/net/sched/
Dsch_hhf.c329 static struct sk_buff *dequeue_head(struct wdrr_bucket *bucket) in dequeue_head()
339 static void bucket_add(struct wdrr_bucket *bucket, struct sk_buff *skb) in bucket_add()
352 struct wdrr_bucket *bucket; in hhf_drop() local
376 struct wdrr_bucket *bucket; in hhf_enqueue() local
422 struct wdrr_bucket *bucket; in hhf_dequeue() local
646 struct wdrr_bucket *bucket = q->buckets + i; in hhf_init() local
/linux-6.12.1/fs/nfs/
Dpnfs_nfs.c63 pnfs_free_bucket_lseg(struct pnfs_commit_bucket *bucket) in pnfs_free_bucket_lseg()
81 struct pnfs_commit_bucket *bucket = NULL; in pnfs_generic_clear_request_commit() local
241 pnfs_bucket_scan_ds_commit_list(struct pnfs_commit_bucket *bucket, in pnfs_bucket_scan_ds_commit_list()
356 struct pnfs_commit_bucket *bucket, in pnfs_bucket_get_committing()
372 pnfs_bucket_fetch_commitdata(struct pnfs_commit_bucket *bucket, in pnfs_bucket_fetch_commitdata()
388 struct pnfs_commit_bucket *bucket; in pnfs_generic_retry_commit() local
409 struct pnfs_commit_bucket *bucket; in pnfs_bucket_alloc_ds_commits() local
1160 struct pnfs_commit_bucket *bucket; in pnfs_layout_mark_request_commit() local
Dnfs42xattr.c87 struct nfs4_xattr_bucket *bucket; member
388 struct nfs4_xattr_bucket *bucket; in nfs4_xattr_discard_cache() local
511 nfs4_xattr_get_entry(struct nfs4_xattr_bucket *bucket, const char *name) in nfs4_xattr_get_entry()
529 struct nfs4_xattr_bucket *bucket; in nfs4_xattr_hash_add() local
566 struct nfs4_xattr_bucket *bucket; in nfs4_xattr_hash_remove() local
589 struct nfs4_xattr_bucket *bucket; in nfs4_xattr_hash_find() local
873 struct nfs4_xattr_bucket *bucket; in entry_lru_isolate() local
/linux-6.12.1/block/
Dblk-stat.c55 int bucket, cpu; in blk_stat_add() local
80 unsigned int bucket; in blk_stat_timer_fn() local
136 unsigned int bucket; in blk_stat_add_callback() local
/linux-6.12.1/net/9p/
Derror.c179 int bucket; in p9_error_init() local
208 int bucket; in p9_errstr2errno() local
/linux-6.12.1/drivers/interconnect/qcom/
Dbcm-voter.c65 int bucket, i; in bcm_aggregate_mask() local
94 size_t i, bucket; in bcm_aggregate() local
156 static void tcs_list_gen(struct bcm_voter *voter, int bucket, in tcs_list_gen()
/linux-6.12.1/drivers/md/
Ddm-clone-target.c564 #define bucket_lock_irqsave(bucket, flags) \ argument
567 #define bucket_unlock_irqrestore(bucket, flags) \ argument
570 #define bucket_lock_irq(bucket) \ argument
573 #define bucket_unlock_irq(bucket) \ argument
579 struct hash_table_bucket *bucket; in hash_table_init() local
613 static struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket, in __hash_find()
631 static inline void __insert_region_hydration(struct hash_table_bucket *bucket, in __insert_region_hydration()
645 __find_or_insert_region_hydration(struct hash_table_bucket *bucket, in __find_or_insert_region_hydration()
703 struct hash_table_bucket *bucket; in hydration_update_metadata() local
877 struct hash_table_bucket *bucket; in hydrate_bio_region() local
[all …]
/linux-6.12.1/drivers/misc/vmw_vmci/
Dvmci_doorbell.c120 u32 bucket = VMCI_DOORBELL_HASH(idx); in dbell_index_table_find() local
139 u32 bucket; in dbell_index_table_add() local
355 u32 bucket = VMCI_DOORBELL_HASH(notify_idx); in dbell_fire_entries() local
/linux-6.12.1/net/ipv4/
Dnexthop.c181 struct nh_res_bucket *bucket = &res_table->nh_buckets[i]; in nh_notifier_res_table_info_init() local
1096 static unsigned long nh_res_bucket_used_time(const struct nh_res_bucket *bucket) in nh_res_bucket_used_time()
1103 const struct nh_res_bucket *bucket, in nh_res_bucket_idle_point()
1122 struct nh_res_bucket *bucket) in nh_res_bucket_set_idle()
1130 static void nh_res_bucket_set_busy(struct nh_res_bucket *bucket) in nh_res_bucket_set_busy()
1135 static clock_t nh_res_bucket_idle_time(const struct nh_res_bucket *bucket) in nh_res_bucket_idle_time()
1143 struct nh_res_bucket *bucket, u16 bucket_index, in nh_fill_res_bucket()
1192 struct nh_res_bucket *bucket = &res_table->nh_buckets[bucket_index]; in nexthop_bucket_notify() local
1455 struct nh_res_bucket *bucket; in nexthop_select_path_res() local
1682 static void nh_res_bucket_unset_nh(struct nh_res_bucket *bucket) in nh_res_bucket_unset_nh()
[all …]
/linux-6.12.1/fs/ocfs2/
Dxattr.c121 struct ocfs2_xattr_bucket *bucket; member
318 struct ocfs2_xattr_bucket *bucket; in ocfs2_xattr_bucket_new() local
332 static void ocfs2_xattr_bucket_relse(struct ocfs2_xattr_bucket *bucket) in ocfs2_xattr_bucket_relse()
342 static void ocfs2_xattr_bucket_free(struct ocfs2_xattr_bucket *bucket) in ocfs2_xattr_bucket_free()
357 static int ocfs2_init_xattr_bucket(struct ocfs2_xattr_bucket *bucket, in ocfs2_init_xattr_bucket()
390 static int ocfs2_read_xattr_bucket(struct ocfs2_xattr_bucket *bucket, in ocfs2_read_xattr_bucket()
415 struct ocfs2_xattr_bucket *bucket, in ocfs2_xattr_bucket_journal_access()
434 struct ocfs2_xattr_bucket *bucket) in ocfs2_xattr_bucket_journal_dirty()
1710 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; in ocfs2_xa_bucket_journal_access() local
1718 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; in ocfs2_xa_bucket_journal_dirty() local
[all …]
/linux-6.12.1/drivers/cpuidle/governors/
Dmenu.c109 unsigned int bucket; member
117 int bucket = 0; in which_bucket() local

1234567