Searched refs:ilock_flags (Results 1 - 11 of 11) sorted by relevance

/linux-master/fs/xfs/scrub/
H A Dcommon.h167 void xchk_ilock(struct xfs_scrub *sc, unsigned int ilock_flags);
168 bool xchk_ilock_nowait(struct xfs_scrub *sc, unsigned int ilock_flags);
169 void xchk_iunlock(struct xfs_scrub *sc, unsigned int ilock_flags);
H A Dcommon.c1110 unsigned int ilock_flags)
1112 xfs_ilock(sc->ip, ilock_flags);
1113 sc->ilock_flags |= ilock_flags;
1119 unsigned int ilock_flags)
1121 if (xfs_ilock_nowait(sc->ip, ilock_flags)) {
1122 sc->ilock_flags |= ilock_flags;
1132 unsigned int ilock_flags)
1134 sc->ilock_flags
1108 xchk_ilock( struct xfs_scrub *sc, unsigned int ilock_flags) argument
1117 xchk_ilock_nowait( struct xfs_scrub *sc, unsigned int ilock_flags) argument
1130 xchk_iunlock( struct xfs_scrub *sc, unsigned int ilock_flags) argument
[all...]
H A Dquotacheck.c396 uint ilock_flags = 0; local
420 ilock_flags = xfs_ilock_data_map_shared(ip);
425 ilock_flags = XFS_ILOCK_SHARED;
472 xfs_iunlock(ip, ilock_flags);
H A Dscrub.h106 uint ilock_flags; member in struct:xfs_scrub
H A Dscrub.c189 if (sc->ilock_flags)
190 xchk_iunlock(sc, sc->ilock_flags);
H A Dquota_repair.c550 if (!(sc->ilock_flags & XFS_ILOCK_EXCL))
567 xchk_iunlock(sc, sc->ilock_flags);
H A Dquota.c321 xchk_iunlock(sc, sc->ilock_flags);
H A Dbmap.c60 &sc->ilock_flags, BREAK_WRITE);
/linux-master/fs/btrfs/
H A Dbtrfs_inode.h557 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags);
558 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags);
H A Dfile.c1198 unsigned int ilock_flags = 0; local
1203 ilock_flags |= BTRFS_ILOCK_TRY;
1205 ret = btrfs_inode_lock(BTRFS_I(inode), ilock_flags);
1440 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
1469 unsigned int ilock_flags = 0; local
1473 ilock_flags |= BTRFS_ILOCK_TRY;
1482 ilock_flags |= BTRFS_ILOCK_SHARED;
1485 err = btrfs_inode_lock(BTRFS_I(inode), ilock_flags);
1490 if ((ilock_flags & BTRFS_ILOCK_SHARED) && !IS_NOSEC(inode)) {
1491 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
1498 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
1504 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
1515 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
1521 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
1552 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); local
[all...]
H A Dinode.c361 * ilock_flags can have the following bit set:
368 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) argument
370 if (ilock_flags & BTRFS_ILOCK_SHARED) {
371 if (ilock_flags & BTRFS_ILOCK_TRY) {
379 if (ilock_flags & BTRFS_ILOCK_TRY) {
387 if (ilock_flags & BTRFS_ILOCK_MMAP)
395 * ilock_flags should contain the same bits set as passed to btrfs_inode_lock()
398 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) argument
400 if (ilock_flags & BTRFS_ILOCK_MMAP)
402 if (ilock_flags
[all...]

Completed in 333 milliseconds