Home
last modified time | relevance | path

Searched refs:di_bh (Results 1 – 10 of 10) sorted by relevance

/linux/fs/ocfs2/
H A Dacl.c115 struct buffer_head *di_bh) in ocfs2_get_acl_nolock() argument
133 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock()
138 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock()
159 static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, in ocfs2_acl_set_mode() argument
165 if (di_bh == NULL) { in ocfs2_acl_set_mode()
166 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_acl_set_mode()
172 get_bh(di_bh); in ocfs2_acl_set_mode()
186 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode()
187 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode()
201 ocfs2_journal_dirty(handle, di_bh); in ocfs2_acl_set_mode()
[all …]
H A Dfile.c315 struct buffer_head *di_bh, in ocfs2_simple_size_update() argument
329 ret = ocfs2_set_inode_size(handle, inode, di_bh, in ocfs2_simple_size_update()
440 struct buffer_head *di_bh, in ocfs2_truncate_file() argument
449 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file()
489 status = ocfs2_truncate_inline(inode, di_bh, new_i_size, in ocfs2_truncate_file()
501 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size); in ocfs2_truncate_file()
510 status = ocfs2_commit_truncate(osb, inode, di_bh); in ocfs2_truncate_file()
522 status = ocfs2_try_remove_refcount_tree(inode, di_bh); in ocfs2_truncate_file()
713 struct buffer_head *di_bh, in ocfs2_zero_start_ordered_transaction() argument
737 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_zero_start_ordered_transaction()
[all …]
H A Dfile.h44 struct buffer_head *di_bh,
47 struct buffer_head *di_bh,
49 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
51 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
72 struct buffer_head *di_bh, u64 byte_start,
H A Dinode.c713 struct buffer_head *di_bh, in ocfs2_remove_inode() argument
722 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode()
760 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_remove_inode()
769 ocfs2_journal_dirty(handle, di_bh); in ocfs2_remove_inode()
771 ocfs2_remove_from_cache(INODE_CACHE(inode), di_bh); in ocfs2_remove_inode()
827 struct buffer_head *di_bh) in ocfs2_wipe_inode() argument
833 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode()
868 status = ocfs2_truncate_for_delete(osb, inode, di_bh); in ocfs2_wipe_inode()
876 status = ocfs2_dx_dir_truncate(inode, di_bh); in ocfs2_wipe_inode()
884 status = ocfs2_xattr_remove(inode, di_bh); in ocfs2_wipe_inode()
[all …]
H A Drefcounttree.h46 struct buffer_head *di_bh,
95 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh);
97 struct buffer_head *di_bh);
H A Dmove_extents.c768 static int __ocfs2_move_extents_range(struct buffer_head *di_bh, in __ocfs2_move_extents_range() argument
776 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range()
788 ocfs2_init_dinode_extent_tree(&context->et, INODE_CACHE(inode), di_bh); in __ocfs2_move_extents_range()
914 struct buffer_head *di_bh = NULL; in ocfs2_move_extents() local
931 status = ocfs2_inode_lock(inode, &di_bh, 1); in ocfs2_move_extents()
942 status = __ocfs2_move_extents_range(di_bh, context); in ocfs2_move_extents()
960 status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_move_extents()
967 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
973 ocfs2_journal_dirty(handle, di_bh); in ocfs2_move_extents()
979 brelse(di_bh); in ocfs2_move_extents()
H A Dsuballoc.h76 struct buffer_head *di_bh,
80 struct buffer_head *di_bh,
H A Dnamei.h32 struct inode *inode, struct buffer_head *di_bh,
H A Dextent_map.h41 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
H A Ddir.h96 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);