/linux-6.12.1/fs/bcachefs/ |
D | bkey_methods.h | 28 void (*swab)(struct bkey_s); 29 bool (*key_normalize)(struct bch_fs *, struct bkey_s); 30 bool (*key_merge)(struct bch_fs *, struct bkey_s, struct bkey_s_c); 32 struct bkey_s_c, struct bkey_s, 36 struct bkey_s); 66 void bch2_bkey_swab_val(struct bkey_s); 68 bool bch2_bkey_normalize(struct bch_fs *, struct bkey_s); 77 bool bch2_bkey_merge(struct bch_fs *, struct bkey_s, struct bkey_s_c); 81 struct bkey_s_c old, struct bkey_s new, in bch2_key_trigger() 107 struct bkey_s new, in bch2_key_trigger_new()
|
D | bkey_types.h | 54 struct bkey_s { struct 64 #define bkey_s_null ((struct bkey_s) { .k = NULL }) argument 67 #define bkey_s_err(err) ((struct bkey_s) { .k = ERR_PTR(err) }) 70 static inline struct bkey_s bkey_to_s(struct bkey *k) in bkey_to_s() 72 return (struct bkey_s) { .k = k, .v = NULL }; in bkey_to_s() 80 static inline struct bkey_s bkey_i_to_s(struct bkey_i *k) in bkey_i_to_s() 82 return (struct bkey_s) { .k = &k->k, .v = &k->v }; in bkey_i_to_s() 125 struct bkey_s s; \ 143 static inline struct bkey_s_##name bkey_s_to_##name(struct bkey_s k) \
|
D | reflink.h | 9 bool bch2_reflink_p_merge(struct bch_fs *, struct bkey_s, struct bkey_s_c); 11 struct bkey_s_c, struct bkey_s, 25 struct bkey_s_c, struct bkey_s, 42 struct bkey_s_c, struct bkey_s, 64 static inline __le64 *bkey_refcount(struct bkey_s k) in bkey_refcount()
|
D | extents.h | 97 static inline void extent_entry_drop(struct bkey_s k, union bch_extent_entry *entry) in extent_entry_drop() 277 static inline struct bkey_ptrs bch2_bkey_ptrs(struct bkey_s k) in bch2_bkey_ptrs() 421 int, struct bkey_s); 441 bool bch2_extent_merge(struct bch_fs *, struct bkey_s, struct bkey_s_c); 457 bool bch2_reservation_merge(struct bch_fs *, struct bkey_s, struct bkey_s_c); 616 static inline struct bch_extent_ptr *bch2_bkey_has_device(struct bkey_s k, unsigned dev) in bch2_bkey_has_device() 649 void bch2_bkey_drop_ptr_noerror(struct bkey_s, struct bch_extent_ptr *); 650 void bch2_bkey_drop_ptr(struct bkey_s, struct bch_extent_ptr *); 652 void bch2_bkey_drop_device_noerror(struct bkey_s, unsigned); 653 void bch2_bkey_drop_device(struct bkey_s, unsigned); [all …]
|
D | bkey_methods.c | 106 static bool key_type_set_merge(struct bch_fs *c, struct bkey_s l, struct bkey_s_c r) in key_type_set_merge() 318 void bch2_bkey_swab_val(struct bkey_s k) in bch2_bkey_swab_val() 326 bool bch2_bkey_normalize(struct bch_fs *c, struct bkey_s k) in bch2_bkey_normalize() 335 bool bch2_bkey_merge(struct bch_fs *c, struct bkey_s l, struct bkey_s_c r) in bch2_bkey_merge() 458 struct bkey_s u; in __bch2_bkey_compat()
|
D | extents.c | 233 struct bkey_s k) in bch2_btree_ptr_v2_compat() 249 bool bch2_extent_merge(struct bch_fs *c, struct bkey_s l, struct bkey_s_c r) in bch2_extent_merge() 420 bool bch2_reservation_merge(struct bch_fs *c, struct bkey_s _l, struct bkey_s_c _r) in bch2_reservation_merge() 781 void bch2_bkey_drop_ptr_noerror(struct bkey_s k, struct bch_extent_ptr *ptr) in bch2_bkey_drop_ptr_noerror() 819 void bch2_bkey_drop_ptr(struct bkey_s k, struct bch_extent_ptr *ptr) in bch2_bkey_drop_ptr() 853 void bch2_bkey_drop_device(struct bkey_s k, unsigned dev) in bch2_bkey_drop_device() 858 void bch2_bkey_drop_device_noerror(struct bkey_s k, unsigned dev) in bch2_bkey_drop_device_noerror() 965 bch2_extent_has_ptr(struct bkey_s_c k1, struct extent_ptr_decoded p1, struct bkey_s k2) in bch2_extent_has_ptr() 995 struct bkey_s k, in bch2_extent_ptr_set_cached() 1035 bool bch2_extent_normalize(struct bch_fs *c, struct bkey_s k) in bch2_extent_normalize() [all …]
|
D | reflink.c | 57 bool bch2_reflink_p_merge(struct bch_fs *c, struct bkey_s _l, struct bkey_s_c _r) in bch2_reflink_p_merge() 243 struct bkey_s new, in bch2_trigger_reflink_p() 277 bool bch2_reflink_v_merge(struct bch_fs *c, struct bkey_s _l, struct bkey_s_c _r) 287 check_indirect_extent_deleting(struct bkey_s new, in check_indirect_extent_deleting() 300 struct bkey_s_c old, struct bkey_s new, in bch2_trigger_reflink_v() 331 struct bkey_s_c old, struct bkey_s new, in bch2_trigger_indirect_inline_data()
|
D | alloc_background.h | 252 void bch2_alloc_v4_swab(struct bkey_s); 308 struct bkey_s_c, struct bkey_s,
|
D | subvolume.h | 16 struct bkey_s_c, struct bkey_s,
|
D | buckets.h | 283 struct bkey_s_c, struct bkey_s, 286 struct bkey_s_c, struct bkey_s,
|
D | migrate.c | 21 static int drop_dev_ptrs(struct bch_fs *c, struct bkey_s k, in drop_dev_ptrs()
|
D | backpointers.h | 24 void bch2_backpointer_swab(struct bkey_s);
|
D | bkey.h | 480 static inline struct bkey_s __bkey_disassemble(const struct btree *b, in __bkey_disassemble() 486 return (struct bkey_s) { .k = u, .v = bkeyp_val(&b->format, k), }; in __bkey_disassemble()
|
D | ec.h | 15 struct bkey_s_c, struct bkey_s,
|
D | inode.h | 31 struct bkey_s_c, struct bkey_s,
|
D | snapshot.h | 24 struct bkey_s_c, struct bkey_s,
|
D | disk_accounting.h | 88 void bch2_accounting_swab(struct bkey_s);
|
D | inode.c | 587 static inline void bkey_inode_flags_set(struct bkey_s k, u64 f) in bkey_inode_flags_set() 669 struct bkey_s k, in update_inode_has_children() 723 struct bkey_s new, in bch2_trigger_inode()
|
D | buckets.c | 846 struct bkey_s_c old, struct bkey_s new, in bch2_trigger_extent() 941 struct bkey_s_c old, struct bkey_s new, in bch2_trigger_reservation()
|
D | btree_gc.c | 64 static struct bkey_s unsafe_bkey_s_c_to_s(struct bkey_s_c k) in unsafe_bkey_s_c_to_s() 66 return (struct bkey_s) {{{ in unsafe_bkey_s_c_to_s()
|
D | subvolume.c | 255 struct bkey_s_c old, struct bkey_s new, in bch2_subvolume_trigger()
|
D | btree_io.c | 857 struct bkey_s u = __bkey_disassemble(b, k, &tmp); in bkey_packed_valid() 874 struct bkey_s u; in validate_bset_keys() 1217 struct bkey_s u = __bkey_disassemble(b, k, &tmp); in bch2_btree_node_read_done()
|
D | disk_accounting.c | 237 void bch2_accounting_swab(struct bkey_s k) in bch2_accounting_swab()
|
D | backpointers.c | 110 void bch2_backpointer_swab(struct bkey_s k) in bch2_backpointer_swab()
|
D | alloc_background.c | 322 void bch2_alloc_v4_swab(struct bkey_s k) in bch2_alloc_v4_swab() 831 struct bkey_s_c old, struct bkey_s new, in bch2_trigger_alloc()
|