/linux/fs/ext4/ |
A D | ext4_jbd2.h | 172 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() 210 ext4_mark_iloc_dirty(handle_t *handle, 234 handle_t *handle, struct super_block *sb, 243 handle_t *handle, struct super_block *sb, 248 handle_t *handle, struct inode *inode, 273 static inline int ext4_handle_valid(handle_t *handle) in ext4_handle_valid() 280 static inline void ext4_handle_sync(handle_t *handle) in ext4_handle_sync() 286 static inline int ext4_handle_is_aborted(handle_t *handle) in ext4_handle_is_aborted() 336 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, 339 static inline handle_t *ext4_journal_current_handle(void) in ext4_journal_current_handle() [all …]
|
A D | ext4_jbd2.c | 33 static handle_t *ext4_get_nojournal(void) in ext4_get_nojournal() 35 handle_t *handle = current->journal_info; in ext4_get_nojournal() 41 handle = (handle_t *)ref_cnt; in ext4_get_nojournal() 49 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() 56 handle = (handle_t *)ref_cnt; in ext4_put_nojournal() 136 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved() 160 int __ext4_journal_ensure_credits(handle_t *handle, int check_cred, in __ext4_journal_ensure_credits() 176 handle_t *handle, int err) in ext4_journal_abort_handle() 221 handle_t *handle, struct super_block *sb, in __ext4_journal_get_write_access() 313 handle_t *handle, struct super_block *sb, in __ext4_journal_get_create_access() [all …]
|
A D | xattr.h | 167 extern int ext4_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_… 174 extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode, 180 struct ext4_inode *raw_inode, handle_t *handle); 189 extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode, 197 extern int ext4_init_security(handle_t *handle, struct inode *inode, 200 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security()
|
A D | migrate.c | 21 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() 65 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range() 90 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() 119 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range() 149 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range() 179 static int free_dind_blocks(handle_t *handle, in free_dind_blocks() 220 static int free_tind_blocks(handle_t *handle, in free_tind_blocks() 353 static int free_ext_idx(handle_t *handle, struct inode *inode, in free_ext_idx() 390 static int free_ext_block(handle_t *handle, struct inode *inode) in free_ext_block() 413 handle_t *handle; in ext4_ext_migrate() [all …]
|
A D | ext4.h | 239 handle_t *handle; /* handle reserved for extent 2902 extern void ext4_free_inode(handle_t *, struct inode *); 2947 extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, 2987 int ext4_walk_page_buffers(handle_t *handle, 2993 int (*fn)(handle_t *handle, struct inode *inode, 3022 extern int ext4_sync_inode(handle_t *, struct inode *); 3597 extern int ext4_try_add_inline_entry(handle_t *handle, 3600 extern int ext4_try_create_inline_dir(handle_t *handle, 3615 extern int ext4_delete_inline_entry(handle_t *handle, 3802 extern int ext4_orphan_add(handle_t *, struct inode *); [all …]
|
A D | inline.c | 250 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data() 406 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock() 534 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent() 656 handle_t *handle; in ext4_try_to_write_inline_data() 737 handle_t *handle = ext4_journal_current_handle(); in ext4_write_inline_data_end() 915 handle_t *handle; in ext4_da_write_inline_data_begin() 1028 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline() 1141 static int ext4_finish_convert_inline_dir(handle_t *handle, in ext4_finish_convert_inline_dir() 1692 int ext4_delete_inline_entry(handle_t *handle, in ext4_delete_inline_entry() 1884 handle_t *handle; in ext4_inline_data_truncate() [all …]
|
A D | acl.h | 61 extern int ext4_init_acl(handle_t *, struct inode *, struct inode *); 69 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
|
A D | xattr_security.c | 40 handle_t *handle = fs_info; in ext4_initxattrs() 55 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, in ext4_init_security()
|
A D | indirect.c | 321 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch() 418 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch() 523 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks() 681 static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode, in ext4_ind_trunc_restart_fn() 716 static int ext4_ind_truncate_ensure_credits(handle_t *handle, in ext4_ind_truncate_ensure_credits() 849 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks() 906 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data() 992 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches() 1104 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate() 1219 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
|
A D | inode.c | 169 handle_t *handle; in ext4_evict_inode() 1138 handle_t *handle; in ext4_write_begin() 3324 handle_t *handle; in ext4_iomap_alloc() 3871 handle_t *handle; in ext4_update_disksize_before_punch() 3939 handle_t *handle; in ext4_punch_hole() 4137 handle_t *handle; in ext4_truncate() 5326 handle_t *handle; in ext4_setattr() 5820 handle_t *handle; in ext4_expand_extra_isize() 5914 handle_t *handle; in ext4_dirty_inode() 5926 handle_t *handle; in ext4_change_inode_journal_flag() [all …]
|
/linux/fs/ocfs2/ |
A D | journal.h | 238 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, 241 handle_t *handle); 242 int ocfs2_extend_trans(handle_t *handle, int nblocks); 243 int ocfs2_allocate_extend_trans(handle_t *handle, 272 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, 275 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, 278 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, 281 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, 299 int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci, 321 void ocfs2_journal_dirty(handle_t *handle, struct buffer_head *bh); [all …]
|
A D | suballoc.h | 74 handle_t *handle, 82 int ocfs2_block_group_set_bits(handle_t *handle, 89 int ocfs2_claim_metadata(handle_t *handle, 96 int ocfs2_claim_new_inode(handle_t *handle, 103 int ocfs2_claim_clusters(handle_t *handle, 112 int __ocfs2_claim_clusters(handle_t *handle, 119 int ocfs2_free_suballoc_bits(handle_t *handle, 125 int ocfs2_free_dinode(handle_t *handle, 129 int ocfs2_free_clusters(handle_t *handle, 134 int ocfs2_release_clusters(handle_t *handle, [all …]
|
A D | alloc.h | 81 int ocfs2_insert_extent(handle_t *handle, 94 int ocfs2_add_clusters_in_btree(handle_t *handle, 104 int ocfs2_split_extent(handle_t *handle, 113 handle_t *handle, u32 cpos, u32 len, u32 phys, 116 int ocfs2_change_extent_flag(handle_t *handle, 122 int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et, 171 handle_t *handle, 215 int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle, 259 void ocfs2_map_and_dirty_page(struct inode *inode, handle_t *handle, 296 int ocfs2_path_bh_journal_access(handle_t *handle, [all …]
|
A D | dir.h | 44 int ocfs2_delete_entry(handle_t *handle, 47 int __ocfs2_add_entry(handle_t *handle, 53 static inline int ocfs2_add_entry(handle_t *handle, in ocfs2_add_entry() 63 int ocfs2_update_entry(struct inode *dir, handle_t *handle, 89 handle_t *handle,
|
A D | refcounttree.h | 35 handle_t *handle, u32 cpos, u32 len, 50 handle_t *handle, 77 int ocfs2_duplicate_clusters_by_page(handle_t *handle, 81 int ocfs2_duplicate_clusters_by_jbd(handle_t *handle, 98 int ocfs2_increase_refcount(handle_t *handle,
|
A D | aops.h | 11 handle_t *ocfs2_start_walk_page_trans(struct inode *inode, 22 int walk_page_buffers( handle_t *handle, 27 int (*fn)( handle_t *handle,
|
A D | suballoc.c | 92 handle_t *handle, 462 handle_t *handle, in ocfs2_block_group_claim_bits() 662 handle_t *handle = NULL; in ocfs2_block_group_alloc() 1581 handle_t *handle, in ocfs2_alloc_dinode_update_counts() 1672 handle_t *handle, in ocfs2_search_one_group() 1739 handle_t *handle, in ocfs2_search_chain() 1880 handle_t *handle, in ocfs2_claim_suballoc_bits() 1990 int ocfs2_claim_metadata(handle_t *handle, in ocfs2_claim_metadata() 2069 handle_t *handle = NULL; in ocfs2_find_new_inode_loc() 2528 int ocfs2_free_dinode(handle_t *handle, in ocfs2_free_dinode() [all …]
|
A D | localalloc.h | 36 handle_t *handle, 43 handle_t *handle,
|
A D | xattr.h | 40 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *, 50 int ocfs2_init_security_set(handle_t *, struct inode *,
|
A D | alloc.c | 740 handle_t *handle, in ocfs2_journal_access_path() 3108 handle_t *handle; in ocfs2_remove_rightmost_empty_extent() 3341 handle_t *handle, in ocfs2_merge_rec_right() 3507 handle_t *handle, in ocfs2_merge_rec_left() 5700 handle_t *handle; in ocfs2_remove_btree_range() 5925 handle_t *handle; in ocfs2_replay_truncate_records() 6251 handle_t *handle; in ocfs2_complete_truncate_log_recovery() 6392 handle_t *handle; in ocfs2_free_cached_blocks() 6485 handle_t *handle; in ocfs2_free_cached_clusters() 7058 handle_t *handle; in ocfs2_convert_inline_data_to_extents() [all …]
|
A D | journal.c | 333 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) in ocfs2_start_trans() 336 handle_t *handle; in ocfs2_start_trans() 374 handle_t *handle) in ocfs2_commit_trans() 411 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans() 456 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans() 633 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access() 710 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di() 716 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb() 722 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb() 765 int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access() [all …]
|
A D | file.h | 34 handle_t *handle, 38 int ocfs2_set_inode_size(handle_t *handle,
|
A D | localalloc.c | 45 handle_t *handle, 56 handle_t *handle, 369 handle_t *handle; in ocfs2_shutdown_local_alloc() 550 handle_t *handle; in ocfs2_complete_local_alloc_recovery() 714 handle_t *handle, in ocfs2_claim_local_alloc_bits() 770 handle_t *handle, in ocfs2_free_local_alloc_bits() 948 handle_t *handle, in ocfs2_sync_local_to_main() 1147 handle_t *handle, in ocfs2_local_alloc_new_window() 1240 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window()
|
/linux/include/linux/ |
A D | jbd2.h | 495 handle_t *h_rsv_handle; 1508 static inline handle_t *journal_current_handle(void) in journal_current_handle() 1519 extern handle_t *jbd2_journal_start(journal_t *, int nblocks); 1523 extern int jbd2_journal_restart(handle_t *, int nblocks); 1524 extern int jbd2__journal_restart(handle_t *, int nblocks, 1526 extern int jbd2_journal_start_reserved(handle_t *handle, 1528 extern void jbd2_journal_free_reserved(handle_t *handle); 1541 extern int jbd2_journal_stop(handle_t *); 1601 static inline handle_t *jbd2_alloc_handle(gfp_t gfp_flags) in jbd2_alloc_handle() 1606 static inline void jbd2_free_handle(handle_t *handle) in jbd2_free_handle() [all …]
|
/linux/fs/jbd2/ |
A D | transaction.c | 479 static handle_t *new_handle(int nblocks) in new_handle() 481 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() 494 handle_t *handle = journal_current_handle(); in jbd2__journal_start() 512 handle_t *rsv_handle; in jbd2__journal_start() 562 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() 578 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved() 724 static void stop_this_handle(handle_t *handle) in stop_this_handle() 833 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart() 961 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access() 1803 int jbd2_journal_stop(handle_t *handle) in jbd2_journal_stop() [all …]
|