/linux-6.6.21/fs/xfs/ |
D | xfs_file.c | 385 unsigned int *iolock) in xfs_file_write_checks() argument 405 error = xfs_break_layouts(inode, iolock, BREAK_WRITE); in xfs_file_write_checks() 415 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { in xfs_file_write_checks() 416 xfs_iunlock(ip, *iolock); in xfs_file_write_checks() 417 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() 418 error = xfs_ilock_iocb(iocb, *iolock); in xfs_file_write_checks() 420 *iolock = 0; in xfs_file_write_checks() 458 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_write_checks() 459 xfs_iunlock(ip, *iolock); in xfs_file_write_checks() 460 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() [all …]
|
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_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_iops.c | 1010 uint iolock; in xfs_vn_setattr() local 1013 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr() 1015 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP); in xfs_vn_setattr()
|
D | xfs_inode.h | 564 int xfs_break_layouts(struct inode *inode, uint *iolock,
|
/linux-6.6.21/drivers/mfd/ |
D | max8998.c | 47 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 …]
|
D | max8997.c | 51 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 …]
|
/linux-6.6.21/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() 64 mutex_lock(&u->iolock); in unix_bpf_recvmsg() 67 mutex_unlock(&u->iolock); in unix_bpf_recvmsg() 83 mutex_unlock(&u->iolock); in unix_bpf_recvmsg() 89 mutex_unlock(&u->iolock); in unix_bpf_recvmsg()
|
D | af_unix.c | 788 if (mutex_lock_interruptible(&u->iolock)) in unix_set_peek_off() 792 mutex_unlock(&u->iolock); in unix_set_peek_off() 1001 mutex_init(&u->iolock); /* single task reading lock */ in unix_create1() 2355 mutex_lock(&u->iolock); in __unix_dgram_recvmsg() 2366 mutex_unlock(&u->iolock); in __unix_dgram_recvmsg() 2439 mutex_unlock(&u->iolock); in __unix_dgram_recvmsg() 2464 mutex_lock(&u->iolock); in unix_read_skb() 2466 mutex_unlock(&u->iolock); in unix_read_skb() 2539 mutex_lock(&u->iolock); in unix_stream_recv_urg() 2544 mutex_unlock(&u->iolock); in unix_stream_recv_urg() [all …]
|
/linux-6.6.21/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 | 178 spin_lock_init(&asd_ha->iolock); in asd_init_sw()
|
/linux-6.6.21/include/linux/mfd/ |
D | max8998-private.h | 144 struct mutex iolock; member
|
D | max8997-private.h | 375 struct mutex iolock; member
|
/linux-6.6.21/include/net/ |
D | af_unix.h | 55 struct mutex iolock, bindlock; member
|
/linux-6.6.21/include/media/ |
D | videobuf-core.h | 122 int (*iolock) (struct videobuf_queue *q, member
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | videobuf-vmalloc.c | 272 .iolock = __videobuf_iolock,
|
D | videobuf-dma-contig.c | 336 .iolock = __videobuf_iolock,
|
D | videobuf-dma-sg.c | 648 .iolock = __videobuf_iolock,
|
D | videobuf-core.c | 127 return CALL(q, iolock, q, vb, fbuf); in videobuf_iolock()
|
/linux-6.6.21/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()
|