Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dbackref.h16 struct btrfs_root *fs_root; member
66 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
72 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Dbackref.c1885 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_ref_to_path() argument
1911 ret = btrfs_find_item(fs_root, path, parent, 0, in btrfs_ref_to_path()
2295 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_refs() local
2302 ret = btrfs_find_item(fs_root, path, inum, in iterate_inode_refs()
2328 btrfs_debug(fs_root->fs_info, in iterate_inode_refs()
2331 fs_root->root_key.objectid); in iterate_inode_refs()
2354 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_extrefs() local
2363 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, in iterate_inode_extrefs()
2426 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, in inode_to_path()
2502 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, in init_ipath() argument
[all …]
Drelocation.c2239 struct btrfs_root *fs_root = NULL; in select_one_root() local
2261 fs_root = root; in select_one_root()
2271 if (!fs_root) in select_one_root()
2273 return fs_root; in select_one_root()
4141 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4189 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4191 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4192 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4203 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4252 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
[all …]
Dsuper.c1273 struct btrfs_root *fs_root = NULL; in btrfs_get_subvol_name_from_objectid() local
1330 fs_root = btrfs_get_fs_root(fs_info, subvol_objectid, true); in btrfs_get_subvol_name_from_objectid()
1331 if (IS_ERR(fs_root)) { in btrfs_get_subvol_name_from_objectid()
1332 ret = PTR_ERR(fs_root); in btrfs_get_subvol_name_from_objectid()
1333 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
1346 ret = btrfs_search_backwards(fs_root, &key, path); in btrfs_get_subvol_name_from_objectid()
1371 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
1372 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
1385 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
1467 inode = btrfs_iget(sb, BTRFS_FIRST_FREE_OBJECTID, fs_info->fs_root); in btrfs_fill_super()
Ddisk-io.c1612 btrfs_put_root(fs_info->fs_root); in btrfs_free_fs_info()
2010 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
2012 info->fs_root->node->start); in backup_super_roots()
2014 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
2016 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
2146 free_root_extent_buffers(info->fs_root); in free_root_pointers()
3245 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in btrfs_start_pre_rw_mount()
3790 fs_info->fs_root = btrfs_get_fs_root(fs_info, BTRFS_FS_TREE_OBJECTID, true); in open_ctree()
3791 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3792 err = PTR_ERR(fs_info->fs_root); in open_ctree()
[all …]
Dctree.h200 __le64 fs_root; member
638 struct btrfs_root *fs_root; member
2491 fs_root, 64);
3055 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dctree.c1586 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
1601 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
1607 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dqgroup.c3365 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
3551 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
/linux-6.1.9/fs/btrfs/tests/
Dqgroup-tests.c495 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/linux-6.1.9/fs/
Dnamespace.c4497 struct path fs_root; in current_chrooted() local
4507 get_fs_root(current->fs, &fs_root); in current_chrooted()
4509 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
4511 path_put(&fs_root); in current_chrooted()