Searched refs:ilock_flags (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.15/fs/xfs/scrub/ |
| D | rtbitmap.c | 31 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() 132 uint old_ilock_flags = sc->ilock_flags; in xchk_rtsummary() 143 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTSUM; in xchk_rtsummary() 144 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_rtsummary() 155 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_rtsummary() 156 sc->ilock_flags = old_ilock_flags; in xchk_rtsummary()
|
| D | quota.c | 60 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_setup_quota() 233 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_quota() 234 sc->ilock_flags = 0; in xchk_quota() 238 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_quota() 239 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_quota()
|
| D | parent.c | 207 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_parent_validate() 208 sc->ilock_flags = 0; in xchk_parent_validate() 223 sc->ilock_flags = XFS_IOLOCK_EXCL; in xchk_parent_validate() 292 sc->ilock_flags &= ~(XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
|
| D | inode.c | 51 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode() 52 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_inode() 56 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode()
|
| D | scrub.c | 165 if (sc->ilock_flags) in xchk_teardown() 166 xfs_iunlock(sc->ip, sc->ilock_flags); in xchk_teardown()
|
| D | common.c | 715 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents() 716 xfs_ilock(sc->ip, sc->ilock_flags); in xchk_setup_inode_contents() 720 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode_contents()
|
| D | scrub.h | 73 uint ilock_flags; member
|
| D | bmap.c | 38 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() 76 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode_bmap()
|
| D | dir.c | 855 sc->ilock_flags &= ~XFS_ILOCK_EXCL; in xchk_directory()
|
| /Linux-v5.15/fs/btrfs/ |
| D | file.c | 1665 unsigned int ilock_flags = 0; in btrfs_buffered_write() local 1668 ilock_flags |= BTRFS_ILOCK_TRY; in btrfs_buffered_write() 1670 ret = btrfs_inode_lock(inode, ilock_flags); in btrfs_buffered_write() 1886 btrfs_inode_unlock(inode, ilock_flags); in btrfs_buffered_write() 1914 unsigned int ilock_flags = 0; in btrfs_direct_write() local 1918 ilock_flags |= BTRFS_ILOCK_TRY; in btrfs_direct_write() 1922 ilock_flags |= BTRFS_ILOCK_SHARED; in btrfs_direct_write() 1925 err = btrfs_inode_lock(inode, ilock_flags); in btrfs_direct_write() 1931 btrfs_inode_unlock(inode, ilock_flags); in btrfs_direct_write() 1937 btrfs_inode_unlock(inode, ilock_flags); in btrfs_direct_write() [all …]
|
| D | inode.c | 109 int btrfs_inode_lock(struct inode *inode, unsigned int ilock_flags) in btrfs_inode_lock() argument 111 if (ilock_flags & BTRFS_ILOCK_SHARED) { in btrfs_inode_lock() 112 if (ilock_flags & BTRFS_ILOCK_TRY) { in btrfs_inode_lock() 120 if (ilock_flags & BTRFS_ILOCK_TRY) { in btrfs_inode_lock() 128 if (ilock_flags & BTRFS_ILOCK_MMAP) in btrfs_inode_lock() 139 void btrfs_inode_unlock(struct inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock() argument 141 if (ilock_flags & BTRFS_ILOCK_MMAP) in btrfs_inode_unlock() 143 if (ilock_flags & BTRFS_ILOCK_SHARED) in btrfs_inode_unlock()
|
| D | ctree.h | 3230 int btrfs_inode_lock(struct inode *inode, unsigned int ilock_flags); 3231 void btrfs_inode_unlock(struct inode *inode, unsigned int ilock_flags);
|