| /fs/btrfs/ |
| D | transaction.c | 132 struct btrfs_root *root, *tmp; in switch_commit_roots() local 187 static noinline int join_transaction(struct btrfs_root *root, unsigned int type) in join_transaction() 314 struct btrfs_root *root, in record_root_in_trans() 373 struct btrfs_root *root) in btrfs_add_dropped_root() 391 struct btrfs_root *root) in btrfs_record_root_in_trans() 423 static void wait_current_trans(struct btrfs_root *root) in wait_current_trans() 442 static int may_wait_transaction(struct btrfs_root *root, int type) in may_wait_transaction() 457 static inline bool need_reserve_reloc_root(struct btrfs_root *root) in need_reserve_reloc_root() 469 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() 604 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() [all …]
|
| D | delayed-inode.c | 51 struct btrfs_root *root, u64 inode_id) in btrfs_init_delayed_node() 76 struct btrfs_root *root) in btrfs_get_delayed_root() 84 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local 120 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() local 163 static void btrfs_queue_delayed_node(struct btrfs_delayed_root *root, in btrfs_queue_delayed_node() 184 static void btrfs_dequeue_delayed_node(struct btrfs_delayed_root *root, in btrfs_dequeue_delayed_node() 265 struct btrfs_root *root = delayed_node->root; in __btrfs_release_delayed_node() local 334 struct rb_root *root, in __btrfs_lookup_delayed_item() 398 struct rb_root *root; in __btrfs_add_delayed_item() local 469 struct rb_root *root; in __btrfs_remove_delayed_item() local [all …]
|
| D | extent-tree.c | 226 static int add_excluded_extent(struct btrfs_root *root, in add_excluded_extent() 237 static void free_excluded_extents(struct btrfs_root *root, in free_excluded_extents() 251 static int exclude_super_stripes(struct btrfs_root *root, in exclude_super_stripes() 332 static void fragment_free_space(struct btrfs_root *root, in fragment_free_space() 781 int btrfs_lookup_data_extent(struct btrfs_root *root, u64 start, u64 len) in btrfs_lookup_data_extent() 810 struct btrfs_root *root, u64 bytenr, in btrfs_lookup_extent_info() 1047 struct btrfs_root *root, in convert_extent_item_v0() 1163 struct btrfs_root *root, in lookup_extent_data_ref() 1250 struct btrfs_root *root, in insert_extent_data_ref() 1329 struct btrfs_root *root, in remove_extent_data_ref() [all …]
|
| D | inode-map.c | 31 struct btrfs_root *root = data; in caching_kthread() local 137 static void start_caching(struct btrfs_root *root) in start_caching() 187 int btrfs_find_free_ino(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_ino() 211 void btrfs_return_ino(struct btrfs_root *root, u64 objectid) in btrfs_return_ino() 247 void btrfs_unpin_free_ino(struct btrfs_root *root) in btrfs_unpin_free_ino() 367 void btrfs_init_free_ino_ctl(struct btrfs_root *root) in btrfs_init_free_ino_ctl() 395 int btrfs_save_ino_cache(struct btrfs_root *root, in btrfs_save_ino_cache() 520 int btrfs_find_highest_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_highest_objectid() 555 int btrfs_find_free_objectid(struct btrfs_root *root, u64 *objectid) in btrfs_find_free_objectid()
|
| D | disk-io.c | 443 static int btree_read_extent_buffer_pages(struct btrfs_root *root, in btree_read_extent_buffer_pages() 548 #define CORRUPT(reason, eb, root, slot) \ argument 554 static noinline int check_leaf(struct btrfs_root *root, in check_leaf() 651 static int check_node(struct btrfs_root *root, struct extent_buffer *node) in check_node() 694 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() local 965 struct btrfs_root *root; in btree_csum_one_bio() local 1164 void readahead_tree_block(struct btrfs_root *root, u64 bytenr) in readahead_tree_block() 1177 int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, in reada_tree_block_flagged() 1215 struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, in btrfs_find_create_tree_block() 1237 struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, in read_tree_block() [all …]
|
| D | ioctl.c | 220 struct btrfs_root *root = ip->root; in btrfs_ioctl_setflags() local 445 struct btrfs_root *root = BTRFS_I(dir)->root; in create_subvol() local 643 static void btrfs_wait_for_no_snapshoting_writes(struct btrfs_root *root) in btrfs_wait_for_no_snapshoting_writes() 660 static int create_snapshot(struct btrfs_root *root, struct inode *dir, in create_snapshot() 935 static int find_new_extents(struct btrfs_root *root, in find_new_extents() 1271 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_defrag_file() local 1491 struct btrfs_root *root = BTRFS_I(file_inode(file))->root; in btrfs_ioctl_resize() local 1777 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_getflags() local 1799 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_subvol_setflags() local 1886 static noinline int may_destroy_subvol(struct btrfs_root *root) in may_destroy_subvol() [all …]
|
| D | dir-item.c | 34 struct btrfs_root *root, in insert_with_overflow() 69 struct btrfs_root *root, in btrfs_insert_xattr_item() 120 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_dir_item() 192 struct btrfs_root *root, in btrfs_lookup_dir_item() 216 int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir, in btrfs_check_dir_item_collision() 285 struct btrfs_root *root, in btrfs_lookup_dir_index_item() 308 btrfs_search_dir_index_item(struct btrfs_root *root, in btrfs_search_dir_index_item() 355 struct btrfs_root *root, in btrfs_lookup_xattr() 382 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, in btrfs_match_dir_item_name() 421 struct btrfs_root *root, in btrfs_delete_one_dir_name() [all …]
|
| D | inode.c | 67 struct btrfs_root *root; member 146 struct btrfs_root *root, struct inode *inode, in insert_inline_extent() 247 static noinline int cow_file_range_inline(struct btrfs_root *root, in cow_file_range_inline() 345 struct btrfs_root *root; member 376 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_need_compress() local 414 struct btrfs_root *root = BTRFS_I(inode)->root; in compress_file_range() local 692 struct btrfs_root *root = BTRFS_I(inode)->root; in submit_compressed_extents() local 945 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range() local 1125 struct btrfs_root *root; in async_cow_submit() local 1160 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range_async() local [all …]
|
| D | ctree.c | 147 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node() 175 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node() 194 static struct extent_buffer *btrfs_read_lock_root_node(struct btrfs_root *root) in btrfs_read_lock_root_node() 213 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list() 238 struct btrfs_root *root, in btrfs_copy_root() 939 tree_mod_log_set_root_pointer(struct btrfs_root *root, in tree_mod_log_set_root_pointer() 952 int btrfs_block_can_be_shared(struct btrfs_root *root, in btrfs_block_can_be_shared() 976 struct btrfs_root *root, in update_ref_for_cow() 1092 struct btrfs_root *root, in __btrfs_cow_block() 1404 get_old_root(struct btrfs_root *root, u64 time_seq) in get_old_root() [all …]
|
| D | tree-log.c | 144 struct btrfs_root *root, in start_log_trans() 197 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans() 219 int btrfs_pin_log_trans(struct btrfs_root *root) in btrfs_pin_log_trans() 233 void btrfs_end_log_trans(struct btrfs_root *root) in btrfs_end_log_trans() 339 struct btrfs_root *root, in overwrite_item() 550 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode() 582 struct btrfs_root *root, in replay_one_extent() 841 struct btrfs_root *root, in drop_one_dir_item() 890 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir() 987 struct btrfs_root *root, in __add_inode_ref() [all …]
|
| D | file-item.c | 42 struct btrfs_root *root, in btrfs_insert_file_extent() 89 struct btrfs_root *root, in btrfs_lookup_csum() 141 struct btrfs_root *root, in btrfs_lookup_file_extent() 162 static int __btrfs_lookup_bio_sums(struct btrfs_root *root, in __btrfs_lookup_bio_sums() 315 int btrfs_lookup_bio_sums(struct btrfs_root *root, struct inode *inode, in btrfs_lookup_bio_sums() 321 int btrfs_lookup_bio_sums_dio(struct btrfs_root *root, struct inode *inode, in btrfs_lookup_bio_sums_dio() 327 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end, in btrfs_lookup_csums_range() 446 int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode, in btrfs_csum_one_bio() 553 static noinline void truncate_one_csum(struct btrfs_root *root, in truncate_one_csum() 604 struct btrfs_root *root, u64 bytenr, u64 len) in btrfs_del_csums() [all …]
|
| D | relocation.c | 61 struct btrfs_root *root; member 290 static struct rb_node *tree_insert(struct rb_root *root, u64 bytenr, in tree_insert() 314 static struct rb_node *tree_search(struct rb_root *root, u64 bytenr) in tree_search() 529 static int should_ignore_root(struct btrfs_root *root) in should_ignore_root() 559 struct btrfs_root *root = NULL; in find_reloc_root() local 607 struct btrfs_root *root; in find_tree_root() local 690 struct btrfs_root *root; local 1289 static int __must_check __add_reloc_root(struct btrfs_root *root) 1322 static void __del_reloc_root(struct btrfs_root *root) 1351 static int __update_reloc_root(struct btrfs_root *root, u64 new_bytenr) [all …]
|
| D | root-tree.c | 77 int btrfs_find_root(struct btrfs_root *root, 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() 209 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() 225 struct btrfs_root *root; in btrfs_find_orphan_roots() local 339 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_root() 499 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() 402 struct btrfs_root *root, in btrfs_insert_empty_inode() 416 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
| D | file.c | 63 u64 root; member 99 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_add_inode_defrag() local 133 static inline int __need_auto_defrag(struct btrfs_root *root) in __need_auto_defrag() 151 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_add_inode_defrag() local 200 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_requeue_inode_defrag() local 225 btrfs_pick_defrag_inode(struct btrfs_fs_info *fs_info, u64 root, u64 ino) in btrfs_pick_defrag_inode() 488 int btrfs_dirty_pages(struct btrfs_root *root, struct inode *inode, in btrfs_dirty_pages() 692 struct btrfs_root *root, struct inode *inode, in __btrfs_drop_extents() 1018 struct btrfs_root *root, struct inode *inode, u64 start, in btrfs_drop_extents() 1076 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_mark_extent_written() local [all …]
|
| D | volumes.c | 1183 struct btrfs_root *root = device->dev_root; in btrfs_account_dev_extents_size() local 1343 struct btrfs_root *root = device->dev_root; in find_free_dev_extent_start() local 1514 struct btrfs_root *root = device->dev_root; in btrfs_free_dev_extent() local 1573 struct btrfs_root *root = device->dev_root; in btrfs_alloc_dev_extent() local 1671 struct btrfs_root *root, in btrfs_add_device() 1741 static int btrfs_rm_dev_item(struct btrfs_root *root, in btrfs_rm_dev_item() 1857 int btrfs_rm_device(struct btrfs_root *root, char *device_path, u64 devid) in btrfs_rm_device() 2096 static int btrfs_find_device_by_path(struct btrfs_root *root, char *device_path, in btrfs_find_device_by_path() 2123 int btrfs_find_device_missing_or_by_path(struct btrfs_root *root, in btrfs_find_device_missing_or_by_path() 2156 int btrfs_find_device_by_devspec(struct btrfs_root *root, u64 devid, in btrfs_find_device_by_devspec() [all …]
|
| 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() 179 struct btrfs_root *root = fs_info->free_space_root; in convert_free_space_to_bitmaps() local 317 struct btrfs_root *root = fs_info->free_space_root; in convert_free_space_to_extents() local 566 struct btrfs_root *root, struct btrfs_path *p) in free_space_next_bitmap() 596 struct btrfs_root *root = fs_info->free_space_root; in modify_free_space_bitmap() local 710 struct btrfs_root *root = fs_info->free_space_root; in remove_free_space_extent() local 865 struct btrfs_root *root = fs_info->free_space_root; in add_free_space_extent() local 1204 struct btrfs_root *root) in clear_free_space_tree() [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() 275 struct btrfs_root *root = BTRFS_I(inode)->root; in inode_prop_iterator() local 290 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_load_inode_props() local 303 struct btrfs_root *root = BTRFS_I(inode)->root; in inherit_props() local 350 struct btrfs_root *root, in btrfs_subvol_inherit_props()
|
| /fs/nfs/blocklayout/ |
| D | extent_tree.c | 18 ext_tree_first(struct rb_root *root) in ext_tree_first() 45 __ext_tree_search(struct rb_root *root, sector_t start) in __ext_tree_search() 94 ext_try_to_merge_left(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_left() 110 ext_try_to_merge_right(struct rb_root *root, struct pnfs_block_extent *be) in ext_try_to_merge_right() 135 __ext_tree_insert(struct rb_root *root, in __ext_tree_insert() 176 __ext_tree_remove(struct rb_root *root, in __ext_tree_remove() 257 struct rb_root *root; in ext_tree_insert() local 321 __ext_tree_lookup(struct rb_root *root, sector_t isect, in __ext_tree_lookup() 379 ext_tree_split(struct rb_root *root, struct pnfs_block_extent *be, in ext_tree_split() 407 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 843 struct btrfs_root *root = NULL; in test_hole_first() local 944 struct btrfs_root *root = NULL; in test_extent_accounting() local
|
| /fs/kernfs/ |
| D | mount.c | 26 struct kernfs_root *root = kernfs_info(sb)->root; in kernfs_sop_remount_fs() local 36 struct kernfs_root *root = kernfs_root(dentry->d_fsdata); in kernfs_sop_show_options() local 47 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path() local 152 struct dentry *root; in kernfs_fill_super() local 233 struct kernfs_root *root, unsigned long magic, in kernfs_mount_ns() 313 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()
|