Home
last modified time | relevance | path

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

123

/linux-4.19.296/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,
225 int ext4_mark_inode_dirty(handle_t *handle, struct inode *inode);
234 handle_t *handle, struct buffer_head *bh);
236 int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
241 handle_t *handle, struct buffer_head *bh);
244 handle_t *handle, struct inode *inode,
[all …]
Dext4_jbd2.c11 static handle_t *ext4_get_nojournal(void) in ext4_get_nojournal()
13 handle_t *handle = current->journal_info; in ext4_get_nojournal()
19 handle = (handle_t *)ref_cnt; in ext4_get_nojournal()
27 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal()
34 handle = (handle_t *)ref_cnt; in ext4_put_nojournal()
67 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb()
85 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop()
112 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved()
139 handle_t *handle, int err) in ext4_journal_abort_handle()
162 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
[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()
85 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range()
110 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range()
139 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range()
169 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range()
199 static int extend_credit_for_blkdel(handle_t *handle, struct inode *inode) in extend_credit_for_blkdel()
219 static int free_dind_blocks(handle_t *handle, in free_dind_blocks()
249 static int free_tind_blocks(handle_t *handle, in free_tind_blocks()
280 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block()
309 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data()
[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()
Dext4.h216 handle_t *handle; /* handle reserved for extent
2299 extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
2461 extern struct inode *__ext4_new_inode(handle_t *, struct inode *, umode_t,
2476 extern void ext4_free_inode(handle_t *, struct inode *);
2492 extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
2498 extern void ext4_free_blocks(handle_t *handle, struct inode *inode,
2505 extern int ext4_group_add_blocks(handle_t *handle, struct super_block *sb,
2512 struct buffer_head *ext4_getblk(handle_t *, struct inode *, ext4_lblk_t, int);
2513 struct buffer_head *ext4_bread(handle_t *, struct inode *, ext4_lblk_t, int);
2524 int ext4_walk_page_buffers(handle_t *handle,
[all …]
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()
Dinode.c143 static int ext4_bh_delay_or_unwritten(handle_t *handle, struct buffer_head *bh);
171 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans()
197 handle_t *handle; in ext4_evict_inode()
455 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
521 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
849 handle_t *handle; in ext4_get_block_trans()
973 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
1030 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
1092 int ext4_walk_page_buffers(handle_t *handle, in ext4_walk_page_buffers()
1097 int (*fn)(handle_t *handle, in ext4_walk_page_buffers()
[all …]
Dinline.c261 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data()
325 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
391 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
415 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
542 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent()
664 handle_t *handle; in ext4_try_to_write_inline_data()
884 handle_t *handle; in ext4_da_write_inline_data_begin()
1033 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1114 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir()
1136 static void ext4_restore_inline_data(handle_t *handle, struct inode *inode, in ext4_restore_inline_data()
[all …]
Dnamei.c52 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append()
307 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname,
414 int ext4_handle_dirty_dirent_node(handle_t *handle, in ext4_handle_dirty_dirent_node()
525 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node()
1760 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
1950 static int add_dirent_to_buf(handle_t *handle, struct ext4_filename *fname, in add_dirent_to_buf()
2004 static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, in make_indexed_dir()
2132 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
2242 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, in ext4_dx_add_entry()
2416 int ext4_generic_delete_entry(handle_t *handle, in ext4_generic_delete_entry()
[all …]
Dacl.c186 __ext4_set_acl(handle_t *handle, struct inode *inode, int type, in __ext4_set_acl()
228 handle_t *handle; in ext4_set_acl()
274 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
/linux-4.19.296/fs/ocfs2/
Dsuballoc.h90 handle_t *handle,
98 int ocfs2_block_group_set_bits(handle_t *handle,
105 int ocfs2_claim_metadata(handle_t *handle,
112 int ocfs2_claim_new_inode(handle_t *handle,
119 int ocfs2_claim_clusters(handle_t *handle,
128 int __ocfs2_claim_clusters(handle_t *handle,
135 int ocfs2_free_suballoc_bits(handle_t *handle,
141 int ocfs2_free_dinode(handle_t *handle,
145 int ocfs2_free_clusters(handle_t *handle,
150 int ocfs2_release_clusters(handle_t *handle,
[all …]
Djournal.h256 handle_t *ocfs2_start_trans(struct ocfs2_super *osb,
259 handle_t *handle);
260 int ocfs2_extend_trans(handle_t *handle, int nblocks);
261 int ocfs2_allocate_extend_trans(handle_t *handle,
290 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci,
293 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci,
296 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci,
299 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci,
302 int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci,
305 int ocfs2_journal_access_dq(handle_t *handle, struct ocfs2_caching_info *ci,
[all …]
Dalloc.h97 int ocfs2_insert_extent(handle_t *handle,
110 int ocfs2_add_clusters_in_btree(handle_t *handle,
120 int ocfs2_split_extent(handle_t *handle,
129 handle_t *handle, u32 cpos, u32 len, u32 phys,
132 int ocfs2_change_extent_flag(handle_t *handle,
138 int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et,
187 handle_t *handle,
231 int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle,
275 void ocfs2_map_and_dirty_page(struct inode *inode, handle_t *handle,
312 int ocfs2_path_bh_journal_access(handle_t *handle,
[all …]
Ddir.h60 int ocfs2_delete_entry(handle_t *handle,
63 int __ocfs2_add_entry(handle_t *handle,
69 static inline int ocfs2_add_entry(handle_t *handle, in ocfs2_add_entry()
79 int ocfs2_update_entry(struct inode *dir, handle_t *handle,
105 handle_t *handle,
Drefcounttree.h45 handle_t *handle, u32 cpos, u32 len,
60 handle_t *handle,
87 int ocfs2_duplicate_clusters_by_page(handle_t *handle,
91 int ocfs2_duplicate_clusters_by_jbd(handle_t *handle,
108 int ocfs2_increase_refcount(handle_t *handle,
Daops.h27 handle_t *ocfs2_start_walk_page_trans(struct inode *inode,
38 int walk_page_buffers( handle_t *handle,
43 int (*fn)( handle_t *handle,
Dlocalalloc.h52 handle_t *handle,
59 handle_t *handle,
Dxattr.h50 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
60 int ocfs2_init_security_set(handle_t *, struct inode *,
Dsuballoc.c83 static int ocfs2_block_group_fill(handle_t *handle,
108 handle_t *handle,
114 static int ocfs2_relink_block_group(handle_t *handle,
356 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
433 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
478 handle_t *handle, in ocfs2_block_group_claim_bits()
497 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
559 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
590 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
678 handle_t *handle = NULL; in ocfs2_block_group_alloc()
[all …]
Dfile.h50 handle_t *handle,
54 int ocfs2_set_inode_size(handle_t *handle,
Djournal.c349 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) in ocfs2_start_trans()
352 handle_t *handle; in ocfs2_start_trans()
390 handle_t *handle) in ocfs2_commit_trans()
427 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
472 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans()
649 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access()
726 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di()
732 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb()
738 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb()
745 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd()
[all …]
Dalloc.c169 static int ocfs2_reuse_blk_from_dealloc(handle_t *handle,
538 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access()
580 static void ocfs2_adjust_rightmost_records(handle_t *handle,
735 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access()
756 handle_t *handle, in ocfs2_journal_access_path()
1001 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1108 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1161 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1364 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1539 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
[all …]
/linux-4.19.296/include/linux/
Djbd2.h93 typedef struct jbd2_journal_handle handle_t; /* Atomic operation type */ typedef
509 handle_t *h_rsv_handle;
1350 static inline handle_t *journal_current_handle(void) in journal_current_handle()
1361 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1362 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,
1365 extern int jbd2_journal_restart(handle_t *, int nblocks);
1366 extern int jbd2__journal_restart(handle_t *, int nblocks, gfp_t gfp_mask);
1367 extern int jbd2_journal_start_reserved(handle_t *handle,
1369 extern void jbd2_journal_free_reserved(handle_t *handle);
1370 extern int jbd2_journal_extend (handle_t *, int nblocks);
[all …]
/linux-4.19.296/fs/jbd2/
Dtransaction.c273 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
398 static handle_t *new_handle(int nblocks) in new_handle()
400 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
409 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
413 handle_t *handle = journal_current_handle(); in jbd2__journal_start()
429 handle_t *rsv_handle; in jbd2__journal_start()
478 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
484 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
508 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
565 int jbd2_journal_extend(handle_t *handle, int nblocks) in jbd2_journal_extend()
[all …]

123