| /fs/btrfs/ |
| D | inode-map.c | 29 static void fail_caching_thread(struct btrfs_root *root) in fail_caching_thread() 44 struct btrfs_root *root = data; in caching_kthread() local 152 static void start_caching(struct btrfs_root *root) in start_caching() 200 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_ino() 227 void btrfs_return_ino(struct btrfs_root *root, u64 objectid) in btrfs_return_ino() 263 void btrfs_unpin_free_ino(struct btrfs_root *root) in btrfs_unpin_free_ino() 383 void btrfs_init_free_ino_ctl(struct btrfs_root *root) in btrfs_init_free_ino_ctl() 411 int btrfs_save_ino_cache(struct btrfs_root *root, in btrfs_save_ino_cache() 540 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_highest_objectid() 575 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_objectid()
|
| D | tree-checker.c | 36 #define CORRUPT(reason, eb, root, slot) \ argument 63 static void generic_err(const struct btrfs_root *root, in generic_err() 82 static int check_extent_data_item(struct btrfs_root *root, in check_extent_data_item() 159 static int check_csum_item(struct btrfs_root *root, struct extent_buffer *leaf, in check_csum_item() 185 static void dir_item_err(const struct btrfs_root *root, in dir_item_err() 206 static int check_dir_item(struct btrfs_root *root, in check_dir_item() 413 static int check_leaf_item(struct btrfs_root *root, in check_leaf_item() 438 static int check_leaf(struct btrfs_root *root, struct extent_buffer *leaf, in check_leaf() 581 int btrfs_check_leaf_full(struct btrfs_root *root, struct extent_buffer *leaf) in btrfs_check_leaf_full() 586 int btrfs_check_leaf_relaxed(struct btrfs_root *root, in btrfs_check_leaf_relaxed() [all …]
|
| D | transaction.c | 132 struct btrfs_root *root, *tmp; in switch_commit_roots() local 314 struct btrfs_root *root, in record_root_in_trans() 375 struct btrfs_root *root) in btrfs_add_dropped_root() 394 struct btrfs_root *root) in btrfs_record_root_in_trans() 462 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root() 476 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() 613 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() 621 struct btrfs_root *root, in btrfs_start_transaction_fallback_global_rsv() 662 struct btrfs_root *root, in btrfs_start_transaction_lflush() 669 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root) in btrfs_join_transaction() [all …]
|
| D | tree-log.c | 144 struct btrfs_root *root, in start_log_trans() 198 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans() 220 int btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans() 234 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans() 348 struct btrfs_root *root, in overwrite_item() 560 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode() 592 struct btrfs_root *root, in replay_one_extent() 857 struct btrfs_root *root, in drop_one_dir_item() 908 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir() 1005 struct btrfs_root *root, in __add_inode_ref() [all …]
|
| D | delayed-inode.c | 51 struct btrfs_root *root, u64 inode_id) in btrfs_init_delayed_node() 78 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local 135 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() local 178 static void btrfs_queue_delayed_node(struct btrfs_delayed_root *root, in btrfs_queue_delayed_node() 199 static void btrfs_dequeue_delayed_node(struct btrfs_delayed_root *root, in btrfs_dequeue_delayed_node() 279 struct btrfs_root *root = delayed_node->root; in __btrfs_release_delayed_node() local 350 struct rb_root *root, in __btrfs_lookup_delayed_item() 414 struct rb_root *root; in __btrfs_add_delayed_item() local 485 struct rb_root *root; in __btrfs_remove_delayed_item() local 598 struct btrfs_root *root, in btrfs_delayed_inode_reserve_metadata() [all …]
|
| D | dir-item.c | 34 struct btrfs_root *root, in insert_with_overflow() 70 struct btrfs_root *root, in btrfs_insert_xattr_item() 122 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_dir_item() 194 struct btrfs_root *root, in btrfs_lookup_dir_item() 218 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision() 287 struct btrfs_root *root, in btrfs_lookup_dir_index_item() 310 btrfs_search_dir_index_item(struct btrfs_root *root, in btrfs_search_dir_index_item() 358 struct btrfs_root *root, in btrfs_lookup_xattr() 424 struct btrfs_root *root, in btrfs_delete_one_dir_name()
|
| D | inode.c | 67 struct btrfs_root *root; member 183 struct btrfs_root *root, struct inode *inode, in insert_inline_extent() 280 static noinline int cow_file_range_inline(struct btrfs_root *root, in cow_file_range_inline() 379 struct btrfs_root *root; member 482 struct btrfs_root *root = BTRFS_I(inode)->root; in compress_file_range() local 750 struct btrfs_root *root = BTRFS_I(inode)->root; in submit_compressed_extents() local 977 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range() local 1183 struct btrfs_root *root; in async_cow_submit() local 1220 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range_async() local 1303 struct btrfs_root *root = BTRFS_I(inode)->root; in run_delalloc_nocow() local [all …]
|
| D | disk-io.c | 547 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() local 818 struct btrfs_root *root; in btree_csum_one_bio() local 1151 static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, in __setup_root() 1225 struct btrfs_root *root = kzalloc(sizeof(*root), flags); in btrfs_alloc_root() local 1235 struct btrfs_root *root; in btrfs_alloc_dummy_root() local 1258 struct btrfs_root *root; in btrfs_create_tree() local 1331 struct btrfs_root *root; in alloc_log_tree() local 1387 struct btrfs_root *root) in btrfs_add_log_tree() 1421 struct btrfs_root *root; in btrfs_read_tree_root() local 1474 struct btrfs_root *root; in btrfs_read_fs_root() local [all …]
|
| D | relocation.c | 62 struct btrfs_root *root; member 291 static struct rb_node *tree_insert(struct rb_root *root, u64 bytenr, in tree_insert() 315 static struct rb_node *tree_search(struct rb_root *root, u64 bytenr) in tree_search() 530 static int should_ignore_root(struct btrfs_root *root) in should_ignore_root() 560 struct btrfs_root *root = NULL; in find_reloc_root() local 608 struct btrfs_root *root; in find_tree_root() local 691 struct btrfs_root *root; local 1298 static int __must_check __add_reloc_root(struct btrfs_root *root) 1330 static void __del_reloc_root(struct btrfs_root *root) 1361 static int __update_reloc_root(struct btrfs_root *root, u64 new_bytenr) [all …]
|
| D | ctree.c | 148 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node() 176 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node() 195 static struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root) in btrfs_read_lock_root_node() 214 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list() 241 struct btrfs_root *root, in btrfs_copy_root() 916 tree_mod_log_set_root_pointer(struct btrfs_root *root, in tree_mod_log_set_root_pointer() 929 int btrfs_block_can_be_shared(struct btrfs_root *root, in btrfs_block_can_be_shared() 953 struct btrfs_root *root, in update_ref_for_cow() 1076 struct btrfs_root *root, in __btrfs_cow_block() 1387 get_old_root(struct btrfs_root *root, u64 time_seq) in get_old_root() [all …]
|
| D | root-tree.c | 77 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() 131 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 210 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 227 struct btrfs_root *root; in btrfs_find_orphan_roots() local 343 struct btrfs_root *root = fs_info->tree_root; in btrfs_del_root() local 510 struct btrfs_root *root) in btrfs_update_root_times()
|
| D | inode-item.c | 97 struct btrfs_root *root, in btrfs_lookup_inode_extref() 122 struct btrfs_root *root, in btrfs_del_inode_extref() 194 struct btrfs_root *root, in btrfs_del_inode_ref() 271 struct btrfs_root *root, in btrfs_insert_inode_extref() 327 struct btrfs_root *root, in btrfs_insert_inode_ref() 403 struct btrfs_root *root, in btrfs_insert_empty_inode() 417 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
| D | free-space-tree.c | 65 struct btrfs_root *root = fs_info->free_space_root; in add_new_free_space_info() local 98 struct btrfs_root *root = fs_info->free_space_root; in search_free_space_info() local 125 struct btrfs_root *root, in btrfs_search_prev_slot() 178 struct btrfs_root *root = fs_info->free_space_root; in convert_free_space_to_bitmaps() local 316 struct btrfs_root *root = fs_info->free_space_root; in convert_free_space_to_extents() local 567 struct btrfs_root *root, struct btrfs_path *p) in free_space_next_bitmap() 597 struct btrfs_root *root = fs_info->free_space_root; in modify_free_space_bitmap() local 711 struct btrfs_root *root = fs_info->free_space_root; in remove_free_space_extent() local 866 struct btrfs_root *root = fs_info->free_space_root; in add_free_space_extent() local 1201 struct btrfs_root *root) in clear_free_space_tree() [all …]
|
| D | ioctl.c | 189 struct btrfs_root *root = ip->root; in btrfs_ioctl_setflags() local 431 struct btrfs_root *root = BTRFS_I(dir)->root; in create_subvol() local 631 static void btrfs_wait_for_no_snapshotting_writes(struct btrfs_root *root) in btrfs_wait_for_no_snapshotting_writes() 648 static int create_snapshot(struct btrfs_root *root, struct inode *dir, in create_snapshot() 921 static int find_new_extents(struct btrfs_root *root, in find_new_extents() 1261 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_defrag_file() local 1485 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_resize() local 1770 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_getflags() local 1793 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_setflags() local 1885 static noinline int may_destroy_subvol(struct btrfs_root *root) in may_destroy_subvol() [all …]
|
| D | orphan.c | 23 struct btrfs_root *root, u64 offset) in btrfs_insert_orphan_item() 44 struct btrfs_root *root, u64 offset) in btrfs_del_orphan_item()
|
| D | props.c | 158 static int iterate_object_props(struct btrfs_root *root, in iterate_object_props() 282 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_prop_iterator() local 297 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_load_inode_props() local 310 struct btrfs_root *root = BTRFS_I(inode)->root; in inherit_props() local 358 struct btrfs_root *root, in btrfs_subvol_inherit_props()
|
| D | file-item.c | 42 struct btrfs_root *root, in btrfs_insert_file_extent() 89 struct btrfs_root *root, in btrfs_lookup_csum() 142 struct btrfs_root *root, in btrfs_lookup_file_extent() 316 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end, in btrfs_lookup_csums_range() 596 struct btrfs_root *root = fs_info->csum_root; in btrfs_del_csums() local 736 struct btrfs_root *root, in btrfs_csum_file_blocks() 940 struct btrfs_root *root = inode->root; in btrfs_extent_item_to_extent_map() local
|
| D | disk-io.h | 110 static inline struct btrfs_root *btrfs_grab_fs_root(struct btrfs_root *root) in btrfs_grab_fs_root() 117 static inline void btrfs_put_fs_root(struct btrfs_root *root) in btrfs_put_fs_root()
|
| D | file.c | 62 u64 root; member 151 struct btrfs_root *root = inode->root; in btrfs_add_inode_defrag() local 225 btrfs_pick_defrag_inode(struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode() 693 struct btrfs_root *root, struct inode *inode, in __btrfs_drop_extents() 1028 struct btrfs_root *root, struct inode *inode, u64 start, in btrfs_drop_extents() 1087 struct btrfs_root *root = inode->root; in btrfs_mark_extent_written() local 1532 struct btrfs_root *root = inode->root; in check_can_nocow() local 1580 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_buffered_write() local 1877 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_file_write_iter() local 2055 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_sync_file() local [all …]
|
| /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 | 27 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() 80 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() 132 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() 164 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() 220 static int test_no_shared_qgroup(struct btrfs_root *root, in test_no_shared_qgroup() 317 static int test_multiple_refs(struct btrfs_root *root, in test_multiple_refs() 457 struct btrfs_root *root; in btrfs_test_qgroups() local
|
| D | inode-tests.c | 28 static void insert_extent(struct btrfs_root *root, u64 start, u64 len, in insert_extent() 64 static void insert_inode_item_key(struct btrfs_root *root) in insert_inode_item_key() 102 static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) in setup_file_extents() 235 struct btrfs_root *root = NULL; in test_btrfs_get_extent() local 844 struct btrfs_root *root = NULL; in test_hole_first() local 946 struct btrfs_root *root = NULL; in test_extent_accounting() local
|
| /fs/kernfs/ |
| D | mount.c | 27 struct kernfs_root *root = kernfs_info(sb)->root; in kernfs_sop_remount_fs() local 37 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options() local 48 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path() local 72 struct kernfs_node *kernfs_get_node_by_id(struct kernfs_root *root, in kernfs_get_node_by_id() 229 struct dentry *root; in kernfs_fill_super() local 310 struct kernfs_root *root, unsigned long magic, in kernfs_mount_ns() 388 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns) in kernfs_pin_sb()
|
| /fs/nilfs2/ |
| D | inode.c | 44 struct nilfs_root *root; member 52 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_add_blocks() local 61 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_inode_sub_blocks() local 330 struct nilfs_root *root, in nilfs_insert_inode_locked() 346 struct nilfs_root *root; in nilfs_new_inode() local 483 struct nilfs_root *root, unsigned long ino, in __nilfs_read_inode() 569 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root, in nilfs_ilookup() 579 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root, in nilfs_iget_locked() 589 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root, in nilfs_iget() 865 struct nilfs_root *root = NILFS_I(inode)->i_root; in nilfs_permission() local
|
| /fs/cachefiles/ |
| D | security.c | 54 struct dentry *root) in cachefiles_check_cache_dir() 80 struct dentry *root, in cachefiles_determine_cache_security()
|