Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_file.c333 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 …]
Dxfs_pnfs.c30 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()
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.c1027 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()
Dxfs_inode.h434 int xfs_break_layouts(struct inode *inode, uint *iolock,
Dxfs_ioctl.c638 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()
/kernel/linux/linux-5.10/drivers/mfd/
Dmax8998.c47 mutex_lock(&max8998->iolock); in max8998_read_reg()
49 mutex_unlock(&max8998->iolock); in max8998_read_reg()
64 mutex_lock(&max8998->iolock); in max8998_bulk_read()
66 mutex_unlock(&max8998->iolock); in max8998_bulk_read()
79 mutex_lock(&max8998->iolock); in max8998_write_reg()
81 mutex_unlock(&max8998->iolock); in max8998_write_reg()
91 mutex_lock(&max8998->iolock); in max8998_bulk_write()
93 mutex_unlock(&max8998->iolock); in max8998_bulk_write()
106 mutex_lock(&max8998->iolock); in max8998_update_reg()
113 mutex_unlock(&max8998->iolock); in max8998_update_reg()
[all …]
Dmax8997.c51 mutex_lock(&max8997->iolock); in max8997_read_reg()
53 mutex_unlock(&max8997->iolock); in max8997_read_reg()
68 mutex_lock(&max8997->iolock); in max8997_bulk_read()
70 mutex_unlock(&max8997->iolock); in max8997_bulk_read()
83 mutex_lock(&max8997->iolock); in max8997_write_reg()
85 mutex_unlock(&max8997->iolock); in max8997_write_reg()
95 mutex_lock(&max8997->iolock); in max8997_bulk_write()
97 mutex_unlock(&max8997->iolock); in max8997_bulk_write()
110 mutex_lock(&max8997->iolock); in max8997_update_reg()
117 mutex_unlock(&max8997->iolock); in max8997_update_reg()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
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()
Daic94xx_hwi.h189 spinlock_t iolock; member
Daic94xx_hwi.c180 spin_lock_init(&asd_ha->iolock); in asd_init_sw()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c697 if (mutex_lock_interruptible(&u->iolock)) in unix_set_peek_off()
701 mutex_unlock(&u->iolock); in unix_set_peek_off()
826 mutex_init(&u->iolock); /* single task reading lock */ in unix_create1()
2013 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2023 err = mutex_lock_interruptible(&unix_sk(other)->iolock); in unix_stream_sendpage()
2088 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2097 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2165 mutex_lock(&u->iolock); in unix_dgram_recvmsg()
2176 mutex_unlock(&u->iolock); in unix_dgram_recvmsg()
2249 mutex_unlock(&u->iolock); in unix_dgram_recvmsg()
[all …]
/kernel/linux/linux-5.10/include/net/
Daf_unix.h62 struct mutex iolock, bindlock; member
/kernel/linux/linux-5.10/include/linux/mfd/
Dmax8998-private.h144 struct mutex iolock; member
Dmax8997-private.h375 struct mutex iolock; member
/kernel/linux/linux-5.10/include/media/
Dvideobuf-core.h122 int (*iolock) (struct videobuf_queue *q, member
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dvideobuf-vmalloc.c272 .iolock = __videobuf_iolock,
Dvideobuf-dma-contig.c336 .iolock = __videobuf_iolock,
Dvideobuf-dma-sg.c653 .iolock = __videobuf_iolock,
Dvideobuf-core.c127 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dscc.c240 static DEFINE_SPINLOCK(iolock); /* Guards paired accesses */
247 spin_lock_irqsave(&iolock, flags); in InReg()
257 spin_unlock_irqrestore(&iolock, flags); in InReg()
265 spin_lock_irqsave(&iolock, flags); in OutReg()
273 spin_unlock_irqrestore(&iolock, flags); in OutReg()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch816 + mutex_init(&mhdp->iolock);
2977 + cec->iolock = &mhdp->iolock;
2994 + mutex_init(&mhdp->iolock);
3683 + mutex_lock(cec->iolock);
3696 + mutex_unlock(cec->iolock);
3703 + mutex_lock(cec->iolock);
3718 + mutex_unlock(cec->iolock);
4013 + mutex_lock(&mhdp->iolock);
4028 + mutex_unlock(&mhdp->iolock);
4036 + mutex_lock(&mhdp->iolock);
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch685 + struct mutex *iolock;
808 + struct mutex iolock;