Home
last modified time | relevance | path

Searched refs:lockflags (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/
A Dxfs_qm.c1907 uint lockflags; in xfs_qm_vop_dqalloc() local
1914 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc()
1915 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1927 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1944 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1956 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1969 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1978 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1987 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1996 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
[all …]
A Dxfs_icache.c1229 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1257 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1400 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1420 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1426 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1433 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1540 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1543 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1547 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1549 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
A Dxfs_exchrange.c848 const unsigned int lockflags = XFS_IOLOCK_SHARED | in xfs_ioc_start_commit() local
859 xfs_ilock(ip2, lockflags); in xfs_ioc_start_commit()
869 xfs_iunlock(ip2, lockflags); in xfs_ioc_start_commit()
A Dxfs_file.c1465 int lockflags = 0; in xfs_file_fadvise() local
1472 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1473 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1476 if (lockflags) in xfs_file_fadvise()
1477 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
/fs/bcachefs/
A Drecovery_passes.c351 unsigned long lockflags; in __bch2_run_explicit_recovery_pass() local
352 spin_lock_irqsave(&r->lock, lockflags); in __bch2_run_explicit_recovery_pass()
404 spin_unlock_irqrestore(&r->lock, lockflags); in __bch2_run_explicit_recovery_pass()
/fs/xfs/scrub/
A Drepair.h122 # define xrep_rtgroup_init(sc, rtg, sr, lockflags) (-ENOSYS) argument
A Dcommon.h159 # define xchk_rtgroup_lock(sc, sr, lockflags) (-EFSCORRUPTED) argument

Completed in 20 milliseconds