Lines Matching refs:had_lock
1334 int ret, had_lock; in ocfs2_xattr_get() local
1338 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_xattr_get()
1339 if (had_lock < 0) { in ocfs2_xattr_get()
1340 mlog_errno(had_lock); in ocfs2_xattr_get()
1341 return had_lock; in ocfs2_xattr_get()
1348 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_xattr_get()
3544 int ret, credits, had_lock, ref_meta = 0, ref_credits = 0; in ocfs2_xattr_set() local
3580 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 1, &oh); in ocfs2_xattr_set()
3581 if (had_lock < 0) { in ocfs2_xattr_set()
3582 ret = had_lock; in ocfs2_xattr_set()
3679 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_xattr_set()