Searched refs:ilock_flags (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/xfs/scrub/ |
| H A D | common.c | 1299 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 D | common.h | 177 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 D | scrub.c | 219 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 D | parent_repair.c | 569 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 D | dir_repair.c | 1289 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 D | scrub.h | 171 uint ilock_flags; member
|
| H A D | tempfile.c | 376 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 D | parent.c | 610 xchk_iunlock(sc, sc->ilock_flags); in xchk_parent_slow_pptr()
|
| H A D | bmap.c | 63 &sc->ilock_flags, BREAK_WRITE); in xchk_setup_inode_bmap()
|