Searched refs:had_lock (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/fs/gfs2/ |
D | dentry.c | 42 int had_lock = 0; in gfs2_drevalidate() local 63 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL); in gfs2_drevalidate() 64 if (!had_lock) { in gfs2_drevalidate() 73 if (!had_lock) in gfs2_drevalidate()
|
/Linux-v6.6/fs/ocfs2/ |
D | acl.c | 267 int status, had_lock; in ocfs2_iop_set_acl() local 271 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_iop_set_acl() 272 if (had_lock < 0) in ocfs2_iop_set_acl() 273 return had_lock; in ocfs2_iop_set_acl() 288 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_iop_set_acl() 298 int had_lock; in ocfs2_iop_get_acl() local 308 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl() 309 if (had_lock < 0) in ocfs2_iop_get_acl() 310 return ERR_PTR(had_lock); in ocfs2_iop_get_acl() 316 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()
|
D | file.c | 1123 int had_lock; in ocfs2_setattr() local 1167 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_setattr() 1168 if (had_lock < 0) { in ocfs2_setattr() 1169 status = had_lock; in ocfs2_setattr() 1171 } else if (had_lock) { in ocfs2_setattr() 1278 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_setattr() 1296 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_setattr() 1337 int ret, had_lock; in ocfs2_permission() local 1343 had_lock = ocfs2_inode_lock_tracker(inode, NULL, 0, &oh); in ocfs2_permission() 1344 if (had_lock < 0) { in ocfs2_permission() [all …]
|
D | dlmglue.h | 207 int had_lock);
|
D | xattr.c | 1320 int ret, had_lock; in ocfs2_xattr_get() local 1324 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_xattr_get() 1325 if (had_lock < 0) { in ocfs2_xattr_get() 1326 mlog_errno(had_lock); in ocfs2_xattr_get() 1327 return had_lock; in ocfs2_xattr_get() 1334 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_xattr_get() 3530 int ret, credits, had_lock, ref_meta = 0, ref_credits = 0; in ocfs2_xattr_set() local 3566 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 1, &oh); in ocfs2_xattr_set() 3567 if (had_lock < 0) { in ocfs2_xattr_set() 3568 ret = had_lock; in ocfs2_xattr_set() [all …]
|
D | refcounttree.c | 4224 int error, had_lock; in ocfs2_reflink() local 4270 had_lock = ocfs2_inode_lock_tracker(new_orphan_inode, NULL, 1, in ocfs2_reflink() 4272 if (had_lock < 0) { in ocfs2_reflink() 4273 error = had_lock; in ocfs2_reflink() 4291 ocfs2_inode_unlock_tracker(new_orphan_inode, 1, &oh, had_lock); in ocfs2_reflink()
|
D | dlmglue.c | 2734 int had_lock) in ocfs2_inode_unlock_tracker() argument 2744 if (!had_lock) { in ocfs2_inode_unlock_tracker()
|