/fs/btrfs/ |
D | backref.h | 28 struct btrfs_root *fs_root; member 57 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 63 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
|
D | backref.c | 1410 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument 1438 ret = btrfs_find_item(fs_root, path, parent, 0, 1782 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument 1799 ret = btrfs_find_item(fs_root, path, inum, 1831 fs_root->objectid); 1848 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument 1864 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, 1915 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument 1922 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx); 1928 ret = iterate_inode_extrefs(inum, fs_root, path, iterate, ctx); [all …]
|
D | super.c | 850 struct btrfs_root *fs_root; in btrfs_get_subvol_name_from_objectid() local 918 fs_root = btrfs_read_fs_root_no_name(fs_info, &key); in btrfs_get_subvol_name_from_objectid() 919 if (IS_ERR(fs_root)) { in btrfs_get_subvol_name_from_objectid() 920 ret = PTR_ERR(fs_root); in btrfs_get_subvol_name_from_objectid() 933 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_get_subvol_name_from_objectid() 937 ret = btrfs_previous_item(fs_root, path, dirid, in btrfs_get_subvol_name_from_objectid() 1053 inode = btrfs_iget(sb, &key, fs_info->fs_root, NULL); in btrfs_fill_super()
|
D | relocation.c | 2554 struct btrfs_root *fs_root = NULL; local 2570 fs_root = root; 2580 if (!fs_root) 2582 return fs_root; 4364 struct btrfs_root *fs_root; local 4411 fs_root = read_fs_root(root->fs_info, 4413 if (IS_ERR(fs_root)) { 4414 ret = PTR_ERR(fs_root); 4467 fs_root = read_fs_root(root->fs_info, 4469 if (IS_ERR(fs_root)) { [all …]
|
D | free-space-cache.h | 109 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
|
D | disk-io.c | 1965 if (info->fs_root && info->fs_root->node) { in backup_super_roots() 1967 info->fs_root->node->start); in backup_super_roots() 1969 btrfs_header_generation(info->fs_root->node)); in backup_super_roots() 1971 btrfs_header_level(info->fs_root->node)); in backup_super_roots() 3007 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree() 3008 if (IS_ERR(fs_info->fs_root)) { in open_ctree() 3009 err = PTR_ERR(fs_info->fs_root); in open_ctree() 3017 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in open_ctree()
|
D | qgroup.c | 2313 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker() 2324 btrfs_commit_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan_worker() 2326 btrfs_end_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan_worker() 2482 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan() 2487 ret = btrfs_commit_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan()
|
D | ctree.h | 425 __le64 fs_root; member 1430 struct btrfs_root *fs_root; member 2989 fs_root, 64); 3659 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
|
D | ctree.c | 2597 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument 2612 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item() 2618 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
|
D | free-space-cache.c | 3422 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument 3424 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
|
D | scrub.c | 1455 ret = raid56_parity_recover(fs_info->fs_root, bio, page->recover->bbio, in scrub_submit_raid56_bio_wait()
|
D | extent-tree.c | 4847 to_reclaim = btrfs_calc_reclaim_metadata_size(fs_info->fs_root, in btrfs_async_reclaim_metadata_space() 4854 flush_space(fs_info->fs_root, space_info, to_reclaim, in btrfs_async_reclaim_metadata_space()
|
/fs/btrfs/tests/ |
D | qgroup-tests.c | 497 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
|
/fs/ |
D | namespace.c | 3348 struct path fs_root; in current_chrooted() local 3358 get_fs_root(current->fs, &fs_root); in current_chrooted() 3360 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted() 3362 path_put(&fs_root); in current_chrooted()
|