/fs/btrfs/ |
D | inode-map.c | 16 static void fail_caching_thread(struct btrfs_root *root) in fail_caching_thread() 31 struct btrfs_root *root = data; in caching_kthread() local 139 static void start_caching(struct btrfs_root *root) in start_caching() 188 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_ino() 215 void btrfs_return_ino(struct btrfs_root *root, u64 objectid) in btrfs_return_ino() 251 void btrfs_unpin_free_ino(struct btrfs_root *root) in btrfs_unpin_free_ino() 368 void btrfs_init_free_ino_ctl(struct btrfs_root *root) in btrfs_init_free_ino_ctl() 396 int btrfs_save_ino_cache(struct btrfs_root *root, in btrfs_save_ino_cache() 527 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_highest_objectid() 562 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_objectid()
|
D | transaction.c | 83 struct btrfs_root *root, *tmp; in switch_commit_roots() local 281 struct btrfs_root *root, in record_root_in_trans() 342 struct btrfs_root *root) in btrfs_add_dropped_root() 361 struct btrfs_root *root) in btrfs_record_root_in_trans() 425 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root() 439 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() 608 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() 616 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv() 656 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction() 662 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root) in btrfs_join_transaction_nolock() [all …]
|
D | delayed-inode.c | 41 struct btrfs_root *root, u64 inode_id) in btrfs_init_delayed_node() 68 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local 125 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() local 168 static void btrfs_queue_delayed_node(struct btrfs_delayed_root *root, in btrfs_queue_delayed_node() 189 static void btrfs_dequeue_delayed_node(struct btrfs_delayed_root *root, in btrfs_dequeue_delayed_node() 269 struct btrfs_root *root = delayed_node->root; in __btrfs_release_delayed_node() local 340 struct rb_root *root, in __btrfs_lookup_delayed_item() 404 struct rb_root_cached *root; in __btrfs_add_delayed_item() local 475 struct rb_root_cached *root; in __btrfs_remove_delayed_item() local 547 struct btrfs_root *root, in btrfs_delayed_item_reserve_metadata() [all …]
|
D | dir-item.c | 20 struct btrfs_root *root, in insert_with_overflow() 56 struct btrfs_root *root, in btrfs_insert_xattr_item() 114 struct btrfs_root *root = dir->root; in btrfs_insert_dir_item() local 180 struct btrfs_root *root, in btrfs_lookup_dir_item() 204 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision() 273 struct btrfs_root *root, in btrfs_lookup_dir_index_item() 296 btrfs_search_dir_index_item(struct btrfs_root *root, in btrfs_search_dir_index_item() 344 struct btrfs_root *root, in btrfs_lookup_xattr() 408 struct btrfs_root *root, in btrfs_delete_one_dir_name()
|
D | tree-log.c | 138 struct btrfs_root *root, in start_log_trans() 192 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans() 210 void btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans() 221 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans() 343 struct btrfs_root *root, in overwrite_item() 553 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode() 581 struct btrfs_root *root, in replay_one_extent() 851 struct btrfs_root *root, in drop_one_dir_item() 901 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir() 1000 struct btrfs_root *root, in __add_inode_ref() [all …]
|
D | relocation.c | 51 struct btrfs_root *root; member 282 static struct rb_node *tree_insert(struct rb_root *root, u64 bytenr, in tree_insert() 306 static struct rb_node *tree_search(struct rb_root *root, u64 bytenr) in tree_search() 520 static bool reloc_root_is_dead(struct btrfs_root *root) in reloc_root_is_dead() 540 static bool have_reloc_root(struct btrfs_root *root) in have_reloc_root() 549 static int should_ignore_root(struct btrfs_root *root) in should_ignore_root() 583 struct btrfs_root *root = NULL; in find_reloc_root() local 690 struct btrfs_root *root; in build_backref_tree() local 1290 static int __must_check __add_reloc_root(struct btrfs_root *root) in __add_reloc_root() 1322 static void __del_reloc_root(struct btrfs_root *root) in __del_reloc_root() [all …]
|
D | ctree.c | 126 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node() 154 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node() 173 struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root) in btrfs_read_lock_root_node() 192 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list() 219 struct btrfs_root *root, in btrfs_copy_root() 869 int btrfs_block_can_be_shared(struct btrfs_root *root, in btrfs_block_can_be_shared() 889 struct btrfs_root *root, in update_ref_for_cow() 1001 struct btrfs_root *root, in alloc_tree_block_no_bg_flush() 1054 struct btrfs_root *root, in __btrfs_cow_block() 1362 get_old_root(struct btrfs_root *root, u64 time_seq) in get_old_root() [all …]
|
D | root-tree.c | 66 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() 120 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 199 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 216 struct btrfs_root *root; in btrfs_find_orphan_roots() local 332 struct btrfs_root *root = trans->fs_info->tree_root; in btrfs_del_root() local 492 struct btrfs_root *root) in btrfs_update_root_times() 519 int btrfs_subvolume_reserve_metadata(struct btrfs_root *root, in btrfs_subvolume_reserve_metadata()
|
D | inode-item.c | 75 struct btrfs_root *root, in btrfs_lookup_inode_extref() 99 struct btrfs_root *root, in btrfs_del_inode_extref() 172 struct btrfs_root *root, in btrfs_del_inode_ref() 252 struct btrfs_root *root, in btrfs_insert_inode_extref() 310 struct btrfs_root *root, in btrfs_insert_inode_ref() 389 struct btrfs_root *root, in btrfs_insert_empty_inode() 403 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
D | inode.c | 55 struct btrfs_root *root; member 168 struct btrfs_root *root, struct inode *inode, in insert_inline_extent() 273 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range_inline() local 761 struct btrfs_root *root = BTRFS_I(inode)->root; in submit_compressed_extents() local 972 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range() local 1339 struct btrfs_root *root = BTRFS_I(inode)->root; in run_delalloc_nocow() local 1829 static void btrfs_add_delalloc_inodes(struct btrfs_root *root, in btrfs_add_delalloc_inodes() 1853 void __btrfs_del_delalloc_inode(struct btrfs_root *root, in __btrfs_del_delalloc_inode() 1873 static void btrfs_del_delalloc_inode(struct btrfs_root *root, in btrfs_del_delalloc_inode() 1898 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_set_delalloc_extent() local [all …]
|
D | disk-io.c | 596 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() local 843 struct btrfs_root *root; in btree_csum_one_bio() local 1121 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root() 1195 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root() local 1205 struct btrfs_root *root; in btrfs_alloc_dummy_root() local 1228 struct btrfs_root *root; in btrfs_create_tree() local 1301 struct btrfs_root *root; in alloc_log_tree() local 1351 struct btrfs_root *root) in btrfs_add_log_tree() 1385 struct btrfs_root *root; in btrfs_read_tree_root() local 1440 struct btrfs_root *root; in btrfs_read_fs_root() local [all …]
|
D | free-space-tree.c | 51 struct btrfs_root *root = trans->fs_info->free_space_root; in add_new_free_space_info() local 85 struct btrfs_root *root = fs_info->free_space_root; in search_free_space_info() local 112 struct btrfs_root *root, in btrfs_search_prev_slot() 187 struct btrfs_root *root = fs_info->free_space_root; in convert_free_space_to_bitmaps() local 327 struct btrfs_root *root = fs_info->free_space_root; in convert_free_space_to_extents() local 559 struct btrfs_root *root, struct btrfs_path *p) in free_space_next_bitmap() 588 struct btrfs_root *root = block_group->fs_info->free_space_root; in modify_free_space_bitmap() local 701 struct btrfs_root *root = trans->fs_info->free_space_root; in remove_free_space_extent() local 853 struct btrfs_root *root = trans->fs_info->free_space_root; in add_free_space_extent() local 1184 struct btrfs_root *root) in clear_free_space_tree() [all …]
|
D | ioctl.c | 191 struct btrfs_root *root = binode->root; in btrfs_ioctl_setflags() local 390 struct btrfs_root *root = binode->root; in btrfs_ioctl_fssetxattr() local 567 struct btrfs_root *root = BTRFS_I(dir)->root; in create_subvol() local 755 static int create_snapshot(struct btrfs_root *root, struct inode *dir, in create_snapshot() 1051 static int find_new_extents(struct btrfs_root *root, in find_new_extents() 1391 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_defrag_file() local 1604 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_resize() local 1894 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_getflags() local 1917 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_setflags() local 2160 struct btrfs_root *root; in search_ioctl() local [all …]
|
D | xattr.c | 27 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_getxattr() local 83 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr() local 228 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr_trans() local 253 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_listxattr() local 379 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_xattr_handler_set_prop() local
|
D | orphan.c | 10 struct btrfs_root *root, u64 offset) in btrfs_insert_orphan_item() 31 struct btrfs_root *root, u64 offset) in btrfs_del_orphan_item()
|
D | props.c | 114 static int iterate_object_props(struct btrfs_root *root, in iterate_object_props() 231 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_prop_iterator() local 246 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_load_inode_props() local 327 struct btrfs_root *root = BTRFS_I(inode)->root; in inherit_props() local 407 struct btrfs_root *root, in btrfs_subvol_inherit_props()
|
D | qgroup.h | 356 static inline int btrfs_qgroup_reserve_meta_pertrans(struct btrfs_root *root, in btrfs_qgroup_reserve_meta_pertrans() 362 static inline int btrfs_qgroup_reserve_meta_prealloc(struct btrfs_root *root, in btrfs_qgroup_reserve_meta_prealloc() 373 static inline void btrfs_qgroup_free_meta_pertrans(struct btrfs_root *root, in btrfs_qgroup_free_meta_pertrans() 381 static inline void btrfs_qgroup_free_meta_prealloc(struct btrfs_root *root, in btrfs_qgroup_free_meta_prealloc()
|
/fs/nfs/blocklayout/ |
D | extent_tree.c | 19 ext_tree_first(struct rb_root *root) in ext_tree_first() 46 __ext_tree_search(struct rb_root *root, sector_t start) in __ext_tree_search() 95 ext_try_to_merge_left(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_left() 111 ext_try_to_merge_right(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_right() 136 __ext_tree_insert(struct rb_root *root, in __ext_tree_insert() 177 __ext_tree_remove(struct rb_root *root, in __ext_tree_remove() 258 struct rb_root *root; in ext_tree_insert() local 322 __ext_tree_lookup(struct rb_root *root, sector_t isect, in __ext_tree_lookup() 380 ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be, in ext_tree_split() 408 struct rb_root *root = &bl->bl_ext_rw; in ext_tree_mark_written() local [all …]
|
/fs/btrfs/tests/ |
D | qgroup-tests.c | 14 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() 67 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() 119 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() 151 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() 207 static int test_no_shared_qgroup(struct btrfs_root *root, in test_no_shared_qgroup() 308 static int test_multiple_refs(struct btrfs_root *root, in test_multiple_refs() 454 struct btrfs_root *root; in btrfs_test_qgroups() local
|
D | inode-tests.c | 15 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() 51 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key() 89 static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) in setup_file_extents() 222 struct btrfs_root *root = NULL; in test_btrfs_get_extent() local 829 struct btrfs_root *root = NULL; in test_hole_first() local 932 struct btrfs_root *root = NULL; in test_extent_accounting() local
|
/fs/ |
D | d_path.c | 76 const struct path *root, in prepend_path() 177 const struct path *root, in __d_path() 196 struct path root = {}; in d_absolute_path() local 214 const struct path *root, in path_with_deleted() 232 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() 261 struct path root; in d_path() local 395 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() 428 struct path pwd, root; in SYSCALL_DEFINE2() local
|
/fs/nilfs2/ |
D | inode.c | 35 struct nilfs_root *root; member 43 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_add_blocks() local 52 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_sub_blocks() local 321 struct nilfs_root *root, in nilfs_insert_inode_locked() 337 struct nilfs_root *root; in nilfs_new_inode() local 474 struct nilfs_root *root, unsigned long ino, in __nilfs_read_inode() 560 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root, in nilfs_ilookup() 570 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root, in nilfs_iget_locked() 580 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root, in nilfs_iget() 856 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_permission() local
|
/fs/cachefiles/ |
D | security.c | 50 struct dentry *root) in cachefiles_check_cache_dir() 76 struct dentry *root, in cachefiles_determine_cache_security()
|
/fs/kernfs/ |
D | mount.c | 26 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options() local 37 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path() local 60 struct kernfs_node *kernfs_get_node_by_id(struct kernfs_root *root, in kernfs_get_node_by_id() 217 struct dentry *root; in kernfs_fill_super() local
|
/fs/afs/ |
D | dynroot.c | 191 struct dentry *root, *subdir; in afs_dynroot_mkdir() local 221 struct dentry *root, *subdir; in afs_dynroot_rmdir() local 284 struct dentry *root = sb->s_root, *subdir, *tmp; in afs_dynroot_depopulate() local
|