/fs/btrfs/ |
D | transaction.c | 47 static noinline int join_transaction(struct btrfs_root *root) in join_transaction() 90 noinline int btrfs_record_root_in_trans(struct btrfs_root *root) in btrfs_record_root_in_trans() 136 static void wait_current_trans(struct btrfs_root *root) in wait_current_trans() 163 static struct btrfs_trans_handle *start_transaction(struct btrfs_root *root, in start_transaction() 190 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root, in btrfs_start_transaction() 195 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root, in btrfs_join_transaction() 208 static noinline int wait_for_commit(struct btrfs_root *root, in wait_for_commit() 231 static void throttle_on_drops(struct btrfs_root *root) in throttle_on_drops() 268 void btrfs_throttle(struct btrfs_root *root) in btrfs_throttle() 279 struct btrfs_root *root, int throttle) in __btrfs_end_transaction() [all …]
|
D | ref-cache.c | 35 struct btrfs_leaf_ref *btrfs_alloc_leaf_ref(struct btrfs_root *root, in btrfs_alloc_leaf_ref() 58 void btrfs_free_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref) in btrfs_free_leaf_ref() 75 static struct rb_node *tree_insert(struct rb_root *root, u64 bytenr, in tree_insert() 100 static struct rb_node *tree_search(struct rb_root *root, u64 bytenr) in tree_search() 119 int btrfs_remove_leaf_refs(struct btrfs_root *root, u64 max_root_gen, in btrfs_remove_leaf_refs() 157 struct btrfs_leaf_ref *btrfs_lookup_leaf_ref(struct btrfs_root *root, in btrfs_lookup_leaf_ref() 186 int btrfs_add_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref, in btrfs_add_leaf_ref() 214 int btrfs_remove_leaf_ref(struct btrfs_root *root, struct btrfs_leaf_ref *ref) in btrfs_remove_leaf_ref()
|
D | ctree.c | 112 noinline void btrfs_release_path(struct btrfs_root *root, struct btrfs_path *p) in btrfs_release_path() 139 struct extent_buffer *btrfs_root_node(struct btrfs_root *root) in btrfs_root_node() 153 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root) in btrfs_lock_root_node() 178 static void add_root_to_dirty_list(struct btrfs_root *root) in add_root_to_dirty_list() 192 struct btrfs_root *root, in btrfs_copy_root() 263 struct btrfs_root *root, in __btrfs_cow_block() 414 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_cow_block() 518 struct btrfs_root *root, struct extent_buffer *parent, in btrfs_realloc_node() 645 static inline unsigned int leaf_data_end(struct btrfs_root *root, in leaf_data_end() 658 static int check_node(struct btrfs_root *root, struct btrfs_path *path, in check_node() [all …]
|
D | extent-tree.c | 194 static int remove_sb_from_cache(struct btrfs_root *root, in remove_sb_from_cache() 217 static int cache_block_group(struct btrfs_root *root, in cache_block_group() 370 u64 btrfs_find_block_group(struct btrfs_root *root, in btrfs_find_block_group() 420 int btrfs_lookup_extent(struct btrfs_root *root, u64 start, u64 len) in btrfs_lookup_extent() 517 struct btrfs_root *root, in lookup_extent_backref() 808 struct btrfs_root *root, in insert_extent_backref() 867 struct btrfs_root *root, in remove_extent_backref() 898 static int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr, in btrfs_discard_extent() 1176 struct btrfs_root *root, u64 bytenr, in __btrfs_update_extent_ref() 1254 struct btrfs_root *root, u64 bytenr, in btrfs_update_extent_ref() [all …]
|
D | tree-log.c | 86 struct btrfs_root *root) in start_log_trans() 118 static int join_running_log_trans(struct btrfs_root *root) in join_running_log_trans() 139 static int end_log_trans(struct btrfs_root *root) in end_log_trans() 233 struct btrfs_root *root, in overwrite_item() 370 static noinline struct inode *read_one_inode(struct btrfs_root *root, in read_one_inode() 404 struct btrfs_root *root, in replay_one_extent() 581 struct btrfs_root *root, in drop_one_dir_item() 619 static noinline int inode_in_dir(struct btrfs_root *root, in inode_in_dir() 710 struct btrfs_root *root, in add_inode_ref() 876 struct btrfs_root *root, in fixup_inode_link_count() [all …]
|
D | ioctl.c | 55 static noinline int create_subvol(struct btrfs_root *root, in create_subvol() 194 static int create_snapshot(struct btrfs_root *root, struct dentry *dentry, in create_snapshot() 365 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_defrag_file() local 444 static int btrfs_ioctl_resize(struct btrfs_root *root, void __user *arg) in btrfs_ioctl_resize() 556 struct btrfs_root *root = BTRFS_I(fdentry(file)->d_inode)->root; in btrfs_ioctl_snap_create() local 641 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_defrag() local 670 static long btrfs_ioctl_add_dev(struct btrfs_root *root, void __user *arg) in btrfs_ioctl_add_dev() 695 static long btrfs_ioctl_rm_dev(struct btrfs_root *root, void __user *arg) in btrfs_ioctl_rm_dev() 727 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_clone() local 1035 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_ioctl_trans_start() local [all …]
|
D | disk-io.c | 172 u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len) in btrfs_csum_data() 186 static int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf, in csum_tree_block() 286 static int btree_read_extent_buffer_pages(struct btrfs_root *root, in btree_read_extent_buffer_pages() 320 static int csum_dirty_buffer(struct btrfs_root *root, struct page *page) in csum_dirty_buffer() 365 static int check_tree_block_fsid(struct btrfs_root *root, in check_tree_block_fsid() 401 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() local 607 struct btrfs_root *root; in btree_csum_one_bio() local 780 int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize, in readahead_tree_block() 796 struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root, in btrfs_find_tree_block() 806 struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, in btrfs_find_create_tree_block() [all …]
|
D | inode.c | 57 struct btrfs_root *root; member 110 struct btrfs_root *root, struct inode *inode, in insert_inline_extent() 208 struct btrfs_root *root, in cow_file_range_inline() 260 struct btrfs_root *root; member 308 struct btrfs_root *root = BTRFS_I(inode)->root; in compress_file_range() local 536 struct btrfs_root *root = BTRFS_I(inode)->root; in submit_compressed_extents() local 684 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range() local 820 struct btrfs_root *root; in async_cow_submit() local 852 struct btrfs_root *root = BTRFS_I(inode)->root; in cow_file_range_async() local 911 static noinline int csum_exist_in_range(struct btrfs_root *root, in csum_exist_in_range() [all …]
|
D | super.c | 59 struct btrfs_root *root = btrfs_sb(sb); in btrfs_put_super() local 118 int btrfs_parse_options(struct btrfs_root *root, char *options) in btrfs_parse_options() 366 struct btrfs_root *root; in btrfs_sync_fs() local 396 struct btrfs_root *root = btrfs_sb(s); in btrfs_test_super() local 413 struct dentry *root; in btrfs_get_sb() local 510 struct btrfs_root *root = btrfs_sb(sb); in btrfs_remount() local 546 struct btrfs_root *root = btrfs_sb(dentry->d_sb); in btrfs_statfs() local 614 struct btrfs_root *root = btrfs_sb(sb); in btrfs_freeze() local 622 struct btrfs_root *root = btrfs_sb(sb); in btrfs_unfreeze() local
|
D | dir-item.c | 34 struct btrfs_root *root, in insert_with_overflow() 71 struct btrfs_root *root, const char *name, in btrfs_insert_xattr_item() 131 int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_dir_item() 212 struct btrfs_root *root, in btrfs_lookup_dir_item() 259 struct btrfs_root *root, in btrfs_lookup_dir_index_item() 282 struct btrfs_root *root, in btrfs_lookup_xattr() 322 struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, in btrfs_match_dir_item_name() 358 struct btrfs_root *root, in btrfs_delete_one_dir_name()
|
D | sysfs.c | 31 static ssize_t root_blocks_used_show(struct btrfs_root *root, char *buf) in root_blocks_used_show() 37 static ssize_t root_block_limit_show(struct btrfs_root *root, char *buf) in root_block_limit_show() 132 struct btrfs_root *root = container_of(kobj, struct btrfs_root, in btrfs_root_attr_show() local 145 struct btrfs_root *root = container_of(kobj, struct btrfs_root, in btrfs_root_attr_store() local 162 struct btrfs_root *root = container_of(kobj, struct btrfs_root, in btrfs_root_release() local 228 int btrfs_sysfs_add_root(struct btrfs_root *root) in btrfs_sysfs_add_root() 245 void btrfs_sysfs_del_root(struct btrfs_root *root) in btrfs_sysfs_del_root()
|
D | root-tree.c | 30 int btrfs_search_root(struct btrfs_root *root, u64 search_start, in btrfs_search_root() 76 int btrfs_find_last_root(struct btrfs_root *root, u64 objectid, in btrfs_find_last_root() 117 int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_update_root() 152 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_insert_root() 167 int btrfs_find_dead_roots(struct btrfs_root *root, u64 objectid, in btrfs_find_dead_roots() 248 int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_del_root()
|
D | volumes.c | 65 static void lock_chunks(struct btrfs_root *root) in lock_chunks() 70 static void unlock_chunks(struct btrfs_root *root) in unlock_chunks() 598 struct btrfs_root *root = device->dev_root; in find_free_dev_extent() local 717 struct btrfs_root *root = device->dev_root; in btrfs_free_dev_extent() local 766 struct btrfs_root *root = device->dev_root; in btrfs_alloc_dev_extent() local 800 static noinline int find_next_chunk(struct btrfs_root *root, in find_next_chunk() 843 static noinline int find_next_devid(struct btrfs_root *root, u64 *objectid) in find_next_devid() 886 struct btrfs_root *root, in btrfs_add_device() 939 static int btrfs_rm_dev_item(struct btrfs_root *root, in btrfs_rm_dev_item() 978 int btrfs_rm_device(struct btrfs_root *root, char *device_path) in btrfs_rm_device() [all …]
|
D | file-item.c | 37 struct btrfs_root *root, in btrfs_insert_file_extent() 81 struct btrfs_root *root, in btrfs_lookup_csum() 133 struct btrfs_root *root, in btrfs_lookup_file_extent() 150 int btrfs_lookup_bio_sums(struct btrfs_root *root, struct inode *inode, in btrfs_lookup_bio_sums() 246 int btrfs_lookup_csums_range(struct btrfs_root *root, u64 start, u64 end, in btrfs_lookup_csums_range() 354 int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode, in btrfs_csum_one_bio() 448 struct btrfs_root *root, in truncate_one_csum() 505 struct btrfs_root *root, u64 bytenr, u64 len) in btrfs_del_csums() 614 struct btrfs_root *root, in btrfs_csum_file_blocks()
|
D | inode-item.c | 53 struct btrfs_root *root, in btrfs_del_inode_ref() 111 struct btrfs_root *root, in btrfs_insert_inode_ref() 166 struct btrfs_root *root, in btrfs_insert_empty_inode() 182 int btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root in btrfs_lookup_inode()
|
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 | inode-map.c | 23 int btrfs_find_highest_inode(struct btrfs_root *root, u64 *objectid) in btrfs_find_highest_inode() 60 struct btrfs_root *root, in btrfs_find_free_objectid()
|
D | free-space-cache.c | 22 static int tree_insert_offset(struct rb_root *root, u64 offset, in tree_insert_offset() 47 static int tree_insert_bytes(struct rb_root *root, u64 bytes, in tree_insert_bytes() 76 static struct btrfs_free_space *tree_search_offset(struct rb_root *root, in tree_search_offset() 115 static struct btrfs_free_space *tree_search_bytes(struct rb_root *root, in tree_search_bytes()
|
D | file.c | 106 struct btrfs_root *root, in dirty_and_release_pages() 275 int btrfs_check_file(struct btrfs_root *root, struct inode *inode) in btrfs_check_file() 365 struct btrfs_root *root, struct inode *inode, in btrfs_drop_extents() 728 struct btrfs_root *root, in btrfs_mark_extent_written() 941 static noinline int prepare_pages(struct btrfs_root *root, struct file *file, in prepare_pages() 1018 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_file_write() local 1207 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_sync_file() local
|
D | extent_map.c | 88 static struct rb_node *tree_insert(struct rb_root *root, u64 offset, in tree_insert() 120 static struct rb_node *__tree_search(struct rb_root *root, u64 offset, in __tree_search() 170 static inline struct rb_node *tree_search(struct rb_root *root, u64 offset) in tree_search()
|
D | xattr.c | 36 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_getxattr() local 92 struct btrfs_root *root = BTRFS_I(inode)->root; in __btrfs_setxattr() local 162 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_listxattr() local
|
D | print-tree.c | 48 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l) in btrfs_print_leaf() 175 void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *c) in btrfs_print_tree()
|
D | compression.c | 83 static inline int compressed_bio_size(struct btrfs_root *root, in compressed_bio_size() 119 struct btrfs_root *root = BTRFS_I(inode)->root; in check_compressed_csum() local 343 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_submit_compressed_write() local 578 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_submit_compressed_read() local
|
/fs/ |
D | pnode.c | 37 const struct path *root) in is_path_reachable() 48 const struct path *root) in get_peer_under_root() 69 int get_dominating_id(struct vfsmount *mnt, const struct path *root) in get_dominating_id()
|
/fs/autofs4/ |
D | expire.c | 96 static struct dentry *next_dentry(struct dentry *p, struct dentry *root) in next_dentry() 264 struct dentry *root = dget(sb->s_root); in autofs4_expire_direct() local 303 struct dentry *root = sb->s_root; in autofs4_expire_indirect() local
|