/fs/ext4/ |
D | ext4_jbd2.h | 178 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() 200 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del() 249 #define ext4_journal_get_write_access(handle, bh) \ argument 251 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument 254 #define ext4_journal_get_create_access(handle, bh) \ argument 256 #define ext4_handle_dirty_metadata(handle, inode, bh) \ argument 259 #define ext4_handle_dirty_super(handle, sb) \ argument 270 static inline int ext4_handle_valid(handle_t *handle) in ext4_handle_valid() 277 static inline void ext4_handle_sync(handle_t *handle) in ext4_handle_sync() 283 static inline int ext4_handle_is_aborted(handle_t *handle) in ext4_handle_is_aborted() [all …]
|
D | ext4_jbd2.c | 12 handle_t *handle = current->journal_info; in ext4_get_nojournal() local 26 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() 80 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop() 107 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved() 134 handle_t *handle, int err) in ext4_journal_abort_handle() 157 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access() 184 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, in __ext4_forget() 240 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access() 254 handle_t *handle, struct inode *inode, in __ext4_handle_dirty_metadata() 313 handle_t *handle, struct super_block *sb) in __ext4_handle_dirty_super()
|
D | migrate.c | 28 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() 92 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range() 117 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() 146 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range() 176 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range() 206 static int extend_credit_for_blkdel(handle_t *handle, struct inode *inode) in extend_credit_for_blkdel() 226 static int free_dind_blocks(handle_t *handle, in free_dind_blocks() 256 static int free_tind_blocks(handle_t *handle, in free_tind_blocks() 287 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block() 316 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data() [all …]
|
D | inode.c | 164 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans() 190 handle_t *handle; in ext4_evict_inode() local 399 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck() 467 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks() 717 handle_t *handle = ext4_journal_current_handle(); in _ext4_get_block() local 778 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk() 835 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread() 853 int ext4_walk_page_buffers(handle_t *handle, in ext4_walk_page_buffers() 858 int (*fn)(handle_t *handle, in ext4_walk_page_buffers() 908 int do_journal_get_write_access(handle_t *handle, in do_journal_get_write_access() [all …]
|
D | inline.c | 247 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data() 311 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data() 377 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data() 401 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock() 541 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent() local 662 handle_t *handle; in ext4_try_to_write_inline_data() local 882 handle_t *handle; in ext4_da_write_inline_data_begin() local 1031 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline() 1114 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir() 1136 static void ext4_restore_inline_data(handle_t *handle, struct inode *inode, in ext4_restore_inline_data() [all …]
|
D | namei.c | 50 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append() 382 int ext4_handle_dirty_dirent_node(handle_t *handle, in ext4_handle_dirty_dirent_node() 492 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node() 1688 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split() 1876 static int add_dirent_to_buf(handle_t *handle, struct ext4_filename *fname, in add_dirent_to_buf() 1933 static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, in make_indexed_dir() 2062 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry() 2164 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, in ext4_dx_add_entry() 2308 int ext4_generic_delete_entry(handle_t *handle, in ext4_generic_delete_entry() 2347 static int ext4_delete_entry(handle_t *handle, in ext4_delete_entry() [all …]
|
D | extents.c | 115 static int ext4_ext_truncate_extend_restart(handle_t *handle, in ext4_ext_truncate_extend_restart() 140 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access() 159 int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, in __ext4_ext_dirty() 227 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block() 294 ext4_force_split_extent_at(handle_t *handle, struct inode *inode, in ext4_force_split_extent_at() 859 int ext4_ext_tree_init(handle_t *handle, struct inode *inode) in ext4_ext_tree_init() 970 static int ext4_ext_insert_index(handle_t *handle, struct inode *inode, in ext4_ext_insert_index() 1046 static int ext4_ext_split(handle_t *handle, struct inode *inode, in ext4_ext_split() 1299 static int ext4_ext_grow_indepth(handle_t *handle, struct inode *inode, in ext4_ext_grow_indepth() 1384 static int ext4_ext_create_new_leaf(handle_t *handle, struct inode *inode, in ext4_ext_create_new_leaf() [all …]
|
D | indirect.c | 322 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch() 412 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch() 514 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks() 653 handle_t *handle; in ext4_ind_direct_IO() local 815 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction() 934 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks() 1007 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data() 1092 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches() 1203 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate() 1315 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
|
D | resize.c | 382 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean() 408 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction() 436 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap() 513 handle_t *handle; in setup_new_flex_group_blocks() local 778 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb() 912 handle_t *handle, ext4_group_t group) { in add_new_gdb_meta_bg() 969 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb() 1090 handle_t *handle; in update_backups() local 1189 static int ext4_add_new_descs(handle_t *handle, struct super_block *sb, in ext4_add_new_descs() 1276 static int ext4_setup_new_descs(handle_t *handle, struct super_block *sb, in ext4_setup_new_descs() [all …]
|
D | acl.c | 187 __ext4_set_acl(handle_t *handle, struct inode *inode, int type, in __ext4_set_acl() 228 handle_t *handle; in ext4_set_acl() local 266 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
|
D | ioctl.c | 96 handle_t *handle; in swap_inode_boot_loader() local 220 handle_t *handle = NULL; in ext4_ioctl() local 330 handle_t *handle; in ext4_ioctl() local 662 handle_t *handle; in ext4_ioctl() local
|
D | xattr.c | 543 static void ext4_xattr_update_super_block(handle_t *handle, in ext4_xattr_update_super_block() 561 ext4_xattr_release_block(handle_t *handle, struct inode *inode, in ext4_xattr_release_block() 800 ext4_xattr_block_set(handle_t *handle, struct inode *inode, in ext4_xattr_block_set() 1060 int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode, in ext4_xattr_ibody_inline_set() 1084 static int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode, in ext4_xattr_ibody_set() 1121 ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext4_xattr_set_handle() 1238 handle_t *handle; in ext4_xattr_set() local 1292 struct ext4_inode *raw_inode, handle_t *handle) in ext4_expand_extra_isize_ea() 1540 ext4_xattr_delete_inode(handle_t *handle, struct inode *inode) in ext4_xattr_delete_inode()
|
D | xattr_security.c | 58 handle_t *handle = fs_info; in ext4_initxattrs() local 73 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, in ext4_init_security()
|
/fs/jbd2/ |
D | transaction.c | 271 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() 395 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() local 430 handle_t *handle = journal_current_handle(); in jbd2__journal_start() local 481 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved() 503 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved() 560 int jbd2_journal_extend(handle_t *handle, int nblocks) in jbd2_journal_extend() 635 int jbd2__journal_restart(handle_t *handle, int nblocks, gfp_t gfp_mask) in jbd2__journal_restart() 684 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart() 812 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access() 1013 static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh, in jbd2_write_access_granted() [all …]
|
/fs/ |
D | fhandle.c | 22 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 92 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument 138 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path() 171 struct file_handle *handle = NULL; in handle_to_path() local 255 SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd, in SYSCALL_DEFINE3() argument
|
/fs/ocfs2/ |
D | suballoc.c | 358 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill() 435 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig() 480 handle_t *handle, in ocfs2_block_group_claim_bits() 499 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig() 561 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup() 592 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig() 680 handle_t *handle = NULL; in ocfs2_block_group_alloc() local 1325 int ocfs2_block_group_set_bits(handle_t *handle, in ocfs2_block_group_set_bits() 1391 static int ocfs2_relink_block_group(handle_t *handle, in ocfs2_relink_block_group() 1568 handle_t *handle, in ocfs2_alloc_dinode_update_counts() [all …]
|
D | alloc.c | 529 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access() 726 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access() 747 handle_t *handle, in ocfs2_journal_access_path() 995 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs() 1102 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch() 1155 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch() 1338 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth() 1505 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree() 2022 static void ocfs2_complete_edge_insert(handle_t *handle, in ocfs2_complete_edge_insert() 2093 static int ocfs2_rotate_subtree_right(handle_t *handle, in ocfs2_rotate_subtree_right() [all …]
|
D | namei.c | 244 handle_t *handle = NULL; in ocfs2_mknod() local 509 handle_t *handle, in __ocfs2_mknod_locked() 622 handle_t *handle, in ocfs2_mknod_locked() 688 handle_t *handle; in ocfs2_link() local 890 handle_t *handle = NULL; in ocfs2_unlink() local 1219 handle_t *handle = NULL; in ocfs2_rename() local 1692 handle_t *handle, in ocfs2_create_symlink_data() 1802 handle_t *handle = NULL; in ocfs2_symlink() local 2220 handle_t *handle, in ocfs2_orphan_add() 2322 handle_t *handle, in ocfs2_orphan_del() [all …]
|
D | journal.c | 351 handle_t *handle; in ocfs2_start_trans() local 389 handle_t *handle) in ocfs2_commit_trans() 426 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans() 471 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() 648 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access() 725 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di() 731 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb() 737 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb() 744 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd() 750 int ocfs2_journal_access_db(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_db() [all …]
|
D | quota_global.c | 224 handle_t *handle = journal_current_handle(); in ocfs2_quota_write() local 593 handle_t *handle; in ocfs2_sync_dquot_helper() local 648 handle_t *handle; in ocfs2_write_dquot() local 706 handle_t *handle; in ocfs2_release_dquot() local 788 handle_t *handle; in ocfs2_acquire_dquot() local 876 handle_t *handle; in ocfs2_mark_dquot_dirty() local 925 handle_t *handle; in ocfs2_write_info() local
|
D | localalloc.c | 386 handle_t *handle; in ocfs2_shutdown_local_alloc() local 568 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local 733 handle_t *handle, in ocfs2_claim_local_alloc_bits() 789 handle_t *handle, in ocfs2_free_local_alloc_bits() 968 handle_t *handle, in ocfs2_sync_local_to_main() 1167 handle_t *handle, in ocfs2_local_alloc_new_window() 1260 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
|
D | dir.c | 170 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer() 1106 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry() 1144 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry() 1248 static int ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir, in ocfs2_delete_entry_dx() 1364 static inline int ocfs2_delete_entry_id(handle_t *handle, in ocfs2_delete_entry_id() 1391 static inline int ocfs2_delete_entry_el(handle_t *handle, in ocfs2_delete_entry_el() 1404 int ocfs2_delete_entry(handle_t *handle, in ocfs2_delete_entry() 1473 static int __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle, in __ocfs2_dx_dir_leaf_insert() 1496 static void ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_inline_root_insert() 1504 static int ocfs2_dx_dir_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_insert() [all …]
|
D | refcounttree.c | 561 handle_t *handle = NULL; in ocfs2_create_refcount_tree() local 703 handle_t *handle = NULL; in ocfs2_set_refcount_tree() local 765 handle_t *handle = NULL; in ocfs2_remove_refcount_tree() local 1241 static int ocfs2_change_refcount_rec(handle_t *handle, in ocfs2_change_refcount_rec() 1282 static int ocfs2_expand_inline_ref_root(handle_t *handle, in ocfs2_expand_inline_ref_root() 1520 static int ocfs2_new_leaf_refcount_block(handle_t *handle, in ocfs2_new_leaf_refcount_block() 1616 static int ocfs2_expand_refcount_tree(handle_t *handle, in ocfs2_expand_refcount_tree() 1658 static int ocfs2_adjust_refcount_rec(handle_t *handle, in ocfs2_adjust_refcount_rec() 1742 static int ocfs2_insert_refcount_rec(handle_t *handle, in ocfs2_insert_refcount_rec() 1830 static int ocfs2_split_refcount_rec(handle_t *handle, in ocfs2_split_refcount_rec() [all …]
|
D | acl.c | 169 handle_t *handle, umode_t new_mode) in ocfs2_acl_set_mode() 224 int ocfs2_set_acl(handle_t *handle, in ocfs2_set_acl() 356 int ocfs2_init_acl(handle_t *handle, in ocfs2_init_acl()
|
D | file.c | 268 handle_t *handle; in ocfs2_update_inode_atime() local 302 int ocfs2_set_inode_size(handle_t *handle, in ocfs2_set_inode_size() 329 handle_t *handle = NULL; in ocfs2_simple_size_update() local 388 handle_t *handle; in ocfs2_orphan_for_truncate() local 552 handle_t *handle, in ocfs2_add_inode_data() 577 handle_t *handle = NULL; in __ocfs2_extend_allocation() local 735 handle_t *handle = NULL; in ocfs2_zero_start_ordered_transaction() local 778 handle_t *handle; in ocfs2_write_zero_page() local 1142 handle_t *handle = NULL; in ocfs2_setattr() local 1342 handle_t *handle; in __ocfs2_write_remove_suid() local [all …]
|