Searched refs:iolock (Results 1 – 6 of 6) sorted by relevance
/fs/xfs/ |
D | xfs_file.c | 333 int *iolock) in xfs_file_aio_write_checks() argument 348 error = xfs_break_layouts(inode, iolock, BREAK_WRITE); in xfs_file_aio_write_checks() 356 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { in xfs_file_aio_write_checks() 357 xfs_iunlock(ip, *iolock); in xfs_file_aio_write_checks() 358 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks() 359 xfs_ilock(ip, *iolock); in xfs_file_aio_write_checks() 382 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_aio_write_checks() 383 xfs_iunlock(ip, *iolock); in xfs_file_aio_write_checks() 384 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks() 385 xfs_ilock(ip, *iolock); in xfs_file_aio_write_checks() [all …]
|
D | xfs_pnfs.c | 30 uint *iolock, in xfs_break_leased_layouts() argument 37 xfs_iunlock(ip, *iolock); in xfs_break_leased_layouts() 40 *iolock &= ~XFS_IOLOCK_SHARED; in xfs_break_leased_layouts() 41 *iolock |= XFS_IOLOCK_EXCL; in xfs_break_leased_layouts() 42 xfs_ilock(ip, *iolock); in xfs_break_leased_layouts()
|
D | xfs_pnfs.h | 12 int xfs_break_leased_layouts(struct inode *inode, uint *iolock, 16 xfs_break_leased_layouts(struct inode *inode, uint *iolock, bool *did_unlock) in xfs_break_leased_layouts() argument
|
D | xfs_iops.c | 1027 uint iolock; in xfs_vn_setattr() local 1030 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr() 1032 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP); in xfs_vn_setattr()
|
D | xfs_inode.h | 434 int xfs_break_layouts(struct inode *inode, uint *iolock,
|
D | xfs_ioctl.c | 638 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_ioc_space() local 662 xfs_ilock(ip, iolock); in xfs_ioc_space() 663 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP); in xfs_ioc_space() 704 xfs_iunlock(ip, iolock); in xfs_ioc_space()
|