Lines Matching refs:inum
36 static int __bch2_set_rebalance_needs_scan(struct btree_trans *trans, u64 inum) in __bch2_set_rebalance_needs_scan() argument
45 SPOS(inum, REBALANCE_WORK_SCAN_OFFSET, U32_MAX), in __bch2_set_rebalance_needs_scan()
71 int bch2_set_rebalance_needs_scan(struct bch_fs *c, u64 inum) in bch2_set_rebalance_needs_scan() argument
76 __bch2_set_rebalance_needs_scan(trans, inum)); in bch2_set_rebalance_needs_scan()
86 static int bch2_clear_rebalance_needs_scan(struct btree_trans *trans, u64 inum, u64 cookie) in bch2_clear_rebalance_needs_scan() argument
94 SPOS(inum, REBALANCE_WORK_SCAN_OFFSET, U32_MAX), in bch2_clear_rebalance_needs_scan()
274 static int do_rebalance_scan(struct moving_context *ctxt, u64 inum, u64 cookie) in do_rebalance_scan() argument
283 if (!inum) { in do_rebalance_scan()
287 r->scan_start = BBPOS(BTREE_ID_extents, POS(inum, 0)); in do_rebalance_scan()
288 r->scan_end = BBPOS(BTREE_ID_extents, POS(inum, U64_MAX)); in do_rebalance_scan()
295 bch2_clear_rebalance_needs_scan(trans, inum, cookie)); in do_rebalance_scan()