Searched refs:lockmode (Results 1 – 3 of 3) sorted by relevance
162 int lockmode; in xfs_iomap_write_direct() local168 lockmode = XFS_ILOCK_SHARED; /* locked by caller */ in xfs_iomap_write_direct()170 ASSERT(xfs_isilocked(ip, lockmode)); in xfs_iomap_write_direct()212 xfs_iunlock(ip, lockmode); in xfs_iomap_write_direct()242 lockmode = XFS_ILOCK_EXCL; in xfs_iomap_write_direct()243 xfs_ilock(ip, lockmode); in xfs_iomap_write_direct()280 xfs_iunlock(ip, lockmode); in xfs_iomap_write_direct()940 unsigned *lockmode) in xfs_ilock_for_iomap() argument989 *lockmode = mode; in xfs_ilock_for_iomap()1007 unsigned lockmode; in xfs_file_iomap_begin() local[all …]
18 struct xfs_bmbt_irec *imap, bool *shared, uint *lockmode);
403 uint *lockmode) in xfs_reflink_allocate_cow() argument427 xfs_iunlock(ip, *lockmode); in xfs_reflink_allocate_cow()429 *lockmode = XFS_ILOCK_EXCL; in xfs_reflink_allocate_cow()430 xfs_ilock(ip, *lockmode); in xfs_reflink_allocate_cow()