Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A Dcommon.c1299 unsigned int ilock_flags) in xchk_ilock() argument
1301 xfs_ilock(sc->ip, ilock_flags); in xchk_ilock()
1302 sc->ilock_flags |= ilock_flags; in xchk_ilock()
1308 unsigned int ilock_flags) in xchk_ilock_nowait() argument
1310 if (xfs_ilock_nowait(sc->ip, ilock_flags)) { in xchk_ilock_nowait()
1311 sc->ilock_flags |= ilock_flags; in xchk_ilock_nowait()
1321 unsigned int ilock_flags) in xchk_iunlock() argument
1323 sc->ilock_flags &= ~ilock_flags; in xchk_iunlock()
1324 xfs_iunlock(sc->ip, ilock_flags); in xchk_iunlock()
H A Dcommon.h177 void xchk_ilock(struct xfs_scrub *sc, unsigned int ilock_flags);
178 bool xchk_ilock_nowait(struct xfs_scrub *sc, unsigned int ilock_flags);
179 void xchk_iunlock(struct xfs_scrub *sc, unsigned int ilock_flags);
H A Dscrub.c219 sc->ilock_flags = sub->sc.ilock_flags; in xchk_scrub_free_subord()
245 if (sc->ilock_flags) in xchk_teardown()
246 xchk_iunlock(sc, sc->ilock_flags); in xchk_teardown()
H A Dparent_repair.c569 if (sc->ilock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) in xrep_parent_scan_dirtree()
570 xchk_iunlock(sc, sc->ilock_flags & (XFS_ILOCK_SHARED | in xrep_parent_scan_dirtree()
679 ASSERT(sc->ilock_flags & XFS_ILOCK_EXCL); in xrep_parent_reset_dotdot()
810 xchk_iunlock(sc, sc->ilock_flags); in xrep_parent_move_to_orphanage()
H A Ddir_repair.c1289 if (sc->ilock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) in xrep_dir_scan_dirtree()
1290 xchk_iunlock(sc, sc->ilock_flags & (XFS_ILOCK_SHARED | in xrep_dir_scan_dirtree()
1647 ASSERT(sc->ilock_flags & XFS_ILOCK_EXCL); in xrep_dir_swap()
1860 xchk_iunlock(sc, sc->ilock_flags); in xrep_dir_move_to_orphanage()
H A Dscrub.h171 uint ilock_flags; member
H A Dtempfile.c376 sc->ilock_flags |= XFS_ILOCK_EXCL; in xrep_tempfile_ilock_both()
868 sc->ilock_flags |= XFS_ILOCK_EXCL; in xrep_tempexch_trans_alloc()
H A Dparent.c610 xchk_iunlock(sc, sc->ilock_flags); in xchk_parent_slow_pptr()
H A Dbmap.c63 &sc->ilock_flags, BREAK_WRITE); in xchk_setup_inode_bmap()