Searched refs:bch2_btree_iter_set_pos (Results 1 – 15 of 15) sorted by relevance
/linux/fs/bcachefs/ |
H A D | alloc_background.c | 617 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_alloc_read() 638 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_alloc_read() 643 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode, ca->mi.first_bucket)); in bch2_alloc_read() 648 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_alloc_read() 1110 bch2_btree_iter_set_pos(iter, hole_start); in bch2_get_key_or_real_bucket_hole() 1153 bch2_btree_iter_set_pos(discard_iter, alloc_k.k->p); in bch2_check_alloc_key() 1183 bch2_btree_iter_set_pos(freespace_iter, alloc_freespace_pos(alloc_k.k->p, *a)); in bch2_check_alloc_key() 1214 bch2_btree_iter_set_pos(bucket_gens_iter, alloc_gens_pos(alloc_k.k->p, &gens_offset)); in bch2_check_alloc_key() 1269 bch2_btree_iter_set_pos(freespace_iter, start); in bch2_check_alloc_hole_freespace() 1320 bch2_btree_iter_set_pos(bucket_gens_iter, alloc_gens_pos(start, &gens_offset)); in bch2_check_alloc_hole_bucket_gens() [all …]
|
H A D | btree_iter.c | 2035 bch2_btree_iter_set_pos(iter, pos); in bch2_btree_iter_advance() 2048 bch2_btree_iter_set_pos(iter, pos); in bch2_btree_iter_rewind() 2213 bch2_btree_iter_set_pos(iter, iter->pos); in __bch2_btree_iter_peek() 2223 bch2_btree_iter_set_pos(iter, SPOS_MAX); in __bch2_btree_iter_peek() 2238 bch2_btree_iter_set_pos(iter, iter->pos); in __bch2_btree_iter_peek() 2271 bch2_btree_iter_set_pos(iter, SPOS_MAX); in __bch2_btree_iter_peek() 2426 bch2_btree_iter_set_pos(iter, iter->pos); in bch2_btree_iter_peek_upto() 2434 bch2_btree_iter_set_pos(iter, end); in bch2_btree_iter_peek_upto() 2492 bch2_btree_iter_set_pos(iter, iter->pos); in bch2_btree_iter_peek_prev() 2564 bch2_btree_iter_set_pos(iter, POS_MIN); in bch2_btree_iter_peek_prev() [all …]
|
H A D | io_misc.c | 399 bch2_btree_iter_set_pos(&iter, POS(inum.inum, src_offset)); in __bch2_resume_logged_op_finsert() 426 bch2_btree_iter_set_pos(&iter, SPOS(inum.inum, pos, snapshot)); in __bch2_resume_logged_op_finsert()
|
H A D | reflink.c | 421 bch2_btree_iter_set_pos(iter, end); in get_next_src() 500 bch2_btree_iter_set_pos(&src_iter, src_want); in bch2_remap_range()
|
H A D | inode.c | 910 bch2_btree_iter_set_pos(iter, POS(0, pos)); in bch2_inode_create() 926 bch2_btree_iter_set_pos(iter, POS(0, pos)); in bch2_inode_create() 929 bch2_btree_iter_set_pos(iter, SPOS(0, pos, snapshot)); in bch2_inode_create()
|
H A D | btree_iter.h | 414 static inline void bch2_btree_iter_set_pos(struct btree_iter *iter, struct bpos new_pos) in bch2_btree_iter_set_pos() function 441 bch2_btree_iter_set_pos(iter, pos); in bch2_btree_iter_set_snapshot()
|
H A D | data_update.c | 374 bch2_btree_iter_set_pos(&iter, next_pos); in __bch2_data_update_index_update()
|
H A D | alloc_foreground.c | 432 bch2_btree_iter_set_pos(&iter, POS(ca->dev_idx, bucket)); in bch2_bucket_alloc_early() 520 bch2_btree_iter_set_pos(&iter, POS(ca->dev_idx, alloc_cursor)); in bch2_bucket_alloc_freelist()
|
H A D | btree_write_buffer.c | 365 bch2_btree_iter_set_pos(&iter, k->k.k.p); in bch2_btree_write_buffer_flush_locked()
|
H A D | quota.c | 519 bch2_btree_iter_set_pos(iter, bpos_nosnap_successor(iter->pos)); in bch2_fs_quota_read_inode()
|
H A D | fs-io.c | 649 bch2_btree_iter_set_pos(&iter, POS(iter.pos.inode, hole_start)); in __bchfs_fallocate()
|
H A D | fs.c | 1330 bch2_btree_iter_set_pos(&iter, in bch2_fiemap() 1655 bch2_btree_iter_set_pos(&iter1, POS(inode_u.bi_dir, inode_u.bi_dir_offset)); in bch2_get_name()
|
H A D | fs-io-buffered.c | 179 bch2_btree_iter_set_pos(&iter, in bchfs_read()
|
H A D | btree_gc.c | 1296 bch2_btree_iter_set_pos(&iter, POS(k.k->p.inode + 1, 0)); in bch2_gc_gens()
|
H A D | ec.c | 2108 bch2_btree_iter_set_pos(&iter, start_pos); in __bch2_ec_stripe_head_reserve()
|