Home
last modified time | relevance | path

Searched refs:fs_root (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dbackref.h16 struct btrfs_root *fs_root; member
50 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
56 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Dbackref.c1710 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument
1738 ret = btrfs_find_item(fs_root, path, parent, 0,
2115 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument
2132 ret = btrfs_find_item(fs_root, path, inum,
2159 btrfs_debug(fs_root->fs_info,
2162 fs_root->root_key.objectid);
2178 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument
2194 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
2240 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument
2247 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx);
[all …]
Dsuper.c1140 struct btrfs_root *fs_root = NULL; in btrfs_get_subvol_name_from_objectid() local
1205 fs_root = btrfs_get_fs_root(fs_info, subvol_objectid, true); in btrfs_get_subvol_name_from_objectid()
1206 if (IS_ERR(fs_root)) { in btrfs_get_subvol_name_from_objectid()
1207 ret = PTR_ERR(fs_root); in btrfs_get_subvol_name_from_objectid()
1208 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
1221 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_get_subvol_name_from_objectid()
1225 ret = btrfs_previous_item(fs_root, path, dirid, in btrfs_get_subvol_name_from_objectid()
1253 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
1254 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
1267 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
[all …]
Drelocation.c2107 struct btrfs_root *fs_root = NULL; in select_one_root() local
2123 fs_root = root; in select_one_root()
2133 if (!fs_root) in select_one_root()
2135 return fs_root; in select_one_root()
3742 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
3790 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
3792 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
3793 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
3804 btrfs_put_root(fs_root); in btrfs_recover_relocation()
3847 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
[all …]
Dfree-space-cache.h129 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
Ddisk-io.c1513 btrfs_put_root(fs_info->fs_root); in btrfs_free_fs_info()
1918 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1920 info->fs_root->node->start); in backup_super_roots()
1922 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1924 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
2046 free_root_extent_buffers(info->fs_root); in free_root_pointers()
3338 fs_info->fs_root = btrfs_get_fs_root(fs_info, BTRFS_FS_TREE_OBJECTID, true); in open_ctree()
3339 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3340 err = PTR_ERR(fs_info->fs_root); in open_ctree()
3342 fs_info->fs_root = NULL; in open_ctree()
[all …]
Dctree.h199 __le64 fs_root; member
592 struct btrfs_root *fs_root; member
2149 fs_root, 64);
2735 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dctree.c2551 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
2566 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
2572 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dqgroup.c3322 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
3502 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
Dfree-space-cache.c3844 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument
3846 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dqgroup-tests.c506 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/kernel/linux/linux-5.10/fs/
Dnamespace.c3930 struct path fs_root; in current_chrooted() local
3940 get_fs_root(current->fs, &fs_root); in current_chrooted()
3942 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
3944 path_put(&fs_root); in current_chrooted()