Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_file.c160 * If a reflink remap is in progress we always need to take the iolock in xfs_file_fsync()
324 * function dropped the iolock and reacquired it exclusively and the caller in xfs_file_read_iter()
331 unsigned int *iolock, in xfs_file_read_iter()
362 * If zeroing is needed and we are currently holding the iolock
366 if (*iolock == XFS_IOLOCK_SHARED) {
367 xfs_iunlock(ip, *iolock);
368 *iolock = XFS_IOLOCK_EXCL;
369 xfs_ilock(ip, *iolock);
397 * Called with the iolock held either shared and exclusive according to in xfs_file_write_zero_eof()
398 * @iolock, an in xfs_file_write_zero_eof()
374 xfs_file_write_zero_eof(struct kiocb * iocb,struct iov_iter * from,unsigned int * iolock,size_t count,bool * drained_dio,struct xfs_zone_alloc_ctx * ac) xfs_file_write_zero_eof() argument
448 xfs_file_write_checks(struct kiocb * iocb,struct iov_iter * from,unsigned int * iolock,struct xfs_zone_alloc_ctx * ac) xfs_file_write_checks() argument
737 unsigned int iolock = XFS_IOLOCK_SHARED; xfs_file_dio_write_aligned() local
812 unsigned int iolock = XFS_IOLOCK_SHARED; xfs_file_dio_write_atomic() local
890 unsigned int iolock = XFS_IOLOCK_SHARED; xfs_file_dio_write_unaligned() local
988 unsigned int iolock = XFS_IOLOCK_EXCL; xfs_file_dax_write() local
1031 unsigned int iolock; xfs_file_buffered_write() local
1094 unsigned int iolock = XFS_IOLOCK_EXCL; xfs_file_buffered_write_zoned() local
1555 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; __xfs_file_fallocate() local
[all...]
H A Dxfs_zone_gc.c887 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_zone_gc_finish_chunk() local
905 * Cycle through the iolock and wait for direct I/O and layouts to in xfs_zone_gc_finish_chunk()
912 xfs_ilock(ip, iolock); in xfs_zone_gc_finish_chunk()
913 error = xfs_break_layouts(VFS_I(ip), &iolock, BREAK_UNMAP); in xfs_zone_gc_finish_chunk()
916 xfs_iunlock(ip, iolock); in xfs_zone_gc_finish_chunk()
H A Dxfs_iops.c1160 uint iolock; in xfs_vn_setattr()
1163 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
1165 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP);
1142 uint iolock; xfs_vn_setattr() local
H A Dxfs_inode.h449 * Bit ranges: 1<<1 - 1<<16-1 -- iolock/ilock modes (bitfield)
621 int xfs_break_layouts(struct inode *inode, uint *iolock,
H A Dxfs_inode.c378 * the iolock, the mmaplock or the ilock, but not more than one at a time. If we
478 * xfs_lock_two_inodes() can only be used to lock ilock. The iolock and
1332 * Note: don't bother with iolock here since lockdep complains about in xfs_inode_needs_inactive()
1435 * Note: don't bother with iolock here since lockdep complains in xfs_inactive()
2732 * Grab the exclusive iolock for a data copy from src to dest, making sure to in xfs_iolock_two_inodes_and_break_layout()
3067 uint *iolock, in xfs_inode_alloc_unitsize()
3084 error = xfs_break_leased_layouts(inode, iolock, &retry);
3029 xfs_break_layouts(struct inode * inode,uint * iolock,enum layout_break_reason reason) xfs_break_layouts() argument
/linux/net/unix/
H A Dunix_bpf.c32 mutex_unlock(&u->iolock); in unix_msg_wait_data()
34 mutex_lock(&u->iolock); in unix_msg_wait_data()
68 mutex_lock(&u->iolock); in unix_bpf_recvmsg()
71 mutex_unlock(&u->iolock); in unix_bpf_recvmsg()
87 mutex_unlock(&u->iolock); in unix_bpf_recvmsg()
93 mutex_unlock(&u->iolock); in unix_bpf_recvmsg()
H A Daf_unix.c1164 mutex_init(&u->iolock); /* single task reading lock */ in unix_create()
2603 mutex_lock(&u->iolock); in __unix_dgram_recvmsg()
2614 mutex_unlock(&u->iolock); in __unix_dgram_recvmsg()
2622 if (!skb) { /* implies iolock unlocked */ in __unix_dgram_recvmsg()
2689 mutex_unlock(&u->iolock); in unix_dgram_recvmsg()
2714 mutex_lock(&u->iolock); in unix_read_skb()
2718 mutex_unlock(&u->iolock);
2724 mutex_unlock(&u->iolock); in unix_stream_data_wait()
2788 mutex_lock(&u->iolock); in unix_stream_recv_urg()
2795 mutex_unlock(&u->iolock); in unix_stream_recv_urg()
[all...]
/linux/drivers/scsi/aic94xx/
H A Daic94xx_reg.c203 spin_lock_irqsave(&asd_ha->iolock, flags); \
218 spin_unlock_irqrestore(&asd_ha->iolock, flags); \
254 spin_lock_irqsave(&asd_ha->iolock, flags); \
269 spin_unlock_irqrestore(&asd_ha->iolock, flags); \
290 spin_lock_irqsave(&asd_ha->iolock, flags); in asd_read_reg_string()
293 spin_unlock_irqrestore(&asd_ha->iolock, flags); in asd_read_reg_string()
309 spin_lock_irqsave(&asd_ha->iolock, flags); in asd_write_reg_string()
312 spin_unlock_irqrestore(&asd_ha->iolock, flags); in asd_write_reg_string()
H A Daic94xx_hwi.h189 spinlock_t iolock; member
H A Daic94xx_hwi.c178 spin_lock_init(&asd_ha->iolock); in asd_init_sw()
/linux/include/net/
H A Daf_unix.h41 struct mutex iolock, bindlock; member
/linux/include/linux/mfd/
H A Dmax8998-private.h144 struct mutex iolock; member
H A Dmax8997-private.h375 struct mutex iolock; member