Searched refs:had_lock (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/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-6.1.9/fs/ocfs2/ |
D | acl.c | 267 int status, had_lock; in ocfs2_iop_set_acl() local 270 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_iop_set_acl() 271 if (had_lock < 0) in ocfs2_iop_set_acl() 272 return had_lock; in ocfs2_iop_set_acl() 287 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_iop_set_acl() 297 int had_lock; in ocfs2_iop_get_acl() local 307 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl() 308 if (had_lock < 0) in ocfs2_iop_get_acl() 309 return ERR_PTR(had_lock); in ocfs2_iop_get_acl() 315 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()
|
D | file.c | 1126 int had_lock; in ocfs2_setattr() local 1170 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_setattr() 1171 if (had_lock < 0) { in ocfs2_setattr() 1172 status = had_lock; in ocfs2_setattr() 1174 } else if (had_lock) { in ocfs2_setattr() 1281 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_setattr() 1299 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_setattr() 1340 int ret, had_lock; in ocfs2_permission() local 1346 had_lock = ocfs2_inode_lock_tracker(inode, NULL, 0, &oh); in ocfs2_permission() 1347 if (had_lock < 0) { in ocfs2_permission() [all …]
|
D | dlmglue.h | 207 int had_lock);
|
D | xattr.c | 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() [all …]
|
D | refcounttree.c | 4223 int error, had_lock; in ocfs2_reflink() local 4269 had_lock = ocfs2_inode_lock_tracker(new_orphan_inode, NULL, 1, in ocfs2_reflink() 4271 if (had_lock < 0) { in ocfs2_reflink() 4272 error = had_lock; in ocfs2_reflink() 4290 ocfs2_inode_unlock_tracker(new_orphan_inode, 1, &oh, had_lock); in ocfs2_reflink()
|
D | dlmglue.c | 2731 int had_lock) in ocfs2_inode_unlock_tracker() argument 2741 if (!had_lock) { in ocfs2_inode_unlock_tracker()
|