Searched refs:ilock_flags (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.6/fs/xfs/scrub/ |
| D | common.c | 1039 unsigned int ilock_flags) in xchk_ilock() argument 1041 xfs_ilock(sc->ip, ilock_flags); in xchk_ilock() 1042 sc->ilock_flags |= ilock_flags; in xchk_ilock() 1048 unsigned int ilock_flags) in xchk_ilock_nowait() argument 1050 if (xfs_ilock_nowait(sc->ip, ilock_flags)) { in xchk_ilock_nowait() 1051 sc->ilock_flags |= ilock_flags; in xchk_ilock_nowait() 1061 unsigned int ilock_flags) in xchk_iunlock() argument 1063 sc->ilock_flags &= ~ilock_flags; in xchk_iunlock() 1064 xfs_iunlock(sc->ip, ilock_flags); in xchk_iunlock()
|
| D | common.h | 148 void xchk_ilock(struct xfs_scrub *sc, unsigned int ilock_flags); 149 bool xchk_ilock_nowait(struct xfs_scrub *sc, unsigned int ilock_flags); 150 void xchk_iunlock(struct xfs_scrub *sc, unsigned int ilock_flags);
|
| D | scrub.c | 180 if (sc->ilock_flags) in xchk_teardown() 181 xchk_iunlock(sc, sc->ilock_flags); in xchk_teardown()
|
| D | scrub.h | 95 uint ilock_flags; member
|
| D | quota.c | 241 xchk_iunlock(sc, sc->ilock_flags); in xchk_quota()
|
| /Linux-v6.6/fs/btrfs/ |
| D | file.c | 1193 unsigned int ilock_flags = 0; in btrfs_buffered_write() local 1198 ilock_flags |= BTRFS_ILOCK_TRY; in btrfs_buffered_write() 1200 ret = btrfs_inode_lock(BTRFS_I(inode), ilock_flags); in btrfs_buffered_write() 1435 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); in btrfs_buffered_write() 1464 unsigned int ilock_flags = 0; in btrfs_direct_write() local 1468 ilock_flags |= BTRFS_ILOCK_TRY; in btrfs_direct_write() 1477 ilock_flags |= BTRFS_ILOCK_SHARED; in btrfs_direct_write() 1480 err = btrfs_inode_lock(BTRFS_I(inode), ilock_flags); in btrfs_direct_write() 1485 if ((ilock_flags & BTRFS_ILOCK_SHARED) && !IS_NOSEC(inode)) { in btrfs_direct_write() 1486 btrfs_inode_unlock(BTRFS_I(inode), ilock_flags); in btrfs_direct_write() [all …]
|
| D | btrfs_inode.h | 528 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags); 529 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags);
|
| D | inode.c | 360 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_lock() argument 362 if (ilock_flags & BTRFS_ILOCK_SHARED) { in btrfs_inode_lock() 363 if (ilock_flags & BTRFS_ILOCK_TRY) { in btrfs_inode_lock() 371 if (ilock_flags & BTRFS_ILOCK_TRY) { in btrfs_inode_lock() 379 if (ilock_flags & BTRFS_ILOCK_MMAP) in btrfs_inode_lock() 390 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock() argument 392 if (ilock_flags & BTRFS_ILOCK_MMAP) in btrfs_inode_unlock() 394 if (ilock_flags & BTRFS_ILOCK_SHARED) in btrfs_inode_unlock()
|