/linux-6.12.1/fs/bcachefs/ |
D | btree_update.h | 15 struct bkey_i *); 22 struct bkey_i *, u64); 56 struct bkey_i *, enum btree_iter_update_trigger_flags); 58 int bch2_btree_insert_trans(struct btree_trans *, enum btree_id, struct bkey_i *, 60 int bch2_btree_insert(struct bch_fs *, enum btree_id, struct bkey_i *, struct 108 struct bkey_i *, enum btree_iter_update_trigger_flags); 129 int bch2_btree_insert_clone_trans(struct btree_trans *, enum btree_id, struct bkey_i *); 133 struct bkey_i *k) in bch2_trans_update_buffered() 214 static inline struct bkey_i *__bch2_bkey_make_mut_noupdate(struct btree_trans *trans, struct bkey_s… in __bch2_bkey_make_mut_noupdate() 218 struct bkey_i *mut; in __bch2_bkey_make_mut_noupdate() [all …]
|
D | bkey_types.h | 15 static inline struct bkey_i *bkey_next(struct bkey_i *k) in bkey_next() 17 return (struct bkey_i *) ((u64 *) k->_data + k->k.u64s); in bkey_next() 80 static inline struct bkey_s bkey_i_to_s(struct bkey_i *k) in bkey_i_to_s() 85 static inline struct bkey_s_c bkey_i_to_s_c(const struct bkey_i *k) in bkey_i_to_s_c() 103 struct bkey_i k_i; \ 130 static inline struct bkey_i_##name *bkey_i_to_##name(struct bkey_i *k) \ 137 bkey_i_to_##name##_c(const struct bkey_i *k) \ 178 static inline struct bkey_s_##name bkey_i_to_s_##name(struct bkey_i *k) \ 188 bkey_i_to_s_c_##name(const struct bkey_i *k) \ 197 static inline struct bkey_i_##name *bkey_##name##_init(struct bkey_i *_k)\
|
D | btree_cache.h | 28 struct bkey_s_c, struct bkey_i *); 37 const struct bkey_i *, unsigned, 40 struct btree *bch2_btree_node_get_noiter(struct btree_trans *, const struct bkey_i *, 44 const struct bkey_i *, enum btree_id, unsigned); 46 void bch2_btree_node_evict(struct btree_trans *, const struct bkey_i *); 52 static inline u64 btree_ptr_hash_val(const struct bkey_i *k) in btree_ptr_hash_val() 68 static inline struct btree *btree_node_mem_ptr(const struct bkey_i *k) in btree_node_mem_ptr()
|
D | logged_ops.h | 11 static inline int bch2_logged_op_update(struct btree_trans *trans, struct bkey_i *op) in bch2_logged_op_update() 17 int bch2_logged_op_start(struct btree_trans *, struct bkey_i *); 18 int bch2_logged_op_finish(struct btree_trans *, struct bkey_i *);
|
D | btree_journal_iter.h | 46 struct bkey_i *bch2_journal_keys_peek_upto(struct bch_fs *, enum btree_id, 48 struct bkey_i *bch2_journal_keys_peek_slot(struct bch_fs *, enum btree_id, 55 unsigned, struct bkey_i *); 57 unsigned, struct bkey_i *);
|
D | btree_update.c | 28 struct bkey_i *, enum btree_iter_update_trigger_flags, 34 struct bkey_i **insert, in extent_front_merge() 38 struct bkey_i *update; in extent_front_merge() 69 struct bkey_i *insert, in extent_back_merge() 132 struct bkey_i *update; in __bch2_insert_snapshot_whiteouts() 161 update = bch2_trans_kmalloc(trans, sizeof(struct bkey_i)); in __bch2_insert_snapshot_whiteouts() 193 struct bkey_i *update; in bch2_trans_update_extent_overwrite() 287 struct bkey_i *insert, in bch2_trans_update_extent() 386 struct bkey_i *k, enum btree_iter_update_trigger_flags flags, in bch2_trans_update_by_path() 444 struct bkey_i *j_k = in bch2_trans_update_by_path() [all …]
|
D | logged_ops.c | 13 int (*resume)(struct btree_trans *, struct bkey_i *); 74 static int __bch2_logged_op_start(struct btree_trans *trans, struct bkey_i *k) in __bch2_logged_op_start() 90 int bch2_logged_op_start(struct btree_trans *trans, struct bkey_i *k) in bch2_logged_op_start() 96 int bch2_logged_op_finish(struct btree_trans *trans, struct bkey_i *k) in bch2_logged_op_finish()
|
D | keylist.h | 26 static inline void bch2_keylist_add(struct keylist *l, const struct bkey_i *k) in bch2_keylist_add() 47 static inline struct bkey_i *bch2_keylist_front(struct keylist *l) in bch2_keylist_front() 53 for (struct bkey_i *_k = (_keylist)->keys; \
|
D | keylist_types.h | 7 struct bkey_i *keys; 11 struct bkey_i *top;
|
D | extent_update.h | 8 struct bkey_i *, struct bpos *); 10 struct bkey_i *);
|
D | bkey.h | 50 static inline void bkey_copy(struct bkey_i *dst, const struct bkey_i *src) in bkey_copy() 234 static inline struct bkey_packed *bkey_to_packed(struct bkey_i *k) in bkey_to_packed() 239 static inline const struct bkey_packed *bkey_to_packed_c(const struct bkey_i *k) in bkey_to_packed_c() 244 static inline struct bkey_i *packed_to_bkey(struct bkey_packed *k) in packed_to_bkey() 246 return bkey_packed(k) ? NULL : (struct bkey_i *) k; in packed_to_bkey() 391 void bch2_bkey_unpack(const struct btree *, struct bkey_i *, 393 bool bch2_bkey_pack(struct bkey_packed *, const struct bkey_i *, 509 static inline void bkey_reassemble(struct bkey_i *dst, in bkey_reassemble()
|
D | io_write.h | 21 enum bch_data_type, const struct bkey_i *, bool); 60 struct bkey_i *, bool *, s64 *, s64 *); 62 struct btree_iter *, struct bkey_i *,
|
D | io_misc.h | 19 int bch2_resume_logged_op_truncate(struct btree_trans *, struct bkey_i *); 30 int bch2_resume_logged_op_finsert(struct btree_trans *, struct bkey_i *);
|
D | btree_write_buffer.h | 70 enum btree_id, struct bkey_i *); 74 enum btree_id btree, struct bkey_i *k) in __bch2_journal_key_to_wb() 90 enum btree_id btree, struct bkey_i *k) in bch2_journal_key_to_wb()
|
D | extents.h | 85 static inline void __extent_entry_insert(struct bkey_i *k, in __extent_entry_insert() 471 bool bch2_bkey_narrow_crcs(struct bkey_i *, struct bch_extent_crc_unpacked); 472 void bch2_extent_crc_append(struct bkey_i *, 623 void bch2_bkey_extent_entry_drop(struct bkey_i *, union bch_extent_entry *); 625 static inline void bch2_bkey_append_ptr(struct bkey_i *k, struct bch_extent_ptr ptr) in bch2_bkey_append_ptr() 647 void bch2_extent_ptr_decoded_append(struct bkey_i *, 719 int bch2_bkey_set_needs_rebalance(struct bch_fs *, struct bkey_i *, 744 static inline void bch2_cut_front(struct bpos where, struct bkey_i *k) in bch2_cut_front() 749 static inline void bch2_cut_back(struct bpos where, struct bkey_i *k) in bch2_cut_back()
|
D | bkey_buf.h | 9 struct bkey_i *k; 33 struct bkey_i *src) in bch2_bkey_buf_copy()
|
D | io_misc.c | 153 struct bkey_i delete; in bch2_fpunch_at() 243 struct bkey_i *op_k, in __bch2_resume_logged_op_truncate() 273 int bch2_resume_logged_op_truncate(struct btree_trans *trans, struct bkey_i *op_k) in bch2_resume_logged_op_truncate() 354 struct bkey_i *op_k, in __bch2_resume_logged_op_finsert() 414 struct bkey_i delete, *copy; in __bch2_resume_logged_op_finsert() 504 int bch2_resume_logged_op_finsert(struct btree_trans *trans, struct bkey_i *op_k) in bch2_resume_logged_op_finsert()
|
D | str_hash.h | 260 struct bkey_i *insert, in bch2_hash_set_or_get_in_snapshot() 319 struct bkey_i *insert, in bch2_hash_set_in_snapshot() 341 struct bkey_i *insert, in bch2_hash_set() 359 struct bkey_i *delete; in bch2_hash_delete_at()
|
D | bkey_methods.h | 96 struct bkey_i deleted; in bch2_key_trigger_old() 110 struct bkey_i deleted; in bch2_key_trigger_new()
|
D | extent_update.c | 107 struct bkey_i *insert, in bch2_extent_atomic_end() 162 struct bkey_i *k) in bch2_extent_trim_atomic()
|
D | btree_journal_iter.c | 64 struct bkey_i *bch2_journal_keys_peek_upto(struct bch_fs *c, enum btree_id btree_id, in bch2_journal_keys_peek_upto() 110 struct bkey_i *bch2_journal_keys_peek_slot(struct bch_fs *c, enum btree_id btree_id, in bch2_journal_keys_peek_slot() 174 unsigned level, struct bkey_i *k) in bch2_journal_key_insert_take() 250 unsigned level, struct bkey_i *k) in bch2_journal_key_insert() 252 struct bkey_i *n; in bch2_journal_key_insert() 269 struct bkey_i whiteout; in bch2_journal_key_delete()
|
D | sb-clean.c | 51 static struct bkey_i *btree_root_find(struct bch_fs *c, in btree_root_find() 56 struct bkey_i *k; in btree_root_find() 103 struct bkey_i *k1, *k2; in bch2_verify_superblock_clean()
|
D | btree_trans_commit.c | 52 struct bkey_i *j_k = in verify_update_old_key() 155 struct bkey_i *insert) in bch2_btree_bset_insert_key() 289 struct bkey_i *insert, in bch2_btree_insert_key_leaf() 384 struct bkey_i *new_k; in btree_key_can_insert_cached_slowpath() 422 struct bkey_i *new_k; in btree_key_can_insert_cached() 467 struct bkey_i *new = i->k; in run_one_mem_trigger() 794 bkey_reassemble((struct bkey_i *) entry->start, in bch2_trans_commit_write_locked() 802 bkey_copy((struct bkey_i *) entry->start, i->k); in bch2_trans_commit_write_locked()
|
D | io_write.c | 149 struct bkey_i *new, in bch2_sum_sector_overwrites() 228 struct bkey_i *k_mut = bch2_trans_kmalloc_nomemzero(trans, bkey_bytes(k.k) + 8); in bch2_extent_update_i_size_sectors() 271 struct bkey_i *k, in bch2_extent_update() 342 struct bkey_i *k = bch2_keylist_front(keys); in bch2_write_index_default() 400 const struct bkey_i *k, in bch2_submit_wbio_replicas() 483 struct bkey_i *src, *dst = keys->keys, *n; in bch2_write_drop_io_error_ptrs() 535 struct bkey_i *insert = bch2_keylist_front(&op->insert_keys); in __bch2_write_index() 1128 struct bkey_i *orig, in bch2_nocow_write_convert_one_unwritten() 1137 struct bkey_i *new = bch2_bkey_make_mut_noupdate(trans, k); in bch2_nocow_write_convert_one_unwritten() 1176 struct bkey_i *insert = bch2_keylist_front(&op->insert_keys); in bch2_nocow_write_convert_unwritten() [all …]
|
D | alloc_foreground.h | 183 struct bkey_i *k, unsigned sectors, in bch2_alloc_sectors_append_ptrs_inlined() 209 struct bkey_i *, unsigned, bool);
|