/Linux-v5.4/fs/btrfs/ |
D | backref.h | 15 struct btrfs_root *fs_root; member 46 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 52 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
|
D | backref.c | 1612 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument 1640 ret = btrfs_find_item(fs_root, path, parent, 0, 1998 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument 2015 ret = btrfs_find_item(fs_root, path, inum, 2042 btrfs_debug(fs_root->fs_info, 2045 fs_root->root_key.objectid); 2061 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument 2077 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, 2123 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument 2130 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx); [all …]
|
D | free-space-cache.h | 98 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
|
D | relocation.c | 2622 struct btrfs_root *fs_root = NULL; in select_one_root() local 2638 fs_root = root; in select_one_root() 2648 if (!fs_root) in select_one_root() 2650 return fs_root; in select_one_root() 4452 struct btrfs_root *fs_root; in btrfs_recover_relocation() local 4499 fs_root = read_fs_root(fs_info, in btrfs_recover_relocation() 4501 if (IS_ERR(fs_root)) { in btrfs_recover_relocation() 4502 ret = PTR_ERR(fs_root); in btrfs_recover_relocation() 4555 fs_root = read_fs_root(fs_info, reloc_root->root_key.offset); in btrfs_recover_relocation() 4556 if (IS_ERR(fs_root)) { in btrfs_recover_relocation() [all …]
|
D | super.c | 1012 struct btrfs_root *fs_root; in get_subvol_name_from_objectid() local 1080 fs_root = btrfs_read_fs_root_no_name(fs_info, &key); in get_subvol_name_from_objectid() 1081 if (IS_ERR(fs_root)) { in get_subvol_name_from_objectid() 1082 ret = PTR_ERR(fs_root); in get_subvol_name_from_objectid() 1095 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in get_subvol_name_from_objectid() 1099 ret = btrfs_previous_item(fs_root, path, dirid, in get_subvol_name_from_objectid() 1222 inode = btrfs_iget(sb, &key, fs_info->fs_root, NULL); in btrfs_fill_super()
|
D | disk-io.c | 1904 if (info->fs_root && info->fs_root->node) { in backup_super_roots() 1906 info->fs_root->node->start); in backup_super_roots() 1908 btrfs_header_generation(info->fs_root->node)); in backup_super_roots() 1910 btrfs_header_level(info->fs_root->node)); in backup_super_roots() 3214 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree() 3215 if (IS_ERR(fs_info->fs_root)) { in open_ctree() 3216 err = PTR_ERR(fs_info->fs_root); in open_ctree() 3257 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in open_ctree()
|
D | ctree.h | 189 __le64 fs_root; member 536 struct btrfs_root *fs_root; member 2003 fs_root, 64); 2552 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
|
D | ctree.c | 2589 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument 2604 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item() 2610 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
|
D | free-space-cache.c | 3427 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument 3429 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
|
D | qgroup.c | 3149 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker() 3328 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
|
/Linux-v5.4/fs/btrfs/tests/ |
D | qgroup-tests.c | 504 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
|
/Linux-v5.4/fs/ |
D | namespace.c | 3823 struct path fs_root; in current_chrooted() local 3833 get_fs_root(current->fs, &fs_root); in current_chrooted() 3835 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted() 3837 path_put(&fs_root); in current_chrooted()
|