Home
last modified time | relevance | path

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

123

/linux-5.19.10/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()
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.h180 extern int ext4_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_…
187 extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
193 struct ext4_inode *raw_inode, handle_t *handle);
203 extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
211 extern int ext4_init_security(handle_t *handle, struct inode *inode,
214 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.h239 handle_t *handle; /* handle reserved for extent
2697 extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
2839 extern struct inode *__ext4_new_inode(struct user_namespace *, handle_t *,
2855 extern void ext4_free_inode(handle_t *, struct inode *);
2869 void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start,
2871 void __ext4_fc_track_unlink(handle_t *handle, struct inode *inode,
2873 void __ext4_fc_track_link(handle_t *handle, struct inode *inode,
2875 void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry);
2876 void ext4_fc_track_link(handle_t *handle, struct dentry *dentry);
2877 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()
Dinline.c254 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data()
319 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
386 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
410 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
537 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent()
659 handle_t *handle; in ext4_try_to_write_inline_data()
740 handle_t *handle = ext4_journal_current_handle(); in ext4_write_inline_data_end()
916 handle_t *handle; in ext4_da_write_inline_data_begin()
1024 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1106 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()
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()
Dinode.c167 handle_t *handle; in ext4_evict_inode()
436 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
500 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
843 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
908 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
971 int ext4_walk_page_buffers(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers()
976 int (*fn)(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers()
1026 int do_journal_get_write_access(handle_t *handle, struct inode *inode, in do_journal_get_write_access()
1152 handle_t *handle; in ext4_write_begin()
1271 static int write_end_fn(handle_t *handle, struct inode *inode, in write_end_fn()
[all …]
/linux-5.19.10/fs/ocfs2/
Djournal.h240 handle_t *ocfs2_start_trans(struct ocfs2_super *osb,
243 handle_t *handle);
244 int ocfs2_extend_trans(handle_t *handle, int nblocks);
245 int ocfs2_allocate_extend_trans(handle_t *handle,
274 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci,
277 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci,
280 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci,
283 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci,
286 int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci,
289 int ocfs2_journal_access_dq(handle_t *handle, struct ocfs2_caching_info *ci,
[all …]
Dsuballoc.h74 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 …]
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.c67 static int ocfs2_block_group_fill(handle_t *handle,
92 handle_t *handle,
98 static int ocfs2_relink_block_group(handle_t *handle,
340 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
417 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
462 handle_t *handle, in ocfs2_block_group_claim_bits()
481 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
543 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
574 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
662 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.h34 handle_t *handle,
38 int ocfs2_set_inode_size(handle_t *handle,
Djournal.c333 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()
729 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd()
[all …]
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()
985 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1091 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1144 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1347 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1522 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
[all …]
Dlocalalloc.c45 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-5.19.10/include/linux/
Djbd2.h92 typedef struct jbd2_journal_handle handle_t; /* Atomic operation type */ typedef
495 handle_t *h_rsv_handle;
1500 static inline handle_t *journal_current_handle(void) in journal_current_handle()
1511 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1512 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,
1515 extern int jbd2_journal_restart(handle_t *, int nblocks);
1516 extern int jbd2__journal_restart(handle_t *, int nblocks,
1518 extern int jbd2_journal_start_reserved(handle_t *handle,
1520 extern void jbd2_journal_free_reserved(handle_t *handle);
1521 extern int jbd2_journal_extend(handle_t *handle, int nblocks,
[all …]
/linux-5.19.10/fs/jbd2/
Dtransaction.c331 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
474 static handle_t *new_handle(int nblocks) in new_handle()
476 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
485 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
489 handle_t *handle = journal_current_handle(); in jbd2__journal_start()
507 handle_t *rsv_handle; in jbd2__journal_start()
557 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
563 static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) in __jbd2_journal_unreserve_handle()
573 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
599 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
[all …]

123