Searched refs:dirent_iter (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | namei.c | 251 struct btree_iter dirent_iter = {}; in bch2_unlink_trans() local 265 ret = bch2_dirent_lookup_trans(trans, &dirent_iter, dir, &dir_hash, in bch2_unlink_trans() 298 k = bch2_btree_iter_peek_slot(trans, &dirent_iter); in bch2_unlink_trans() 307 bch2_btree_iter_set_snapshot(trans, &dirent_iter, k.k->p.snapshot); in bch2_unlink_trans() 308 ret = bch2_btree_iter_traverse(trans, &dirent_iter); in bch2_unlink_trans() 315 if (inode_u->bi_dir == dirent_iter.pos.inode && in bch2_unlink_trans() 316 inode_u->bi_dir_offset == dirent_iter.pos.offset) { in bch2_unlink_trans() 325 &dir_hash, &dirent_iter, in bch2_unlink_trans() 331 bch2_trans_iter_exit(trans, &dirent_iter); in bch2_unlink_trans() 788 struct btree_iter *dirent_iter, in __bch2_check_dirent_target() argument [all …]
|
| H A D | namei.h | 60 struct btree_iter *dirent_iter, in bch2_check_dirent_target() argument 69 return __bch2_check_dirent_target(trans, dirent_iter, d, target, in_fsck); in bch2_check_dirent_target()
|
| H A D | fsck.c | 1031 struct btree_iter dirent_iter = {}; in check_inode_dirent_inode() local 1032 struct bkey_s_c_dirent d = inode_get_dirent(trans, &dirent_iter, inode, &inode_snapshot); in check_inode_dirent_inode() 1077 bch2_trans_iter_exit(trans, &dirent_iter); in check_inode_dirent_inode() 2602 struct btree_iter dirent_iter; in check_path_loop() local 2606 d = inode_get_dirent(trans, &dirent_iter, &inode, &parent_snapshot); in check_path_loop() 2612 bch2_trans_iter_exit(trans, &dirent_iter); in check_path_loop() 2622 bch2_trans_iter_exit(trans, &dirent_iter); in check_path_loop()
|
| H A D | fs.c | 661 struct btree_iter dirent_iter = {}; in bch2_lookup_trans() local 662 struct bkey_s_c k = bch2_hash_lookup(trans, &dirent_iter, bch2_dirent_hash_desc, in bch2_lookup_trans() 691 bch2_check_dirent_target(trans, &dirent_iter, d, &inode_u, false) ?: in bch2_lookup_trans() 705 bch2_trans_iter_exit(trans, &dirent_iter); in bch2_lookup_trans()
|