Home
last modified time | relevance | path

Searched refs:iolock (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_file.c288 int *iolock) in xfs_file_aio_write_checks() argument
303 error = xfs_break_layouts(inode, iolock, BREAK_WRITE); in xfs_file_aio_write_checks()
311 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { in xfs_file_aio_write_checks()
312 xfs_iunlock(ip, *iolock); in xfs_file_aio_write_checks()
313 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
314 xfs_ilock(ip, *iolock); in xfs_file_aio_write_checks()
337 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_aio_write_checks()
338 xfs_iunlock(ip, *iolock); in xfs_file_aio_write_checks()
339 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
340 xfs_ilock(ip, *iolock); in xfs_file_aio_write_checks()
[all …]
Dxfs_pnfs.c36 uint *iolock, in xfs_break_leased_layouts() argument
43 xfs_iunlock(ip, *iolock); in xfs_break_leased_layouts()
46 *iolock &= ~XFS_IOLOCK_SHARED; in xfs_break_leased_layouts()
47 *iolock |= XFS_IOLOCK_EXCL; in xfs_break_leased_layouts()
48 xfs_ilock(ip, *iolock); in xfs_break_leased_layouts()
Dxfs_pnfs.h12 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
Dxfs_iops.c1061 uint iolock; in xfs_vn_setattr() local
1064 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
1066 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP); in xfs_vn_setattr()
Dxfs_inode.h465 int xfs_break_layouts(struct inode *inode, uint *iolock,
Dxfs_ioctl.c604 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_ioc_space() local
633 xfs_ilock(ip, iolock); in xfs_ioc_space()
634 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP); in xfs_ioc_space()
726 xfs_iunlock(ip, iolock); in xfs_ioc_space()
/linux-4.19.296/include/net/
Daf_unix.h58 struct mutex iolock, bindlock; member
/linux-4.19.296/include/linux/mfd/
Dmax8998-private.h157 struct mutex iolock; member
Dmax8997-private.h388 struct mutex iolock; member
/linux-4.19.296/include/media/
Dvideobuf-core.h125 int (*iolock) (struct videobuf_queue *q, member
/linux-4.19.296/drivers/media/v4l2-core/
Dvideobuf-vmalloc.c295 .iolock = __videobuf_iolock,
Dvideobuf-dma-contig.c346 .iolock = __videobuf_iolock,
Dvideobuf-dma-sg.c657 .iolock = __videobuf_iolock,
Dvideobuf-core.c129 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()