Home
last modified time | relevance | path

Searched refs:handle_t (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.15/fs/ext4/
H A Dext4_jbd2.h126 ext4_mark_iloc_dirty(handle_t *handle,
150 handle_t *handle, struct super_block *sb,
159 handle_t *handle, struct super_block *sb,
164 handle_t *handle, struct inode *inode,
189 static inline int ext4_handle_valid(handle_t *handle) in ext4_handle_valid()
196 static inline void ext4_handle_sync(handle_t *handle) in ext4_handle_sync()
202 static inline int ext4_handle_is_aborted(handle_t *handle) in ext4_handle_is_aborted()
252 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
255 static inline handle_t *ext4_journal_current_handle(void) in ext4_journal_current_handle()
336 static inline int ext4_jbd2_inode_add_write(handle_t *handle, in ext4_jbd2_inode_add_write()
[all …]
H A Dext4_jbd2.c33 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()
92 handle_t *__ext4_journal_start_sb(struct inode *inode, in __ext4_journal_start_sb()
145 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved()
187 handle_t *handle, int err) in ext4_journal_abort_handle()
232 handle_t *handle, struct super_block *sb, in __ext4_journal_get_write_access()
322 handle_t *handle, struct super_block *sb, in __ext4_journal_get_create_access()
[all …]
H A Dxattr.h182 extern int ext4_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_…
189 extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
195 struct ext4_inode *raw_inode, handle_t *handle);
205 extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
220 extern int ext4_init_security(handle_t *handle, struct inode *inode,
223 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security()
H A Dmigrate.c21 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()
412 handle_t *handle; in ext4_ext_migrate()
[all …]
H A Dext4.h298 handle_t *handle; /* handle reserved for extent
2899 extern void ext4_free_inode(handle_t *, struct inode *);
2943 extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
2986 int ext4_walk_page_buffers(handle_t *handle,
2992 int (*fn)(handle_t *handle, struct inode *inode,
3581 extern int ext4_try_add_inline_entry(handle_t *handle,
3584 extern int ext4_try_create_inline_dir(handle_t *handle,
3599 extern int ext4_delete_inline_entry(handle_t *handle,
3721 handle_t *handle, struct inode *inode,
3786 extern int ext4_orphan_add(handle_t *, struct inode *);
[all …]
H A Dacl.h61 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()
H A Dxattr_security.c40 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()
H A Dinline.c267 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data()
423 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
550 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent()
675 handle_t *handle; in ext4_generic_write_inline_data()
769 handle_t *handle = ext4_journal_current_handle(); in ext4_write_inline_data_end()
940 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1061 static int ext4_finish_convert_inline_dir(handle_t *handle, in ext4_finish_convert_inline_dir()
1106 static int ext4_convert_inline_data_nolock(handle_t *handle, in ext4_convert_inline_data_nolock()
1662 int ext4_delete_inline_entry(handle_t *handle, in ext4_delete_inline_entry()
1853 handle_t *handle; in ext4_inline_data_truncate()
[all …]
H A Dindirect.c328 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch()
425 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch()
530 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks()
689 static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode, in ext4_ind_trunc_restart_fn()
724 static int ext4_ind_truncate_ensure_credits(handle_t *handle, in ext4_ind_truncate_ensure_credits()
857 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks()
914 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data()
1000 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches()
1112 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate()
1227 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
H A Dinode.c172 handle_t *handle; in ext4_evict_inode()
1150 handle_t *handle; in ext4_write_begin()
3007 handle_t *handle; in ext4_da_do_write_end()
3346 handle_t *handle; in ext4_iomap_alloc()
3894 handle_t *handle; in ext4_update_disksize_before_punch()
4011 handle_t *handle; in ext4_punch_hole()
4167 handle_t *handle; in ext4_truncate()
6004 handle_t *handle; in ext4_expand_extra_isize()
6098 handle_t *handle; in ext4_dirty_inode()
6110 handle_t *handle; in ext4_change_inode_journal_flag()
[all …]
/linux-6.15/fs/ocfs2/
H A Djournal.h242 handle_t *ocfs2_start_trans(struct ocfs2_super *osb,
245 handle_t *handle);
246 int ocfs2_extend_trans(handle_t *handle, int nblocks);
247 int ocfs2_assure_trans_credits(handle_t *handle,
249 int ocfs2_allocate_extend_trans(handle_t *handle,
278 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci,
281 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci,
284 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci,
305 int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci,
327 void ocfs2_journal_dirty(handle_t *handle, struct buffer_head *bh);
[all …]
H A Dsuballoc.h75 handle_t *handle,
85 int ocfs2_block_group_set_bits(handle_t *handle,
94 int ocfs2_claim_metadata(handle_t *handle,
101 int ocfs2_claim_new_inode(handle_t *handle,
108 int ocfs2_claim_clusters(handle_t *handle,
117 int __ocfs2_claim_clusters(handle_t *handle,
124 int ocfs2_free_suballoc_bits(handle_t *handle,
130 int ocfs2_free_dinode(handle_t *handle,
134 int ocfs2_free_clusters(handle_t *handle,
139 int ocfs2_release_clusters(handle_t *handle,
[all …]
H A Dalloc.h81 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,
257 void ocfs2_map_and_dirty_folio(struct inode *inode, handle_t *handle,
294 int ocfs2_path_bh_journal_access(handle_t *handle,
[all …]
H A Ddir.h44 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,
H A Drefcounttree.h35 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,
H A Dlocalalloc.h36 handle_t *handle,
43 handle_t *handle,
H A Dxattr.h40 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
50 int ocfs2_init_security_set(handle_t *, struct inode *,
H A Dsuballoc.c96 handle_t *handle,
466 handle_t *handle, in ocfs2_block_group_claim_bits()
666 handle_t *handle = NULL; in ocfs2_block_group_alloc()
1632 handle_t *handle, in ocfs2_alloc_dinode_update_counts()
1723 handle_t *handle, in ocfs2_search_one_group()
1791 handle_t *handle, in ocfs2_search_chain()
1946 handle_t *handle, in ocfs2_claim_suballoc_bits()
2067 int ocfs2_claim_metadata(handle_t *handle, in ocfs2_claim_metadata()
2146 handle_t *handle = NULL; in ocfs2_find_new_inode_loc()
2628 int ocfs2_free_dinode(handle_t *handle, in ocfs2_free_dinode()
[all …]
H A Daops.h17 int walk_page_buffers( handle_t *handle,
22 int (*fn)( handle_t *handle,
H A Dfile.h35 handle_t *handle,
39 int ocfs2_set_inode_size(handle_t *handle,
H A Dalloc.c740 handle_t *handle, in ocfs2_journal_access_path()
3123 handle_t *handle; in ocfs2_remove_rightmost_empty_extent()
3356 handle_t *handle, in ocfs2_merge_rec_right()
3522 handle_t *handle, in ocfs2_merge_rec_left()
5715 handle_t *handle; in ocfs2_remove_btree_range()
5940 handle_t *handle; in ocfs2_replay_truncate_records()
6281 handle_t *handle; in ocfs2_complete_truncate_log_recovery()
6422 handle_t *handle; in ocfs2_free_cached_blocks()
6515 handle_t *handle; in ocfs2_free_cached_clusters()
7085 handle_t *handle; in ocfs2_convert_inline_data_to_extents()
[all …]
H A Djournal.c353 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) in ocfs2_start_trans()
356 handle_t *handle; in ocfs2_start_trans()
394 handle_t *handle) in ocfs2_commit_trans()
431 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
477 int ocfs2_assure_trans_credits(handle_t *handle, int nblocks) in ocfs2_assure_trans_credits()
493 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans()
655 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access()
732 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di()
742 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb()
822 int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access()
[all …]
H A Dlocalalloc.c45 handle_t *handle,
56 handle_t *handle,
370 handle_t *handle; in ocfs2_shutdown_local_alloc()
551 handle_t *handle; in ocfs2_complete_local_alloc_recovery()
715 handle_t *handle, in ocfs2_claim_local_alloc_bits()
771 handle_t *handle, in ocfs2_free_local_alloc_bits()
943 handle_t *handle, in ocfs2_sync_local_to_main()
1143 handle_t *handle, in ocfs2_local_alloc_new_window()
1236 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window()
/linux-6.15/include/linux/
H A Djbd2.h484 handle_t *h_rsv_handle;
1486 static inline handle_t *journal_current_handle(void) in journal_current_handle()
1497 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1501 extern int jbd2_journal_restart(handle_t *, int nblocks);
1502 extern int jbd2__journal_restart(handle_t *, int nblocks,
1504 extern int jbd2_journal_start_reserved(handle_t *handle,
1506 extern void jbd2_journal_free_reserved(handle_t *handle);
1507 extern int jbd2_journal_extend(handle_t *handle, int nblocks,
1519 extern int jbd2_journal_stop(handle_t *);
1587 static inline void jbd2_free_handle(handle_t *handle) in jbd2_free_handle()
[all …]
/linux-6.15/fs/jbd2/
H A Dtransaction.c455 static handle_t *new_handle(int nblocks) in new_handle()
457 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
470 handle_t *handle = journal_current_handle(); in jbd2__journal_start()
488 handle_t *rsv_handle; in jbd2__journal_start()
538 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
554 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
697 static void stop_this_handle(handle_t *handle) in stop_this_handle()
806 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart()
947 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access()
1820 int jbd2_journal_stop(handle_t *handle) in jbd2_journal_stop()
[all …]

123