Lines Matching refs:di_bh
116 struct buffer_head *di_bh) in ocfs2_get_acl_nolock() argument
134 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); in ocfs2_get_acl_nolock()
139 retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, in ocfs2_get_acl_nolock()
160 static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh, in ocfs2_acl_set_mode() argument
166 if (di_bh == NULL) { in ocfs2_acl_set_mode()
167 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_acl_set_mode()
173 get_bh(di_bh); in ocfs2_acl_set_mode()
187 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode()
188 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode()
202 ocfs2_journal_dirty(handle, di_bh); in ocfs2_acl_set_mode()
208 brelse(di_bh); in ocfs2_acl_set_mode()
218 struct buffer_head *di_bh, in ocfs2_set_acl() argument
252 ret = ocfs2_xattr_set_handle(handle, inode, di_bh, name_index, in ocfs2_set_acl()
293 struct buffer_head *di_bh = NULL; in ocfs2_iop_get_acl() local
302 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl()
307 acl = ocfs2_get_acl_nolock(inode, type, di_bh); in ocfs2_iop_get_acl()
311 brelse(di_bh); in ocfs2_iop_get_acl()
348 struct buffer_head *di_bh, in ocfs2_init_acl() argument
369 ret = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl()
378 ret = ocfs2_set_acl(handle, inode, di_bh, in ocfs2_init_acl()
389 ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode); in ocfs2_init_acl()
397 di_bh, ACL_TYPE_ACCESS, in ocfs2_init_acl()