/Linux-v6.1/fs/xfs/ |
D | xfs_file.c | 320 unsigned int *iolock) in xfs_file_write_checks() argument 340 error = xfs_break_layouts(inode, iolock, BREAK_WRITE); in xfs_file_write_checks() 350 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { in xfs_file_write_checks() 351 xfs_iunlock(ip, *iolock); in xfs_file_write_checks() 352 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() 353 error = xfs_ilock_iocb(iocb, *iolock); in xfs_file_write_checks() 355 *iolock = 0; in xfs_file_write_checks() 393 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_write_checks() 394 xfs_iunlock(ip, *iolock); in xfs_file_write_checks() 395 *iolock = XFS_IOLOCK_EXCL; in xfs_file_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 | 1004 uint iolock; in xfs_vn_setattr() local 1007 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr() 1009 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP); in xfs_vn_setattr()
|
D | xfs_inode.h | 535 int xfs_break_layouts(struct inode *inode, uint *iolock,
|
/Linux-v6.1/drivers/mfd/ |
D | max8998.c | 48 mutex_lock(&max8998->iolock); in max8998_read_reg() 50 mutex_unlock(&max8998->iolock); in max8998_read_reg() 65 mutex_lock(&max8998->iolock); in max8998_bulk_read() 67 mutex_unlock(&max8998->iolock); in max8998_bulk_read() 80 mutex_lock(&max8998->iolock); in max8998_write_reg() 82 mutex_unlock(&max8998->iolock); in max8998_write_reg() 92 mutex_lock(&max8998->iolock); in max8998_bulk_write() 94 mutex_unlock(&max8998->iolock); in max8998_bulk_write() 107 mutex_lock(&max8998->iolock); in max8998_update_reg() 114 mutex_unlock(&max8998->iolock); in max8998_update_reg() [all …]
|
D | max8997.c | 52 mutex_lock(&max8997->iolock); in max8997_read_reg() 54 mutex_unlock(&max8997->iolock); in max8997_read_reg() 69 mutex_lock(&max8997->iolock); in max8997_bulk_read() 71 mutex_unlock(&max8997->iolock); in max8997_bulk_read() 84 mutex_lock(&max8997->iolock); in max8997_write_reg() 86 mutex_unlock(&max8997->iolock); in max8997_write_reg() 96 mutex_lock(&max8997->iolock); in max8997_bulk_write() 98 mutex_unlock(&max8997->iolock); in max8997_bulk_write() 111 mutex_lock(&max8997->iolock); in max8997_update_reg() 118 mutex_unlock(&max8997->iolock); in max8997_update_reg() [all …]
|
/Linux-v6.1/net/unix/ |
D | unix_bpf.c | 31 mutex_unlock(&u->iolock); in unix_msg_wait_data() 33 mutex_lock(&u->iolock); in unix_msg_wait_data() 61 mutex_lock(&u->iolock); in unix_bpf_recvmsg() 64 mutex_unlock(&u->iolock); in unix_bpf_recvmsg() 80 mutex_unlock(&u->iolock); in unix_bpf_recvmsg() 86 mutex_unlock(&u->iolock); in unix_bpf_recvmsg()
|
D | af_unix.c | 779 if (mutex_lock_interruptible(&u->iolock)) in unix_set_peek_off() 783 mutex_unlock(&u->iolock); in unix_set_peek_off() 979 mutex_init(&u->iolock); /* single task reading lock */ in unix_create1() 2281 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage() 2291 err = mutex_lock_interruptible(&unix_sk(other)->iolock); in unix_stream_sendpage() 2358 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage() 2367 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage() 2435 mutex_lock(&u->iolock); in __unix_dgram_recvmsg() 2446 mutex_unlock(&u->iolock); in __unix_dgram_recvmsg() 2519 mutex_unlock(&u->iolock); in __unix_dgram_recvmsg() [all …]
|
/Linux-v6.1/drivers/scsi/aic94xx/ |
D | aic94xx_reg.c | 203 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()
|
D | aic94xx_hwi.h | 189 spinlock_t iolock; member
|
D | aic94xx_hwi.c | 180 spin_lock_init(&asd_ha->iolock); in asd_init_sw()
|
/Linux-v6.1/include/linux/mfd/ |
D | max8998-private.h | 144 struct mutex iolock; member
|
D | max8997-private.h | 375 struct mutex iolock; member
|
/Linux-v6.1/include/net/ |
D | af_unix.h | 60 struct mutex iolock, bindlock; member
|
/Linux-v6.1/include/media/ |
D | videobuf-core.h | 122 int (*iolock) (struct videobuf_queue *q, member
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | videobuf-vmalloc.c | 272 .iolock = __videobuf_iolock,
|
D | videobuf-dma-contig.c | 342 .iolock = __videobuf_iolock,
|
D | videobuf-dma-sg.c | 652 .iolock = __videobuf_iolock,
|
D | videobuf-core.c | 127 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()
|
/Linux-v6.1/drivers/net/hamradio/ |
D | scc.c | 242 static DEFINE_SPINLOCK(iolock); /* Guards paired accesses */ 249 spin_lock_irqsave(&iolock, flags); in InReg() 259 spin_unlock_irqrestore(&iolock, flags); in InReg() 267 spin_lock_irqsave(&iolock, flags); in OutReg() 275 spin_unlock_irqrestore(&iolock, flags); in OutReg()
|