Home
last modified time | relevance | path

Searched refs:bch_extent_rebalance (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Drebalance.h10 static inline struct bch_extent_rebalance io_opts_to_rebalance_opts(struct bch_fs *c, in io_opts_to_rebalance_opts()
13 struct bch_extent_rebalance r = { in io_opts_to_rebalance_opts()
H A Drebalance.c29 static const struct bch_extent_rebalance *bch2_bkey_ptrs_rebalance_opts(struct bkey_ptrs_c ptrs) in bch2_bkey_ptrs_rebalance_opts()
40 static const struct bch_extent_rebalance *bch2_bkey_rebalance_opts(struct bkey_s_c k) in bch2_bkey_rebalance_opts()
106 const struct bch_extent_rebalance *opts = bch2_bkey_ptrs_rebalance_opts(ptrs); in bch2_bkey_sectors_need_rebalance()
143 const struct bch_extent_rebalance *old = bch2_bkey_rebalance_opts(k); in bch2_bkey_rebalance_needs_update()
146 struct bch_extent_rebalance new = io_opts_to_rebalance_opts(c, opts); in bch2_bkey_rebalance_needs_update()
160 struct bch_extent_rebalance *old = in bch2_bkey_set_needs_rebalance()
161 (struct bch_extent_rebalance *) bch2_bkey_rebalance_opts(k.s_c); in bch2_bkey_set_needs_rebalance()
186 const struct bch_extent_rebalance *r = k.k->type == KEY_TYPE_reflink_v in bch2_get_update_rebalance_opts()
H A Drebalance_format.h5 struct bch_extent_rebalance { struct
H A Dinode.h301 static inline struct bch_extent_rebalance
H A Dextents.c1200 const struct bch_extent_rebalance *r) in bch2_extent_rebalance_to_text()
1443 const struct bch_extent_rebalance *r = &entry->rebalance; in bch2_bkey_ptrs_validate()
H A Dfs.c120 struct bch_extent_rebalance old_r = bch2_inode_rebalance_opts_get(c, &inode_u); in bch2_write_inode()
126 struct bch_extent_rebalance new_r = bch2_inode_rebalance_opts_get(c, &inode_u); in bch2_write_inode()