Searched refs:extent_k (Results 1 – 3 of 3) sorted by relevance
| /fs/bcachefs/ |
| A D | rebalance.c | 781 struct bkey_s_c extent_k, rebalance_k; in check_rebalance_work_one() local 784 int ret = bkey_err(extent_k = bch2_btree_iter_peek(trans, extent_iter)) ?: in check_rebalance_work_one() 789 if (!extent_k.k && in check_rebalance_work_one() 801 if (!extent_k.k && !rebalance_k.k) in check_rebalance_work_one() 804 int cmp = bpos_cmp(extent_k.k ? extent_k.k->p : SPOS_MAX, in check_rebalance_work_one() 811 deleted.p = extent_k.k->p; in check_rebalance_work_one() 815 extent_k.k = &deleted; in check_rebalance_work_one() 819 bch2_bkey_sectors_need_rebalance(c, extent_k) != 0; in check_rebalance_work_one() 827 bch2_bkey_val_to_text(&buf, c, extent_k); in check_rebalance_work_one() 834 extent_k.k->p, false); in check_rebalance_work_one() [all …]
|
| A D | move.c | 464 struct bkey_s_c extent_k) in bch2_move_get_io_opts() argument 474 if (extent_k.k->type == KEY_TYPE_reflink_v) in bch2_move_get_io_opts() 505 if (extent_k.k->p.snapshot) in bch2_move_get_io_opts() 507 if (bch2_snapshot_is_ancestor(c, extent_k.k->p.snapshot, i->snapshot)) { in bch2_move_get_io_opts() 512 ret = bch2_get_update_rebalance_opts(trans, opts_ret, extent_iter, extent_k); in bch2_move_get_io_opts() 521 struct bkey_s_c extent_k) in bch2_move_get_io_opts_one() argument 528 if (!extent_k.k->p.inode) in bch2_move_get_io_opts_one() 533 SPOS(0, extent_k.k->p.inode, extent_k.k->p.snapshot), in bch2_move_get_io_opts_one() 547 return bch2_get_update_rebalance_opts(trans, io_opts, extent_iter, extent_k); in bch2_move_get_io_opts_one()
|
| A D | alloc_background.c | 2086 struct bkey_s_c extent_k = in invalidate_one_bp() local 2088 int ret = bkey_err(extent_k); in invalidate_one_bp() 2092 if (!extent_k.k) in invalidate_one_bp() 2096 bch2_bkey_make_mut(trans, &extent_iter, &extent_k, in invalidate_one_bp()
|
Completed in 17 milliseconds