Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ext4/
Dext4_jbd2.h180 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add()
202 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del()
217 ext4_mark_iloc_dirty(handle_t *handle,
226 int ext4_reserve_inode_write(handle_t *handle, struct inode *inode,
229 int ext4_mark_inode_dirty(handle_t *handle, struct inode *inode);
235 handle_t *handle, struct buffer_head *bh);
237 int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
242 handle_t *handle, struct buffer_head *bh);
245 handle_t *handle, struct inode *inode,
249 handle_t *handle, struct super_block *sb);
[all …]
Dext4_jbd2.c10 static handle_t *ext4_get_nojournal(void) in ext4_get_nojournal()
12 handle_t *handle = current->journal_info; in ext4_get_nojournal()
18 handle = (handle_t *)ref_cnt; in ext4_get_nojournal()
26 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal()
33 handle = (handle_t *)ref_cnt; in ext4_put_nojournal()
62 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb()
80 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop()
107 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved()
134 handle_t *handle, int err) in ext4_journal_abort_handle()
157 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
[all …]
Dxattr.h108 extern int ext4_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_…
110 extern void ext4_xattr_delete_inode(handle_t *, struct inode *);
114 struct ext4_inode *raw_inode, handle_t *handle);
123 extern int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode,
131 extern int ext4_init_security(handle_t *handle, struct inode *inode,
134 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security()
Dmigrate.c28 static int finish_range(handle_t *handle, struct inode *inode, in finish_range()
92 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range()
117 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range()
146 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range()
176 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range()
206 static int extend_credit_for_blkdel(handle_t *handle, struct inode *inode) in extend_credit_for_blkdel()
226 static int free_dind_blocks(handle_t *handle, in free_dind_blocks()
256 static int free_tind_blocks(handle_t *handle, in free_tind_blocks()
287 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block()
316 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data()
[all …]
Dext4.h182 handle_t *handle; /* handle reserved for extent
2052 extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
2228 extern struct inode *__ext4_new_inode(handle_t *, struct inode *, umode_t,
2242 extern void ext4_free_inode(handle_t *, struct inode *);
2257 extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
2263 extern void ext4_free_blocks(handle_t *handle, struct inode *inode,
2270 extern int ext4_group_add_blocks(handle_t *handle, struct super_block *sb,
2276 struct buffer_head *ext4_getblk(handle_t *, struct inode *, ext4_lblk_t, int);
2277 struct buffer_head *ext4_bread(handle_t *, struct inode *, ext4_lblk_t, int);
2284 int ext4_walk_page_buffers(handle_t *handle,
[all …]
Dacl.h59 extern int ext4_init_acl(handle_t *, struct inode *, struct inode *);
67 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
Dxattr_security.c55 handle_t *handle = fs_info; in ext4_initxattrs()
70 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, in ext4_init_security()
Dinline.c246 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data()
310 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
374 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
399 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
526 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent()
647 handle_t *handle; in ext4_try_to_write_inline_data()
853 handle_t *handle; in ext4_da_write_inline_data_begin()
997 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1083 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir()
1105 static void ext4_restore_inline_data(handle_t *handle, struct inode *inode, in ext4_restore_inline_data()
[all …]
Dinode.c134 static int ext4_bh_delay_or_unwritten(handle_t *handle, struct buffer_head *bh);
157 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans()
183 handle_t *handle; in ext4_evict_inode()
389 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
457 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
693 handle_t *handle = ext4_journal_current_handle(); in _ext4_get_block()
754 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
811 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
829 int ext4_walk_page_buffers(handle_t *handle, in ext4_walk_page_buffers()
834 int (*fn)(handle_t *handle, in ext4_walk_page_buffers()
[all …]
Dnamei.c50 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append()
272 static int ext4_dx_add_entry(handle_t *handle, struct dentry *dentry,
374 int ext4_handle_dirty_dirent_node(handle_t *handle, in ext4_handle_dirty_dirent_node()
485 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node()
1686 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
1927 static int add_dirent_to_buf(handle_t *handle, struct dentry *dentry, in add_dirent_to_buf()
1988 static int make_indexed_dir(handle_t *handle, struct dentry *dentry, in make_indexed_dir()
2142 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
2223 static int ext4_dx_add_entry(handle_t *handle, struct dentry *dentry, in ext4_dx_add_entry()
2368 int ext4_generic_delete_entry(handle_t *handle, in ext4_generic_delete_entry()
[all …]
Dacl.c187 __ext4_set_acl(handle_t *handle, struct inode *inode, int type, in __ext4_set_acl()
239 handle_t *handle; in ext4_set_acl()
262 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
Dindirect.c321 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch()
411 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch()
513 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks()
651 handle_t *handle; in ext4_ind_direct_IO()
813 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction()
932 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks()
1006 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data()
1091 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches()
1203 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate()
1315 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
Dextents.c97 static int ext4_split_extent(handle_t *handle,
104 static int ext4_split_extent_at(handle_t *handle,
114 static int ext4_ext_truncate_extend_restart(handle_t *handle, in ext4_ext_truncate_extend_restart()
139 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access()
158 int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, in __ext4_ext_dirty()
226 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block()
293 ext4_force_split_extent_at(handle_t *handle, struct inode *inode, in ext4_force_split_extent_at()
844 int ext4_ext_tree_init(handle_t *handle, struct inode *inode) in ext4_ext_tree_init()
946 static int ext4_ext_insert_index(handle_t *handle, struct inode *inode, in ext4_ext_insert_index()
1022 static int ext4_ext_split(handle_t *handle, struct inode *inode, in ext4_ext_split()
[all …]
Dresize.c354 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
380 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction()
408 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap()
483 handle_t *handle; in setup_new_flex_group_blocks()
753 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb()
884 handle_t *handle, ext4_group_t group) { in add_new_gdb_meta_bg()
933 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb()
1054 handle_t *handle; in update_backups()
1151 static int ext4_add_new_descs(handle_t *handle, struct super_block *sb, in ext4_add_new_descs()
1237 static int ext4_setup_new_descs(handle_t *handle, struct super_block *sb, in ext4_setup_new_descs()
[all …]
Dxattr.c160 static inline int ext4_handle_dirty_xattr_block(handle_t *handle, in ext4_handle_dirty_xattr_block()
525 static void ext4_xattr_update_super_block(handle_t *handle, in ext4_xattr_update_super_block()
543 ext4_xattr_release_block(handle_t *handle, struct inode *inode, in ext4_xattr_release_block()
775 ext4_xattr_block_set(handle_t *handle, struct inode *inode, in ext4_xattr_block_set()
1009 int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode, in ext4_xattr_ibody_inline_set()
1047 static int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode, in ext4_xattr_ibody_set()
1084 ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext4_xattr_set_handle()
1203 handle_t *handle; in ext4_xattr_set()
1257 struct ext4_inode *raw_inode, handle_t *handle) in ext4_expand_extra_isize_ea()
1487 ext4_xattr_delete_inode(handle_t *handle, struct inode *inode) in ext4_xattr_delete_inode()
Dioctl.c99 handle_t *handle; in swap_inode_boot_loader()
224 handle_t *handle = NULL; in ext4_ioctl()
334 handle_t *handle; in ext4_ioctl()
650 handle_t *handle; in ext4_ioctl()
Dext4_extents.h270 int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle,
Dialloc.c228 void ext4_free_inode(handle_t *handle, struct inode *inode) in ext4_free_inode()
710 struct inode *__ext4_new_inode(handle_t *handle, struct inode *dir, in __ext4_new_inode()
1261 handle_t *handle; in ext4_init_inode_table()
Dpage-io.c167 handle_t *handle = io->handle; in ext4_end_io()
Dfile.c275 handle_t *handle; in ext4_file_open()
Dmove_extent.c267 handle_t *handle; in move_extent_per_page()
Dballoc.c621 ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode, in ext4_new_meta_blocks()
Dsuper.c5184 handle_t *handle; in ext4_write_dquot()
5202 handle_t *handle; in ext4_acquire_dquot()
5218 handle_t *handle; in ext4_release_dquot()
5252 handle_t *handle; in ext4_write_info()
5397 handle_t *handle; in ext4_quota_off()
5468 handle_t *handle = journal_current_handle(); in ext4_quota_write()
Dmballoc.c2871 handle_t *handle, unsigned int reserv_clstrs) in ext4_mb_mark_diskspace_used()
4394 ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle, in ext4_mb_new_blocks()
4553 ext4_mb_free_metadata(handle_t *handle, struct ext4_buddy *e4b, in ext4_mb_free_metadata()
4637 void ext4_free_blocks(handle_t *handle, struct inode *inode, in ext4_free_blocks()
4890 int ext4_group_add_blocks(handle_t *handle, struct super_block *sb, in ext4_group_add_blocks()
/linux-4.1.27/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.h96 int ocfs2_insert_extent(handle_t *handle,
109 int ocfs2_add_clusters_in_btree(handle_t *handle,
119 int ocfs2_split_extent(handle_t *handle,
128 handle_t *handle, u32 cpos, u32 len, u32 phys,
131 int ocfs2_change_extent_flag(handle_t *handle,
137 int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et,
187 handle_t *handle,
229 int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle,
273 void ocfs2_map_and_dirty_page(struct inode *inode, handle_t *handle,
310 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,
Dacl.h31 int ocfs2_set_acl(handle_t *handle,
39 extern int ocfs2_init_acl(handle_t *, struct inode *, struct inode *,
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 *,
Dfile.h50 handle_t *handle,
54 int ocfs2_set_inode_size(handle_t *handle,
Dsuballoc.c85 static int ocfs2_block_group_fill(handle_t *handle,
110 handle_t *handle,
116 static int ocfs2_relink_block_group(handle_t *handle,
373 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
451 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
496 handle_t *handle, in ocfs2_block_group_claim_bits()
515 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
577 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
608 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
696 handle_t *handle = NULL; in ocfs2_block_group_alloc()
[all …]
Djournal.c348 handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs) in ocfs2_start_trans()
351 handle_t *handle; in ocfs2_start_trans()
389 handle_t *handle) in ocfs2_commit_trans()
426 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
471 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans()
650 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.c529 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access()
571 static void ocfs2_adjust_rightmost_records(handle_t *handle,
726 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access()
747 handle_t *handle, in ocfs2_journal_access_path()
997 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1104 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1157 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1340 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1510 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
2030 static void ocfs2_complete_edge_insert(handle_t *handle, in ocfs2_complete_edge_insert()
[all …]
Dlocalalloc.c61 handle_t *handle,
72 handle_t *handle,
381 handle_t *handle; in ocfs2_shutdown_local_alloc()
563 handle_t *handle; in ocfs2_complete_local_alloc_recovery()
729 handle_t *handle, in ocfs2_claim_local_alloc_bits()
785 handle_t *handle, in ocfs2_free_local_alloc_bits()
964 handle_t *handle, in ocfs2_sync_local_to_main()
1163 handle_t *handle, in ocfs2_local_alloc_new_window()
1256 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window()
Ddir.c76 handle_t *handle,
170 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer()
1116 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry()
1154 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry()
1258 static int ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir, in ocfs2_delete_entry_dx()
1374 static inline int ocfs2_delete_entry_id(handle_t *handle, in ocfs2_delete_entry_id()
1401 static inline int ocfs2_delete_entry_el(handle_t *handle, in ocfs2_delete_entry_el()
1414 int ocfs2_delete_entry(handle_t *handle, in ocfs2_delete_entry()
1483 static int __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle, in __ocfs2_dx_dir_leaf_insert()
1506 static void ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_inline_root_insert()
[all …]
Drefcounttree.c68 int (*cow_duplicate_clusters)(handle_t *handle,
563 handle_t *handle = NULL; in ocfs2_create_refcount_tree()
705 handle_t *handle = NULL; in ocfs2_set_refcount_tree()
767 handle_t *handle = NULL; in ocfs2_remove_refcount_tree()
1245 static int ocfs2_change_refcount_rec(handle_t *handle, in ocfs2_change_refcount_rec()
1286 static int ocfs2_expand_inline_ref_root(handle_t *handle, in ocfs2_expand_inline_ref_root()
1526 static int ocfs2_new_leaf_refcount_block(handle_t *handle, in ocfs2_new_leaf_refcount_block()
1622 static int ocfs2_expand_refcount_tree(handle_t *handle, in ocfs2_expand_refcount_tree()
1664 static int ocfs2_adjust_refcount_rec(handle_t *handle, in ocfs2_adjust_refcount_rec()
1748 static int ocfs2_insert_refcount_rec(handle_t *handle, in ocfs2_insert_refcount_rec()
[all …]
Dnamei.h34 handle_t *handle,
Dnamei.c75 handle_t *handle,
86 handle_t *handle,
95 handle_t *handle,
242 handle_t *handle = NULL; in ocfs2_mknod()
502 handle_t *handle, in __ocfs2_mknod_locked()
615 handle_t *handle, in ocfs2_mknod_locked()
672 handle_t *handle; in ocfs2_link()
870 handle_t *handle = NULL; in ocfs2_unlink()
1202 handle_t *handle = NULL; in ocfs2_rename()
1649 handle_t *handle, in ocfs2_create_symlink_data()
[all …]
Dacl.c169 handle_t *handle, umode_t new_mode) in ocfs2_acl_set_mode()
224 int ocfs2_set_acl(handle_t *handle, in ocfs2_set_acl()
340 int ocfs2_init_acl(handle_t *handle, in ocfs2_init_acl()
Dquota_global.c224 handle_t *handle = journal_current_handle(); in ocfs2_quota_write()
593 handle_t *handle; in ocfs2_sync_dquot_helper()
648 handle_t *handle; in ocfs2_write_dquot()
706 handle_t *handle; in ocfs2_release_dquot()
788 handle_t *handle; in ocfs2_acquire_dquot()
876 handle_t *handle; in ocfs2_mark_dquot_dirty()
925 handle_t *handle; in ocfs2_write_info()
Dxattr.c78 handle_t *handle;
148 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc,
150 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc);
298 static int ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle,
428 static int ocfs2_xattr_bucket_journal_access(handle_t *handle, in ocfs2_xattr_bucket_journal_access()
447 static void ocfs2_xattr_bucket_journal_dirty(handle_t *handle, in ocfs2_xattr_bucket_journal_dirty()
719 handle_t *handle = ctxt->handle; in ocfs2_xattr_extend_allocation()
785 handle_t *handle = ctxt->handle; in __ocfs2_remove_xattr_range()
1337 handle_t *handle, in __ocfs2_xattr_set_value_outside()
1431 static int ocfs2_xa_journal_access(handle_t *handle, struct ocfs2_xa_loc *loc, in ocfs2_xa_journal_access()
[all …]
Dfile.c264 handle_t *handle; in ocfs2_update_inode_atime()
298 int ocfs2_set_inode_size(handle_t *handle, in ocfs2_set_inode_size()
325 handle_t *handle = NULL; in ocfs2_simple_size_update()
384 handle_t *handle; in ocfs2_orphan_for_truncate()
544 handle_t *handle, in ocfs2_add_inode_data()
569 handle_t *handle = NULL; in __ocfs2_extend_allocation()
723 static handle_t *ocfs2_zero_start_ordered_transaction(struct inode *inode, in ocfs2_zero_start_ordered_transaction()
727 handle_t *handle = NULL; in ocfs2_zero_start_ordered_transaction()
770 handle_t *handle; in ocfs2_write_zero_page()
1133 handle_t *handle = NULL; in ocfs2_setattr()
[all …]
Dquota.h116 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot);
Dquota_local.c97 handle_t *handle; in ocfs2_modify_bh()
468 handle_t *handle; in ocfs2_recover_local_quota_file()
592 handle_t *handle; in ocfs2_finish_quota_recovery()
974 handle_t *handle; in ocfs2_local_quota_add_chunk()
1109 handle_t *handle; in ocfs2_extend_local_quota_file()
1273 int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot) in ocfs2_local_release_dquot()
Dresize.c86 static int ocfs2_update_last_group_and_inode(handle_t *handle, in ocfs2_update_last_group_and_inode()
267 handle_t *handle; in ocfs2_group_extend()
456 handle_t *handle; in ocfs2_group_add()
Dmove_extents.c58 static int __ocfs2_move_extent(handle_t *handle, in __ocfs2_move_extent()
231 handle_t *handle; in ocfs2_defrag_extent()
570 handle_t *handle; in ocfs2_move_extent()
901 handle_t *handle; in ocfs2_move_extents()
Dinode.h156 int ocfs2_mark_inode_dirty(handle_t *handle,
Daops.c425 int walk_page_buffers( handle_t *handle, in walk_page_buffers()
430 int (*fn)( handle_t *handle, in walk_page_buffers()
1231 handle_t *w_handle;
1839 handle_t *handle; in ocfs2_write_begin_inline()
2055 handle_t *handle; in ocfs2_write_begin_nolock()
2345 handle_t *handle = wc->w_handle; in ocfs2_write_end_nolock()
Dinode.c559 handle_t *handle = NULL; in ocfs2_truncate_for_delete()
619 handle_t *handle; in ocfs2_remove_inode()
1250 int ocfs2_mark_inode_dirty(handle_t *handle, in ocfs2_mark_inode_dirty()
Docfs2.h470 typedef int (*ocfs2_journal_access_func)(handle_t *handle,
Dioctl.c84 handle_t *handle = NULL; in ocfs2_set_inode_attr()
/linux-4.1.27/include/linux/
Djbd.h99 typedef struct handle_s handle_t; /* Atomic operation type */ typedef
841 static inline handle_t *journal_current_handle(void) in journal_current_handle()
852 extern handle_t *journal_start(journal_t *, int nblocks);
853 extern int journal_restart (handle_t *, int nblocks);
854 extern int journal_extend (handle_t *, int nblocks);
855 extern int journal_get_write_access(handle_t *, struct buffer_head *);
856 extern int journal_get_create_access (handle_t *, struct buffer_head *);
857 extern int journal_get_undo_access(handle_t *, struct buffer_head *);
858 extern int journal_dirty_data (handle_t *, struct buffer_head *);
859 extern int journal_dirty_metadata (handle_t *, struct buffer_head *);
[all …]
Djbd2.h92 typedef struct jbd2_journal_handle handle_t; /* Atomic operation type */ typedef
427 handle_t *h_rsv_handle;
1106 static inline handle_t *journal_current_handle(void) in journal_current_handle()
1117 extern handle_t *jbd2_journal_start(journal_t *, int nblocks);
1118 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,
1121 extern int jbd2_journal_restart(handle_t *, int nblocks);
1122 extern int jbd2__journal_restart(handle_t *, int nblocks, gfp_t gfp_mask);
1123 extern int jbd2_journal_start_reserved(handle_t *handle,
1125 extern void jbd2_journal_free_reserved(handle_t *handle);
1126 extern int jbd2_journal_extend (handle_t *, int nblocks);
[all …]
/linux-4.1.27/fs/ext3/
Dext3_jbd.c7 int __ext3_journal_get_undo_access(const char *where, handle_t *handle, in __ext3_journal_get_undo_access()
16 int __ext3_journal_get_write_access(const char *where, handle_t *handle, in __ext3_journal_get_write_access()
25 int __ext3_journal_forget(const char *where, handle_t *handle, in __ext3_journal_forget()
34 int __ext3_journal_revoke(const char *where, handle_t *handle, in __ext3_journal_revoke()
44 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_create_access()
53 handle_t *handle, struct buffer_head *bh) in __ext3_journal_dirty_metadata()
Dext3.h999 extern ext3_fsblk_t ext3_new_block (handle_t *handle, struct inode *inode,
1001 extern ext3_fsblk_t ext3_new_blocks (handle_t *handle, struct inode *inode,
1003 extern void ext3_free_blocks (handle_t *handle, struct inode *inode,
1005 extern void ext3_free_blocks_sb (handle_t *handle, struct super_block *sb,
1035 extern struct inode * ext3_new_inode (handle_t *, struct inode *,
1037 extern void ext3_free_inode (handle_t *, struct inode *);
1046 int ext3_forget(handle_t *handle, int is_metadata, struct inode *inode,
1048 struct buffer_head * ext3_getblk (handle_t *, struct inode *, long, int, int *);
1049 struct buffer_head * ext3_bread (handle_t *, struct inode *, int, int, int *);
1050 int ext3_get_blocks_handle(handle_t *handle, struct inode *inode,
[all …]
Dxattr.h69 extern int ext3_xattr_set_handle(handle_t *, struct inode *, int, const char *, const void *, size_…
71 extern void ext3_xattr_delete_inode(handle_t *, struct inode *);
96 ext3_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext3_xattr_set_handle()
103 ext3_xattr_delete_inode(handle_t *handle, struct inode *inode) in ext3_xattr_delete_inode()
128 extern int ext3_init_security(handle_t *handle, struct inode *inode,
131 static inline int ext3_init_security(handle_t *handle, struct inode *inode, in ext3_init_security()
Dinode.c58 int ext3_forget(handle_t *handle, int is_metadata, struct inode *inode, in ext3_forget()
136 static handle_t *start_transaction(struct inode *inode) in start_transaction()
138 handle_t *result; in start_transaction()
154 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction()
168 static int truncate_restart_transaction(handle_t *handle, struct inode *inode) in truncate_restart_transaction()
192 handle_t *handle; in ext3_evict_inode()
575 static int ext3_alloc_blocks(handle_t *handle, struct inode *inode, in ext3_alloc_blocks()
653 static int ext3_alloc_branch(handle_t *handle, struct inode *inode, in ext3_alloc_branch()
747 static int ext3_splice_branch(handle_t *handle, struct inode *inode, in ext3_splice_branch()
857 int ext3_get_blocks_handle(handle_t *handle, struct inode *inode, in ext3_get_blocks_handle()
[all …]
Dacl.h59 extern int ext3_init_acl (handle_t *, struct inode *, struct inode *);
67 ext3_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext3_init_acl()
Dxattr_security.c51 handle_t *handle = fs_info; in ext3_initxattrs()
66 ext3_init_security(handle_t *handle, struct inode *inode, struct inode *dir, in ext3_init_security()
Dacl.c186 __ext3_set_acl(handle_t *handle, struct inode *inode, int type, in __ext3_set_acl()
239 handle_t *handle; in ext3_set_acl()
260 ext3_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext3_init_acl()
Dnamei.c40 static struct buffer_head *ext3_append(handle_t *handle, in ext3_append()
165 static int ext3_dx_add_entry(handle_t *handle, struct dentry *dentry,
1138 static struct ext3_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
1242 static int add_dirent_to_buf(handle_t *handle, struct dentry *dentry, in add_dirent_to_buf()
1330 static int make_indexed_dir(handle_t *handle, struct dentry *dentry, in make_indexed_dir()
1435 static int ext3_add_entry (handle_t *handle, struct dentry *dentry, in ext3_add_entry()
1485 static int ext3_dx_add_entry(handle_t *handle, struct dentry *dentry, in ext3_dx_add_entry()
1623 static int ext3_delete_entry (handle_t *handle, in ext3_delete_entry()
1668 static int ext3_add_nondir(handle_t *handle, in ext3_add_nondir()
1695 handle_t *handle; in ext3_create()
[all …]
Dnamei.h10 static inline struct buffer_head *ext3_dir_bread(handle_t *handle, in ext3_dir_bread()
Dresize.c112 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
158 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction()
197 handle_t *handle; in setup_new_group_blocks()
427 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb()
579 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb()
705 handle_t *handle; in update_backups()
792 handle_t *handle; in ext3_group_add()
998 handle_t *handle; in ext3_group_extend()
Dioctl.c30 handle_t *handle = NULL; in ext3_ioctl()
116 handle_t *handle; in ext3_ioctl()
Dballoc.c490 void ext3_free_blocks_sb(handle_t *handle, struct super_block *sb, in ext3_free_blocks_sb()
680 void ext3_free_blocks(handle_t *handle, struct inode *inode, in ext3_free_blocks()
876 ext3_try_to_allocate(struct super_block *sb, handle_t *handle, int group, in ext3_try_to_allocate()
1315 ext3_try_to_allocate_with_rsv(struct super_block *sb, handle_t *handle, in ext3_try_to_allocate_with_rsv()
1486 ext3_fsblk_t ext3_new_blocks(handle_t *handle, struct inode *inode, in ext3_new_blocks()
1763 ext3_fsblk_t ext3_new_block(handle_t *handle, struct inode *inode, in ext3_new_block()
1925 handle_t *handle; in ext3_trim_all_free()
Dxattr.c456 static void ext3_xattr_update_super_block(handle_t *handle, in ext3_xattr_update_super_block()
473 ext3_xattr_release_block(handle_t *handle, struct inode *inode, in ext3_xattr_release_block()
674 ext3_xattr_block_set(handle_t *handle, struct inode *inode, in ext3_xattr_block_set()
903 ext3_xattr_ibody_set(handle_t *handle, struct inode *inode, in ext3_xattr_ibody_set()
940 ext3_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext3_xattr_set_handle()
1055 handle_t *handle; in ext3_xattr_set()
1086 ext3_xattr_delete_inode(handle_t *handle, struct inode *inode) in ext3_xattr_delete_inode()
Dsuper.c69 handle_t *ext3_journal_start_sb(struct super_block *sb, int nblocks) in ext3_journal_start_sb()
89 int __ext3_journal_stop(const char *where, handle_t *handle) in __ext3_journal_stop()
107 struct buffer_head *bh, handle_t *handle, int err) in ext3_journal_abort_handle()
2882 handle_t *handle; in ext3_write_dquot()
2900 handle_t *handle; in ext3_acquire_dquot()
2916 handle_t *handle; in ext3_release_dquot()
2947 handle_t *handle; in ext3_write_info()
3063 handle_t *handle = journal_current_handle(); in ext3_quota_write()
Dialloc.c79 void ext3_free_inode (handle_t *handle, struct inode * inode) in ext3_free_inode()
346 struct inode *ext3_new_inode(handle_t *handle, struct inode * dir, in ext3_new_inode()
/linux-4.1.27/fs/jbd/
Dtransaction.c84 static int start_this_handle(journal_t *journal, handle_t *handle) in start_this_handle()
243 static handle_t *new_handle(int nblocks) in new_handle()
245 handle_t *handle = jbd_alloc_handle(GFP_NOFS); in new_handle()
271 handle_t *journal_start(journal_t *journal, int nblocks) in journal_start()
273 handle_t *handle = journal_current_handle(); in journal_start()
320 int journal_extend(handle_t *handle, int nblocks) in journal_extend()
386 int journal_restart(handle_t *handle, int nblocks) in journal_restart()
519 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access()
751 int journal_get_write_access(handle_t *handle, struct buffer_head *bh) in journal_get_write_access()
784 int journal_get_create_access(handle_t *handle, struct buffer_head *bh) in journal_get_create_access()
[all …]
Drevoke.c332 int journal_revoke(handle_t *handle, unsigned int blocknr, in journal_revoke()
423 int journal_cancel_revoke(handle_t *handle, struct journal_head *jh) in journal_cancel_revoke()
Djournal.c2078 sizeof(handle_t), in journal_init_handle_cache()
/linux-4.1.27/fs/jbd2/
Dtransaction.c257 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
381 static handle_t *new_handle(int nblocks) in new_handle()
383 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
414 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
418 handle_t *handle = journal_current_handle(); in jbd2__journal_start()
434 handle_t *rsv_handle; in jbd2__journal_start()
463 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
469 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
491 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
547 int jbd2_journal_extend(handle_t *handle, int nblocks) in jbd2_journal_extend()
[all …]
Drevoke.c329 int jbd2_journal_revoke(handle_t *handle, unsigned long long blocknr, in jbd2_journal_revoke()
420 int jbd2_journal_cancel_revoke(handle_t *handle, struct journal_head *jh) in jbd2_journal_cancel_revoke()