Home
last modified time | relevance | path

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

123456

/linux/fs/bcachefs/
H A Dbuckets_types.h10 struct bucket { struct
22 struct bucket_gens { argument
H A Dbackpointers.h54 …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()
64 static inline struct bpos bucket_pos_to_bp_noerror(const struct bch_dev *ca, in bucket_pos_to_bp_noerror()
76 static inline struct bpos bucket_pos_to_bp(const struct bch_dev *ca, in bucket_pos_to_bp()
85 static inline struct bpos bucket_pos_to_bp_start(const struct bch_dev *ca, struct bpos bucket) in bucket_pos_to_bp_start()
90 static inline struct bpos bucket_pos_to_bp_end(const struct bch_dev *ca, struct bpos bucket) in bucket_pos_to_bp_end()
H A Dnocow_locking.h28 struct bpos bucket, int flags) in bch2_bucket_nocow_lock()
37 struct bpos bucket, int flags) in bch2_bucket_nocow_trylock()
H A Dalloc_foreground.h119 unsigned dev, u64 bucket) in open_bucket_hashslot()
126 static inline bool bch2_bucket_is_open(struct bch_fs *c, unsigned dev, u64 bucket) in bch2_bucket_is_open()
142 static inline bool bch2_bucket_is_open_safe(struct bch_fs *c, unsigned dev, u64 bucket) in bch2_bucket_is_open_safe()
H A Dmove_types.h20 struct bpos bucket; member
32 struct move_bucket bucket; member
H A Dalloc_background.h23 static inline u64 bucket_to_u64(struct bpos bucket) in bucket_to_u64()
28 static inline struct bpos u64_to_bucket(u64 bucket) in u64_to_bucket()
76 static inline bool bucket_data_type_mismatch(enum bch_data_type bucket, in bucket_data_type_mismatch()
H A 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()
H A Dbuckets_waiting_for_journal.c26 unsigned dev, u64 bucket) in bch2_bucket_journal_seq_ready()
86 unsigned dev, u64 bucket, in bch2_set_bucket_needs_journal_commit()
H A Dalloc_background.c739 struct bpos bucket, u8 gen) in bch2_bucket_gen_update()
1087 static bool next_bucket(struct bch_fs *c, struct bch_dev **ca, struct bpos *bucket) in next_bucket()
1399 struct bpos bucket = iter->pos; in bch2_check_discard_freespace_key() local
1767 static int discard_in_flight_add(struct bch_dev *ca, u64 bucket, bool in_progress) in discard_in_flight_add()
1787 static void discard_in_flight_remove(struct bch_dev *ca, u64 bucket) in discard_in_flight_remove()
1968 u64 bucket, in bch2_do_discards_fast_one()
2003 u64 bucket; in bch2_do_discards_fast_work() local
2037 static void bch2_discard_one_bucket_fast(struct bch_dev *ca, u64 bucket) in bch2_discard_one_bucket_fast()
2066 struct bpos bucket = u64_to_bucket(lru_k.k->p.offset); in invalidate_one_bucket() local
/linux/drivers/md/dm-vdo/
H A 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/net/mptcp/
H A 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/net/ceph/crush/
H A 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/kernel/dma/
H A Ddebug.c263 static void put_hash_bucket(struct hash_bucket *bucket, in put_hash_bucket()
292 static struct dma_debug_entry *__hash_bucket_find(struct hash_bucket *bucket, in __hash_bucket_find()
342 static struct dma_debug_entry *bucket_find_exact(struct hash_bucket *bucket, in bucket_find_exact()
348 static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, in bucket_find_contain()
376 static void hash_bucket_add(struct hash_bucket *bucket, in hash_bucket_add()
522 struct hash_bucket *bucket = &dma_entry_hash[idx]; in debug_dma_dump_mappings() local
554 struct hash_bucket *bucket = &dma_entry_hash[idx]; in dump_show() local
583 struct hash_bucket *bucket; in add_dma_entry() local
957 struct hash_bucket *bucket; in check_unmap() local
1094 struct hash_bucket *bucket; in check_sync() local
[all …]
/linux/net/sched/
H A 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/fs/nfs/
H A 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
/linux/block/
H A 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/net/9p/
H A Derror.c179 int bucket; in p9_error_init() local
208 int bucket; in p9_errstr2errno() local
/linux/drivers/interconnect/qcom/
H A 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/drivers/misc/vmw_vmci/
H A 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/net/ipv4/
H A 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/fs/ocfs2/
H A Dxattr.c121 struct ocfs2_xattr_bucket *bucket; member
318 struct ocfs2_xattr_bucket *bucket; in ocfs2_xattr_bucket_new() local
332 ocfs2_xattr_bucket_relse(struct ocfs2_xattr_bucket * bucket) ocfs2_xattr_bucket_relse() argument
342 ocfs2_xattr_bucket_free(struct ocfs2_xattr_bucket * bucket) ocfs2_xattr_bucket_free() argument
357 ocfs2_init_xattr_bucket(struct ocfs2_xattr_bucket * bucket,u64 xb_blkno,int new) ocfs2_init_xattr_bucket() argument
390 ocfs2_read_xattr_bucket(struct ocfs2_xattr_bucket * bucket,u64 xb_blkno) ocfs2_read_xattr_bucket() argument
415 ocfs2_xattr_bucket_journal_access(handle_t * handle,struct ocfs2_xattr_bucket * bucket,int type) ocfs2_xattr_bucket_journal_access() argument
434 ocfs2_xattr_bucket_journal_dirty(handle_t * handle,struct ocfs2_xattr_bucket * bucket) ocfs2_xattr_bucket_journal_dirty() argument
1710 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; ocfs2_xa_bucket_journal_access() local
1718 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; ocfs2_xa_bucket_journal_dirty() local
1726 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; ocfs2_xa_bucket_offset_pointer() local
1745 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; ocfs2_xa_bucket_get_free_start() local
1867 struct ocfs2_xattr_bucket *bucket = loc->xl_storage; ocfs2_xa_bucket_fill_value_buf() local
2308 ocfs2_init_xattr_bucket_xa_loc(struct ocfs2_xa_loc * loc,struct ocfs2_xattr_bucket * bucket,struct ocfs2_xattr_entry * entry) ocfs2_init_xattr_bucket_xa_loc() argument
3751 ocfs2_find_xe_in_bucket(struct inode * inode,struct ocfs2_xattr_bucket * bucket,int name_index,const char * name,u32 name_hash,u16 * xe_index,int * found) ocfs2_find_xe_in_bucket() argument
3828 int low_bucket = 0, bucket, high_bucket; ocfs2_xattr_bucket_find() local
3978 struct ocfs2_xattr_bucket *bucket; ocfs2_iterate_xattr_buckets() local
4048 ocfs2_list_xattr_bucket(struct inode * inode,struct ocfs2_xattr_bucket * bucket,void * para) ocfs2_list_xattr_bucket() argument
4179 ocfs2_cp_xattr_block_to_bucket(struct inode * inode,struct buffer_head * xb_bh,struct ocfs2_xattr_bucket * bucket) ocfs2_cp_xattr_block_to_bucket() argument
4380 ocfs2_defrag_xattr_bucket(struct inode * inode,handle_t * handle,struct ocfs2_xattr_bucket * bucket) ocfs2_defrag_xattr_bucket() argument
5348 ocfs2_xattr_bucket_value_truncate(struct inode * inode,struct ocfs2_xattr_bucket * bucket,int xe_off,int len,struct ocfs2_xattr_set_ctxt * ctxt) ocfs2_xattr_bucket_value_truncate() argument
5512 ocfs2_check_xattr_bucket_collision(struct inode * inode,struct ocfs2_xattr_bucket * bucket,const char * name) ocfs2_check_xattr_bucket_collision() argument
5647 ocfs2_delete_xattr_in_bucket(struct inode * inode,struct ocfs2_xattr_bucket * bucket,void * para) ocfs2_delete_xattr_in_bucket() argument
5723 struct ocfs2_xattr_bucket *bucket = ocfs2_xattr_bucket_post_refcount() local
5769 struct ocfs2_xattr_bucket *bucket = NULL; ocfs2_prepare_refcount_xattr() local
5994 ocfs2_get_xattr_tree_value_root(struct super_block * sb,struct ocfs2_xattr_bucket * bucket,int offset,struct ocfs2_xattr_value_root ** xv,struct buffer_head ** bh) ocfs2_get_xattr_tree_value_root() argument
6030 ocfs2_xattr_bucket_value_refcount(struct inode * inode,struct ocfs2_xattr_bucket * bucket,void * para) ocfs2_xattr_bucket_value_refcount() argument
6676 struct ocfs2_xattr_bucket *bucket; ocfs2_get_reflink_xattr_value_root() local
6701 struct ocfs2_xattr_bucket *bucket = ocfs2_value_tree_metas_in_bucket() local
6709 ocfs2_calc_value_tree_metas(struct inode * inode,struct ocfs2_xattr_bucket * bucket,void * para) ocfs2_calc_value_tree_metas() argument
[all...]
/linux/include/net/
H A Dtransp_v6.h51 __u16 destp, int bucket) in ip6_dgram_sock_seq_show()
/linux/drivers/md/persistent-data/
H A Ddm-transaction-manager.c108 unsigned int bucket = dm_hash_block(b, DM_HASH_MASK); is_shadow() local
128 unsigned int bucket; insert_shadow() local
145 struct hlist_head *bucket; wipe_shadow_table() local
/linux/fs/smb/client/
H A Dcompress.c43 struct bucket { struct
63 static bool has_low_entropy(struct bucket *bkt, size_t slen) in has_low_entropy() argument
/linux/net/openvswitch/
H A Dvport.c97 struct hlist_head *bucket = hash_bucket(net, name); in ovs_vport_locate() local
212 struct hlist_head *bucket; in ovs_vport_add() local

123456