Lines Matching refs:handle
77 static int ocfs2_update_last_group_and_inode(handle_t *handle, in ocfs2_update_last_group_and_inode() argument
98 ret = ocfs2_journal_access_gd(handle, INODE_CACHE(bm_inode), in ocfs2_update_last_group_and_inode()
125 ocfs2_journal_dirty(handle, group_bh); in ocfs2_update_last_group_and_inode()
128 ret = ocfs2_journal_access_di(handle, INODE_CACHE(bm_inode), bm_bh, in ocfs2_update_last_group_and_inode()
153 ocfs2_journal_dirty(handle, bm_bh); in ocfs2_update_last_group_and_inode()
260 handle_t *handle; in ocfs2_group_extend() local
334 handle = ocfs2_start_trans(osb, OCFS2_GROUP_EXTEND_CREDITS); in ocfs2_group_extend()
335 if (IS_ERR(handle)) { in ocfs2_group_extend()
336 mlog_errno(PTR_ERR(handle)); in ocfs2_group_extend()
342 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend()
354 ocfs2_commit_trans(osb, handle); in ocfs2_group_extend()
449 handle_t *handle; in ocfs2_group_add() local
510 handle = ocfs2_start_trans(osb, OCFS2_GROUP_ADD_CREDITS); in ocfs2_group_add()
511 if (IS_ERR(handle)) { in ocfs2_group_add()
512 mlog_errno(PTR_ERR(handle)); in ocfs2_group_add()
521 ret = ocfs2_journal_access_gd(handle, INODE_CACHE(main_bm_inode), in ocfs2_group_add()
531 ocfs2_journal_dirty(handle, group_bh); in ocfs2_group_add()
533 ret = ocfs2_journal_access_di(handle, INODE_CACHE(main_bm_inode), in ocfs2_group_add()
555 ocfs2_journal_dirty(handle, main_bm_bh); in ocfs2_group_add()
566 ocfs2_commit_trans(osb, handle); in ocfs2_group_add()