Lines Matching refs:had_lock
1324 int ret, had_lock; in ocfs2_xattr_get() local
1328 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_xattr_get()
1329 if (had_lock < 0) { in ocfs2_xattr_get()
1330 mlog_errno(had_lock); in ocfs2_xattr_get()
1331 return had_lock; in ocfs2_xattr_get()
1338 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_xattr_get()
3534 int ret, credits, had_lock, ref_meta = 0, ref_credits = 0; in ocfs2_xattr_set() local
3570 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 1, &oh); in ocfs2_xattr_set()
3571 if (had_lock < 0) { in ocfs2_xattr_set()
3572 ret = had_lock; in ocfs2_xattr_set()
3669 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_xattr_set()