Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/ext4/
Dext4_jbd2.h168 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,
227 int __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode,
237 handle_t *handle, struct buffer_head *bh);
239 int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
244 handle_t *handle, struct buffer_head *bh);
247 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()
89 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb()
109 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop()
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()
178 handle_t *handle, int err) in ext4_journal_abort_handle()
[all …]
Dxattr.h167 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_inline_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()
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.h223 handle_t *handle; /* handle reserved for extent
2562 extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
2751 extern struct inode *__ext4_new_inode(handle_t *, struct inode *, umode_t,
2766 extern void ext4_free_inode(handle_t *, struct inode *);
2780 void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start,
2782 void __ext4_fc_track_unlink(handle_t *handle, struct inode *inode,
2784 void __ext4_fc_track_link(handle_t *handle, struct inode *inode,
2786 void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry);
2787 void ext4_fc_track_link(handle_t *handle, struct dentry *dentry);
2788 void __ext4_fc_track_create(handle_t *handle, struct inode *inode,
[all …]
Dacl.h60 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()
Dxattr_security.c39 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()
Dinline.c249 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()
732 handle_t *handle = ext4_journal_current_handle(); in ext4_write_inline_data_end()
910 handle_t *handle; in ext4_da_write_inline_data_begin()
1022 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1103 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir()
[all …]
Dindirect.c321 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch()
417 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch()
521 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks()
679 static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode, in ext4_ind_trunc_restart_fn()
714 static int ext4_ind_truncate_ensure_credits(handle_t *handle, in ext4_ind_truncate_ensure_credits()
846 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks()
903 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data()
988 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches()
1099 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate()
1214 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
Dinode.c141 static int ext4_bh_delay_or_unwritten(handle_t *handle, struct buffer_head *bh);
169 handle_t *handle; in ext4_evict_inode()
437 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
501 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
835 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
894 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
957 int ext4_walk_page_buffers(handle_t *handle, in ext4_walk_page_buffers()
962 int (*fn)(handle_t *handle, in ext4_walk_page_buffers()
1012 int do_journal_get_write_access(handle_t *handle, in do_journal_get_write_access()
1139 handle_t *handle; in ext4_write_begin()
[all …]
/kernel/linux/linux-5.10/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_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 …]
Dsuballoc.h76 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 …]
Dalloc.h83 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 …]
Ddir.h46 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,
Drefcounttree.h37 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,
Daops.h13 handle_t *ocfs2_start_walk_page_trans(struct inode *inode,
24 int walk_page_buffers( handle_t *handle,
29 int (*fn)( handle_t *handle,
Dlocalalloc.h38 handle_t *handle,
45 handle_t *handle,
Dsuballoc.c69 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 …]
Dxattr.h42 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
52 int ocfs2_init_security_set(handle_t *, struct inode *,
Dfile.h36 handle_t *handle,
40 int ocfs2_set_inode_size(handle_t *handle,
Djournal.c335 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 …]
Dalloc.c155 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()
1093 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1146 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1349 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1524 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
[all …]
Dlocalalloc.c47 handle_t *handle,
58 handle_t *handle,
371 handle_t *handle; in ocfs2_shutdown_local_alloc()
552 handle_t *handle; in ocfs2_complete_local_alloc_recovery()
716 handle_t *handle, in ocfs2_claim_local_alloc_bits()
772 handle_t *handle, in ocfs2_free_local_alloc_bits()
950 handle_t *handle, in ocfs2_sync_local_to_main()
1149 handle_t *handle, in ocfs2_local_alloc_new_window()
1242 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window()
/kernel/linux/linux-5.10/include/linux/
Djbd2.h92 typedef struct jbd2_journal_handle handle_t; /* Atomic operation type */ typedef
495 handle_t *h_rsv_handle;
1494 static inline handle_t *journal_current_handle(void) in journal_current_handle()
1505 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1506 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,
1509 extern int jbd2_journal_restart(handle_t *, int nblocks);
1510 extern int jbd2__journal_restart(handle_t *, int nblocks,
1512 extern int jbd2_journal_start_reserved(handle_t *handle,
1514 extern void jbd2_journal_free_reserved(handle_t *handle);
1515 extern int jbd2_journal_extend(handle_t *handle, int nblocks,
[all …]
/kernel/linux/linux-5.10/fs/jbd2/
Dtransaction.c325 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
462 static handle_t *new_handle(int nblocks) in new_handle()
464 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
473 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
477 handle_t *handle = journal_current_handle(); in jbd2__journal_start()
495 handle_t *rsv_handle; in jbd2__journal_start()
545 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
551 static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) in __jbd2_journal_unreserve_handle()
561 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
587 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
[all …]

123