Searched refs:fs_root (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | backref.c | 2121 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_ref_to_path() argument 2147 ret = btrfs_find_item(fs_root, path, parent, 0, in btrfs_ref_to_path() 2593 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_refs() local 2600 ret = btrfs_find_item(fs_root, path, inum, in iterate_inode_refs() 2626 btrfs_debug(fs_root->fs_info, in iterate_inode_refs() 2629 btrfs_root_id(fs_root)); in iterate_inode_refs() 2652 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_extrefs() local 2661 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, in iterate_inode_extrefs() 2724 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, in inode_to_path() 2794 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, in init_ipath() argument [all …]
|
| H A D | relocation.c | 2065 struct btrfs_root *fs_root = NULL; in select_one_root() local 2087 fs_root = root; in select_one_root() 2097 if (!fs_root) in select_one_root() 2099 return fs_root; in select_one_root() 4168 ret = btrfs_reserve_extent(fs_info->fs_root, length, length, min_size, in move_existing_remap() 4997 ret = btrfs_reserve_extent(fs_info->fs_root, remap_length, remap_length, in do_remap_reloc_trans() 5483 struct btrfs_root *fs_root; in btrfs_recover_relocation() local 5530 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation() 5532 if (IS_ERR(fs_root)) { in btrfs_recover_relocation() 5533 ret = PTR_ERR(fs_root); in btrfs_recover_relocation() [all …]
|
| H A D | disk-io.c | 1224 btrfs_put_root(fs_info->fs_root); in btrfs_free_fs_info() 1659 if (info->fs_root && info->fs_root->node) { in backup_super_roots() 1661 info->fs_root->node->start); in backup_super_roots() 1663 btrfs_header_generation(info->fs_root->node)); in backup_super_roots() 1665 btrfs_header_level(info->fs_root->node)); in backup_super_roots() 1792 free_root_extent_buffers(info->fs_root); in free_root_pointers() 3105 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in btrfs_start_pre_rw_mount() 3643 fs_info->fs_root = btrfs_get_fs_root(fs_info, BTRFS_FS_TREE_OBJECTID, true); in open_ctree() 3644 if (IS_ERR(fs_info->fs_root)) { in open_ctree() 3645 ret = PTR_ERR(fs_info->fs_root); in open_ctree() [all …]
|
| H A D | fs.h | 495 struct btrfs_root *fs_root; member
|
| H A D | qgroup.c | 3882 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker() 4070 ret = btrfs_commit_current_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
|
| /linux/fs/btrfs/tests/ |
| H A D | qgroup-tests.c | 518 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
|
| /linux/fs/ |
| H A D | namespace.c | 6324 struct path fs_root __free(path_put) = {}; in current_chrooted() 6327 get_fs_root(current->fs, &fs_root); in current_chrooted() 6335 return fs_root.mnt != &root->mnt || !path_mounted(&fs_root); in current_chrooted()
|