Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/btrfs/
A Dbackref.h134 struct btrfs_root *fs_root; member
219 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
225 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
A Dsuper.c963 struct btrfs_root *fs_root = NULL; in btrfs_get_subvol_name_from_objectid() local
1020 fs_root = btrfs_get_fs_root(fs_info, subvol_objectid, true); in btrfs_get_subvol_name_from_objectid()
1021 if (IS_ERR(fs_root)) { in btrfs_get_subvol_name_from_objectid()
1022 ret = PTR_ERR(fs_root); in btrfs_get_subvol_name_from_objectid()
1023 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
1036 ret = btrfs_search_backwards(fs_root, &key, path); in btrfs_get_subvol_name_from_objectid()
1061 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
1062 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
1075 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
1158 inode = btrfs_iget(sb, BTRFS_FIRST_FREE_OBJECTID, fs_info->fs_root); in btrfs_fill_super()
A Drelocation.c2275 fs_root = root; in select_one_root()
2285 if (!fs_root) in select_one_root()
2287 return fs_root; in select_one_root()
4219 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4220 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4282 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4283 err = PTR_ERR(fs_root); in btrfs_recover_relocation()
4293 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4298 btrfs_put_root(fs_root); in btrfs_recover_relocation()
4332 ASSERT(fs_root); in btrfs_recover_relocation()
[all …]
A Dbackref.c2089 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_ref_to_path() argument
2115 ret = btrfs_find_item(fs_root, path, parent, 0, in btrfs_ref_to_path()
2548 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_refs() local
2555 ret = btrfs_find_item(fs_root, path, inum, in iterate_inode_refs()
2581 btrfs_debug(fs_root->fs_info, in iterate_inode_refs()
2584 fs_root->root_key.objectid); in iterate_inode_refs()
2607 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_extrefs() local
2616 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, in iterate_inode_extrefs()
2679 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, in inode_to_path()
2755 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, in init_ipath() argument
[all …]
A Ddisk-io.c1516 btrfs_put_root(fs_info->fs_root); in btrfs_free_fs_info()
1917 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1919 info->fs_root->node->start); in backup_super_roots()
1921 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1923 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
2051 free_root_extent_buffers(info->fs_root); in free_root_pointers()
3153 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in btrfs_start_pre_rw_mount()
3706 fs_info->fs_root = btrfs_get_fs_root(fs_info, BTRFS_FS_TREE_OBJECTID, true); in open_ctree()
3707 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3708 err = PTR_ERR(fs_info->fs_root); in open_ctree()
[all …]
A Dctree.h568 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
A Dfs.h365 struct btrfs_root *fs_root; member
A Daccessors.h763 fs_root, 64);
A Dctree.c1695 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
1710 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
1716 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
A Dqgroup.c3384 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
3570 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
/linux-6.3-rc2/fs/btrfs/tests/
A Dqgroup-tests.c527 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/linux-6.3-rc2/include/uapi/linux/
A Dbtrfs_tree.h494 __le64 fs_root; member
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dmr.c838 debugfs_remove_recursive(dev->cache.fs_root); in mlx5_mkey_cache_debugfs_cleanup()
839 dev->cache.fs_root = NULL; in mlx5_mkey_cache_debugfs_cleanup()
855 dir = debugfs_create_dir(ent->name, dev->cache.fs_root); in mlx5_mkey_cache_debugfs_add_ent()
870 cache->fs_root = debugfs_create_dir("mr_cache", dbg_root); in mlx5_mkey_cache_debugfs_init()
A Dmlx5_ib.h785 struct dentry *fs_root; member
/linux-6.3-rc2/fs/
A Dnamespace.c4502 struct path fs_root; in current_chrooted() local
4512 get_fs_root(current->fs, &fs_root); in current_chrooted()
4514 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
4516 path_put(&fs_root); in current_chrooted()

Completed in 72 milliseconds