Home
last modified time | relevance | path

Searched refs:ilock_flags (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/fs/xfs/scrub/
Drtbitmap.c31 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTBITMAP; in xchk_setup_rt()
33 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_rt()
88 uint old_ilock_flags = sc->ilock_flags; in xchk_rtsummary()
99 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTSUM; in xchk_rtsummary()
100 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_rtsummary()
111 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_rtsummary()
112 sc->ilock_flags = old_ilock_flags; in xchk_rtsummary()
Dquota.c61 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_setup_quota()
248 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_quota()
249 sc->ilock_flags = 0; in xchk_quota()
253 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_quota()
254 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_quota()
Dparent.c193 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_parent_validate()
194 sc->ilock_flags = 0; in xchk_parent_validate()
209 sc->ilock_flags = XFS_IOLOCK_EXCL; in xchk_parent_validate()
278 sc->ilock_flags &= ~(XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
Dinode.c52 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode()
53 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_inode()
57 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode()
Dscrub.c163 if (sc->ilock_flags) in xchk_teardown()
164 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_teardown()
Dcommon.c747 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents()
748 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_inode_contents()
752 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode_contents()
Dscrub.h64 uint ilock_flags; member
Dbmap.c38 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_bmap()
39 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_inode_bmap()
58 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode_bmap()
Ddir.c829 sc->ilock_flags &= ~XFS_ILOCK_EXCL; in xchk_directory()