Home
last modified time | relevance | path

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

/linux-6.12.1/fs/btrfs/
Dbackref.h152 struct btrfs_root *fs_root; member
237 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
243 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Drelocation.c2180 struct btrfs_root *fs_root = NULL; in select_one_root() local
2202 fs_root = root; in select_one_root()
2212 if (!fs_root) in select_one_root()
2214 return fs_root; in select_one_root()
4163 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4210 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
4212 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4213 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4221 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4268 fs_root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in btrfs_recover_relocation()
[all …]
Dbackref.c2125 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_ref_to_path() argument
2151 ret = btrfs_find_item(fs_root, path, parent, 0, in btrfs_ref_to_path()
2590 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_refs() local
2597 ret = btrfs_find_item(fs_root, path, inum, in iterate_inode_refs()
2623 btrfs_debug(fs_root->fs_info, in iterate_inode_refs()
2626 btrfs_root_id(fs_root)); in iterate_inode_refs()
2649 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_extrefs() local
2658 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, in iterate_inode_extrefs()
2721 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, in inode_to_path()
2791 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, in init_ipath() argument
[all …]
Dsuper.c789 struct btrfs_root *fs_root = NULL; in btrfs_get_subvol_name_from_objectid() local
846 fs_root = btrfs_get_fs_root(fs_info, subvol_objectid, true); in btrfs_get_subvol_name_from_objectid()
847 if (IS_ERR(fs_root)) { in btrfs_get_subvol_name_from_objectid()
848 ret = PTR_ERR(fs_root); in btrfs_get_subvol_name_from_objectid()
849 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
862 ret = btrfs_search_backwards(fs_root, &key, path); in btrfs_get_subvol_name_from_objectid()
887 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
888 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
901 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
980 inode = btrfs_iget(BTRFS_FIRST_FREE_OBJECTID, fs_info->fs_root); in btrfs_fill_super()
Ddisk-io.c1280 btrfs_put_root(fs_info->fs_root); in btrfs_free_fs_info()
1701 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1703 info->fs_root->node->start); in backup_super_roots()
1705 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1707 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
1834 free_root_extent_buffers(info->fs_root); in free_root_pointers()
3039 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in btrfs_start_pre_rw_mount()
3535 fs_info->fs_root = btrfs_get_fs_root(fs_info, BTRFS_FS_TREE_OBJECTID, true); in open_ctree()
3536 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3537 ret = PTR_ERR(fs_info->fs_root); in open_ctree()
[all …]
Dctree.h593 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dfs.h413 struct btrfs_root *fs_root; member
Daccessors.h782 fs_root, 64);
Dctree.c1675 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
1690 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
1696 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dqgroup.c3855 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
4043 ret = btrfs_commit_current_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
/linux-6.12.1/fs/btrfs/tests/
Dqgroup-tests.c527 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/linux-6.12.1/include/uapi/linux/
Dbtrfs_tree.h519 __le64 fs_root; member
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmr.c805 debugfs_remove_recursive(dev->cache.fs_root); in mlx5_mkey_cache_debugfs_cleanup()
806 dev->cache.fs_root = NULL; in mlx5_mkey_cache_debugfs_cleanup()
822 dir = debugfs_create_dir(ent->name, dev->cache.fs_root); in mlx5_mkey_cache_debugfs_add_ent()
837 cache->fs_root = debugfs_create_dir("mr_cache", dbg_root); in mlx5_mkey_cache_debugfs_init()
Dmlx5_ib.h827 struct dentry *fs_root; member
/linux-6.12.1/fs/
Dnamespace.c5606 struct path fs_root; in current_chrooted() local
5616 get_fs_root(current->fs, &fs_root); in current_chrooted()
5618 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
5620 path_put(&fs_root); in current_chrooted()