| /Linux-v5.4/fs/ext4/ |
| D | ext4_jbd2.h | 168 static inline void _ext4_journal_callback_add(handle_t *handle, in _ext4_journal_callback_add() 175 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() 198 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del() 213 ext4_mark_iloc_dirty(handle_t *handle, 222 int ext4_reserve_inode_write(handle_t *handle, struct inode *inode, 225 int ext4_mark_inode_dirty(handle_t *handle, struct inode *inode); 234 handle_t *handle, struct buffer_head *bh); 236 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, 241 handle_t *handle, struct buffer_head *bh); 244 handle_t *handle, struct inode *inode, [all …]
|
| D | ext4_jbd2.c | 11 static handle_t *ext4_get_nojournal(void) in ext4_get_nojournal() 13 handle_t *handle = current->journal_info; in ext4_get_nojournal() 19 handle = (handle_t *)ref_cnt; in ext4_get_nojournal() 27 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() 34 handle = (handle_t *)ref_cnt; in ext4_put_nojournal() 67 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb() 85 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop() 112 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved() 139 handle_t *handle, int err) in ext4_journal_abort_handle() 162 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access() [all …]
|
| D | xattr.h | 166 extern int ext4_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_… 173 extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode, 179 struct ext4_inode *raw_inode, handle_t *handle); 188 extern int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode, 196 extern int ext4_init_security(handle_t *handle, struct inode *inode, 199 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security()
|
| D | migrate.c | 21 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() 85 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range() 110 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() 139 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range() 169 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range() 199 static int extend_credit_for_blkdel(handle_t *handle, struct inode *inode) in extend_credit_for_blkdel() 219 static int free_dind_blocks(handle_t *handle, in free_dind_blocks() 249 static int free_tind_blocks(handle_t *handle, in free_tind_blocks() 280 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block() 309 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data() [all …]
|
| D | ext4.h | 207 handle_t *handle; /* handle reserved for extent 2321 extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, 2504 extern struct inode *__ext4_new_inode(handle_t *, struct inode *, umode_t, 2519 extern void ext4_free_inode(handle_t *, struct inode *); 2535 extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, 2541 extern void ext4_free_blocks(handle_t *handle, struct inode *inode, 2548 extern int ext4_group_add_blocks(handle_t *handle, struct super_block *sb, 2555 struct buffer_head *ext4_getblk(handle_t *, struct inode *, ext4_lblk_t, int); 2556 struct buffer_head *ext4_bread(handle_t *, struct inode *, ext4_lblk_t, int); 2567 int ext4_walk_page_buffers(handle_t *handle, [all …]
|
| D | acl.h | 60 extern int ext4_init_acl(handle_t *, struct inode *, struct inode *); 68 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
|
| D | xattr_security.c | 39 handle_t *handle = fs_info; in ext4_initxattrs() 54 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, in ext4_init_security()
|
| D | inode.c | 143 static int ext4_bh_delay_or_unwritten(handle_t *handle, struct buffer_head *bh); 171 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans() 197 handle_t *handle; in ext4_evict_inode() 436 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck() 502 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks() 838 handle_t *handle; in ext4_get_block_trans() 962 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk() 1019 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread() 1081 int ext4_walk_page_buffers(handle_t *handle, in ext4_walk_page_buffers() 1086 int (*fn)(handle_t *handle, in ext4_walk_page_buffers() [all …]
|
| D | namei.c | 53 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append() 292 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, 399 int ext4_handle_dirty_dirblock(handle_t *handle, in ext4_handle_dirty_dirblock() 509 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node() 1810 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split() 1982 static int add_dirent_to_buf(handle_t *handle, struct ext4_filename *fname, in add_dirent_to_buf() 2036 static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, in make_indexed_dir() 2160 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry() 2265 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, in ext4_dx_add_entry() 2440 int ext4_generic_delete_entry(handle_t *handle, in ext4_generic_delete_entry() [all …]
|
| D | inline.c | 249 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data() 313 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data() 379 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data() 403 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock() 530 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent() 652 handle_t *handle; in ext4_try_to_write_inline_data() 866 handle_t *handle; in ext4_da_write_inline_data_begin() 1015 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline() 1096 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir() 1118 static void ext4_restore_inline_data(handle_t *handle, struct inode *inode, in ext4_restore_inline_data() [all …]
|
| D | indirect.c | 321 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch() 407 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch() 509 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks() 704 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction() 823 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks() 898 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data() 983 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches() 1095 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate() 1210 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
|
| /Linux-v5.4/fs/ocfs2/ |
| D | journal.h | 241 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, 244 handle_t *handle); 245 int ocfs2_extend_trans(handle_t *handle, int nblocks); 246 int ocfs2_allocate_extend_trans(handle_t *handle, 275 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, 278 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, 281 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, 284 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, 287 int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci, 290 int ocfs2_journal_access_dq(handle_t *handle, struct ocfs2_caching_info *ci, [all …]
|
| D | suballoc.h | 76 handle_t *handle, 84 int ocfs2_block_group_set_bits(handle_t *handle, 91 int ocfs2_claim_metadata(handle_t *handle, 98 int ocfs2_claim_new_inode(handle_t *handle, 105 int ocfs2_claim_clusters(handle_t *handle, 114 int __ocfs2_claim_clusters(handle_t *handle, 121 int ocfs2_free_suballoc_bits(handle_t *handle, 127 int ocfs2_free_dinode(handle_t *handle, 131 int ocfs2_free_clusters(handle_t *handle, 136 int ocfs2_release_clusters(handle_t *handle, [all …]
|
| D | alloc.h | 83 int ocfs2_insert_extent(handle_t *handle, 96 int ocfs2_add_clusters_in_btree(handle_t *handle, 106 int ocfs2_split_extent(handle_t *handle, 115 handle_t *handle, u32 cpos, u32 len, u32 phys, 118 int ocfs2_change_extent_flag(handle_t *handle, 124 int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et, 173 handle_t *handle, 217 int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle, 261 void ocfs2_map_and_dirty_page(struct inode *inode, handle_t *handle, 298 int ocfs2_path_bh_journal_access(handle_t *handle, [all …]
|
| D | dir.h | 46 int ocfs2_delete_entry(handle_t *handle, 49 int __ocfs2_add_entry(handle_t *handle, 55 static inline int ocfs2_add_entry(handle_t *handle, in ocfs2_add_entry() 65 int ocfs2_update_entry(struct inode *dir, handle_t *handle, 91 handle_t *handle,
|
| D | refcounttree.h | 37 handle_t *handle, u32 cpos, u32 len, 52 handle_t *handle, 79 int ocfs2_duplicate_clusters_by_page(handle_t *handle, 83 int ocfs2_duplicate_clusters_by_jbd(handle_t *handle, 100 int ocfs2_increase_refcount(handle_t *handle,
|
| D | aops.h | 13 handle_t *ocfs2_start_walk_page_trans(struct inode *inode, 24 int walk_page_buffers( handle_t *handle, 29 int (*fn)( handle_t *handle,
|
| D | localalloc.h | 38 handle_t *handle, 45 handle_t *handle,
|
| D | suballoc.c | 69 static int ocfs2_block_group_fill(handle_t *handle, 94 handle_t *handle, 100 static int ocfs2_relink_block_group(handle_t *handle, 342 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill() 419 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig() 464 handle_t *handle, in ocfs2_block_group_claim_bits() 483 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig() 545 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup() 576 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig() 664 handle_t *handle = NULL; in ocfs2_block_group_alloc() [all …]
|
| D | xattr.h | 42 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *, 52 int ocfs2_init_security_set(handle_t *, struct inode *,
|
| D | file.h | 36 handle_t *handle, 40 int ocfs2_set_inode_size(handle_t *handle,
|
| D | journal.c | 335 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) in ocfs2_start_trans() 338 handle_t *handle; in ocfs2_start_trans() 376 handle_t *handle) in ocfs2_commit_trans() 413 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans() 458 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() 635 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access() 712 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di() 718 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb() 724 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb() 731 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd() [all …]
|
| D | alloc.c | 155 static int ocfs2_reuse_blk_from_dealloc(handle_t *handle, 524 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access() 566 static void ocfs2_adjust_rightmost_records(handle_t *handle, 721 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access() 742 handle_t *handle, in ocfs2_journal_access_path() 987 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs() 1094 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch() 1147 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch() 1350 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth() 1525 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree() [all …]
|
| /Linux-v5.4/include/linux/ |
| D | jbd2.h | 90 typedef struct jbd2_journal_handle handle_t; /* Atomic operation type */ typedef 506 handle_t *h_rsv_handle; 1348 static inline handle_t *journal_current_handle(void) in journal_current_handle() 1359 extern handle_t *jbd2_journal_start(journal_t *, int nblocks); 1360 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks, 1363 extern int jbd2_journal_restart(handle_t *, int nblocks); 1364 extern int jbd2__journal_restart(handle_t *, int nblocks, gfp_t gfp_mask); 1365 extern int jbd2_journal_start_reserved(handle_t *handle, 1367 extern void jbd2_journal_free_reserved(handle_t *handle); 1368 extern int jbd2_journal_extend (handle_t *, int nblocks); [all …]
|
| /Linux-v5.4/fs/jbd2/ |
| D | transaction.c | 298 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() 429 static handle_t *new_handle(int nblocks) in new_handle() 431 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() 440 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() 444 handle_t *handle = journal_current_handle(); in jbd2__journal_start() 460 handle_t *rsv_handle; in jbd2__journal_start() 509 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() 515 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved() 539 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved() 599 int jbd2_journal_extend(handle_t *handle, int nblocks) in jbd2_journal_extend() [all …]
|