Home
last modified time | relevance | path

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

123

/linux-6.12.1/fs/ext4/
Dext4_jbd2.h165 static inline void _ext4_journal_callback_add(handle_t *handle, in _ext4_journal_callback_add()
172 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add()
195 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del()
210 ext4_mark_iloc_dirty(handle_t *handle,
219 int ext4_reserve_inode_write(handle_t *handle, struct inode *inode,
224 int __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode,
234 handle_t *handle, struct super_block *sb,
238 int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
243 handle_t *handle, struct super_block *sb,
248 handle_t *handle, struct inode *inode,
[all …]
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()
90 handle_t *__ext4_journal_start_sb(struct inode *inode, in __ext4_journal_start_sb()
116 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop()
143 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved()
167 int __ext4_journal_ensure_credits(handle_t *handle, int check_cred, in __ext4_journal_ensure_credits()
185 handle_t *handle, int err) in ext4_journal_abort_handle()
[all …]
Dxattr.h179 extern int ext4_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_…
186 extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
192 struct ext4_inode *raw_inode, handle_t *handle);
202 extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
210 extern int ext4_init_security(handle_t *handle, struct inode *inode,
213 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security()
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()
254 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block()
287 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data()
353 static int free_ext_idx(handle_t *handle, struct inode *inode, in free_ext_idx()
[all …]
Dext4.h295 handle_t *handle; /* handle reserved for extent
2721 extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
2873 extern struct inode *__ext4_new_inode(struct mnt_idmap *, handle_t *,
2889 extern void ext4_free_inode(handle_t *, struct inode *);
2902 void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start,
2904 void __ext4_fc_track_unlink(handle_t *handle, struct inode *inode,
2906 void __ext4_fc_track_link(handle_t *handle, struct inode *inode,
2908 void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry);
2909 void ext4_fc_track_link(handle_t *handle, struct dentry *dentry);
2910 void __ext4_fc_track_create(handle_t *handle, struct inode *inode,
[all …]
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()
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()
Dinode.c52 static void ext4_journalled_zero_new_buffers(handle_t *handle,
171 handle_t *handle; in ext4_evict_inode()
419 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
461 static int ext4_map_query_blocks(handle_t *handle, struct inode *inode, in ext4_map_query_blocks()
490 static int ext4_map_create_blocks(handle_t *handle, struct inode *inode, in ext4_map_create_blocks()
595 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
834 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
899 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
962 int ext4_walk_page_buffers(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers()
967 int (*fn)(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers()
[all …]
Dinline.c262 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data()
327 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
394 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
418 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
545 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent()
667 handle_t *handle; in ext4_try_to_write_inline_data()
746 handle_t *handle = ext4_journal_current_handle(); in ext4_write_inline_data_end()
899 handle_t *handle; in ext4_da_write_inline_data_begin()
1005 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1087 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir()
[all …]
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()
/linux-6.12.1/fs/ocfs2/
Djournal.h241 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_assure_trans_credits(handle_t *handle,
248 int ocfs2_allocate_extend_trans(handle_t *handle,
277 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci,
280 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci,
283 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci,
286 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci,
289 int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci,
[all …]
Dsuballoc.h74 handle_t *handle,
84 int ocfs2_block_group_set_bits(handle_t *handle,
93 int ocfs2_claim_metadata(handle_t *handle,
100 int ocfs2_claim_new_inode(handle_t *handle,
107 int ocfs2_claim_clusters(handle_t *handle,
116 int __ocfs2_claim_clusters(handle_t *handle,
123 int ocfs2_free_suballoc_bits(handle_t *handle,
129 int ocfs2_free_dinode(handle_t *handle,
133 int ocfs2_free_clusters(handle_t *handle,
138 int ocfs2_release_clusters(handle_t *handle,
[all …]
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,
259 void ocfs2_map_and_dirty_page(struct inode *inode, handle_t *handle,
296 int ocfs2_path_bh_journal_access(handle_t *handle,
[all …]
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,
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,
Daops.h11 handle_t *ocfs2_start_walk_page_trans(struct inode *inode,
22 int walk_page_buffers( handle_t *handle,
27 int (*fn)( handle_t *handle,
Dlocalalloc.h36 handle_t *handle,
43 handle_t *handle,
Dsuballoc.c71 static int ocfs2_block_group_fill(handle_t *handle,
96 handle_t *handle,
102 static int ocfs2_relink_block_group(handle_t *handle,
344 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
421 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
466 handle_t *handle, in ocfs2_block_group_claim_bits()
485 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
547 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
578 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
666 handle_t *handle = NULL; in ocfs2_block_group_alloc()
[all …]
Dxattr.h40 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
50 int ocfs2_init_security_set(handle_t *, struct inode *,
Dfile.h35 handle_t *handle,
39 int ocfs2_set_inode_size(handle_t *handle,
Dalloc.c153 static int ocfs2_reuse_blk_from_dealloc(handle_t *handle,
522 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access()
564 static void ocfs2_adjust_rightmost_records(handle_t *handle,
719 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access()
740 handle_t *handle, in ocfs2_journal_access_path()
992 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1098 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1151 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1354 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1529 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
[all …]
Djournal.c331 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) in ocfs2_start_trans()
334 handle_t *handle; in ocfs2_start_trans()
372 handle_t *handle) in ocfs2_commit_trans()
409 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
455 int ocfs2_assure_trans_credits(handle_t *handle, int nblocks) in ocfs2_assure_trans_credits()
471 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()
720 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb()
730 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb()
[all …]
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()
1160 handle_t *handle, in ocfs2_local_alloc_new_window()
1253 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window()
/linux-6.12.1/include/linux/
Djbd2.h91 typedef struct jbd2_journal_handle handle_t; /* Atomic operation type */ typedef
485 handle_t *h_rsv_handle;
1505 static inline handle_t *journal_current_handle(void) in journal_current_handle()
1516 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1517 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,
1520 extern int jbd2_journal_restart(handle_t *, int nblocks);
1521 extern int jbd2__journal_restart(handle_t *, int nblocks,
1523 extern int jbd2_journal_start_reserved(handle_t *handle,
1525 extern void jbd2_journal_free_reserved(handle_t *handle);
1526 extern int jbd2_journal_extend(handle_t *handle, int nblocks,
[all …]
/linux-6.12.1/fs/jbd2/
Dtransaction.c316 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
459 static handle_t *new_handle(int nblocks) in new_handle()
461 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
470 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
474 handle_t *handle = journal_current_handle(); in jbd2__journal_start()
492 handle_t *rsv_handle; in jbd2__journal_start()
542 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
548 static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) in __jbd2_journal_unreserve_handle()
558 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
584 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
[all …]

123