/linux-master/fs/xfs/ |
H A 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) argument
|
H A D | xfs_file.c | 365 * @iolock, and returns with it held. Might upgrade the iolock to exclusive 372 unsigned int *iolock) 392 error = xfs_break_layouts(inode, iolock, BREAK_WRITE); 402 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { 403 xfs_iunlock(ip, *iolock); 404 *iolock = XFS_IOLOCK_EXCL; 405 error = xfs_ilock_iocb(iocb, *iolock); 407 *iolock = 0; 416 * write. If zeroing is needed and we are currently holding the iolock 369 xfs_file_write_checks( struct kiocb *iocb, struct iov_iter *from, unsigned int *iolock) argument 575 unsigned int iolock = XFS_IOLOCK_SHARED; local 628 unsigned int iolock = XFS_IOLOCK_SHARED; local 717 unsigned int iolock = XFS_IOLOCK_EXCL; local 760 unsigned int iolock; local 881 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; local [all...] |
H A D | xfs_pnfs.c | 30 uint *iolock, 37 xfs_iunlock(ip, *iolock); 40 *iolock &= ~XFS_IOLOCK_SHARED; 41 *iolock |= XFS_IOLOCK_EXCL; 42 xfs_ilock(ip, *iolock); 28 xfs_break_leased_layouts( struct inode *inode, uint *iolock, bool *did_unlock) argument
|
H A D | xfs_iops.c | 1026 uint iolock; local 1029 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; 1031 error = xfs_break_layouts(inode, &iolock, BREAK_UNMAP);
|
H A D | xfs_inode.h | 391 * Bit ranges: 1<<1 - 1<<16-1 -- iolock/ilock modes (bitfield) 578 int xfs_break_layouts(struct inode *inode, uint *iolock,
|
H A D | xfs_inode.c | 420 * the iolock, the mmaplock or the ilock, but not more than one at a time. If we 520 * xfs_lock_two_inodes() can only be used to lock ilock. The iolock and 1590 * If we can't get the iolock just skip truncating the blocks past EOF 1863 * Note: don't bother with iolock here since lockdep complains about 1954 * Note: don't bother with iolock here since lockdep complains 3886 * Grab the exclusive iolock for a data copy from src to dest, making sure to 4239 uint *iolock, 4256 error = xfs_break_leased_layouts(inode, iolock, &retry); 4237 xfs_break_layouts( struct inode *inode, uint *iolock, enum layout_break_reason reason) argument
|
/linux-master/drivers/mfd/ |
H A D | max8998.c | 47 mutex_lock(&max8998->iolock); 49 mutex_unlock(&max8998->iolock); 64 mutex_lock(&max8998->iolock); 66 mutex_unlock(&max8998->iolock); 79 mutex_lock(&max8998->iolock); 81 mutex_unlock(&max8998->iolock); 91 mutex_lock(&max8998->iolock); 93 mutex_unlock(&max8998->iolock); 106 mutex_lock(&max8998->iolock); 113 mutex_unlock(&max8998->iolock); [all...] |
H A D | max8997.c | 51 mutex_lock(&max8997->iolock); 53 mutex_unlock(&max8997->iolock); 68 mutex_lock(&max8997->iolock); 70 mutex_unlock(&max8997->iolock); 83 mutex_lock(&max8997->iolock); 85 mutex_unlock(&max8997->iolock); 95 mutex_lock(&max8997->iolock); 97 mutex_unlock(&max8997->iolock); 110 mutex_lock(&max8997->iolock); 117 mutex_unlock(&max8997->iolock); [all...] |
/linux-master/drivers/scsi/aic94xx/ |
H A 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); 293 spin_unlock_irqrestore(&asd_ha->iolock, flags); 309 spin_lock_irqsave(&asd_ha->iolock, flags); 312 spin_unlock_irqrestore(&asd_ha->iolock, flags);
|
H A D | aic94xx_hwi.h | 189 spinlock_t iolock; member in struct:asd_ha_struct
|
H A D | aic94xx_hwi.c | 178 spin_lock_init(&asd_ha->iolock);
|
/linux-master/net/unix/ |
H A D | unix_bpf.c | 31 mutex_unlock(&u->iolock); 33 mutex_lock(&u->iolock); 64 mutex_lock(&u->iolock); 67 mutex_unlock(&u->iolock); 83 mutex_unlock(&u->iolock); 89 mutex_unlock(&u->iolock);
|
H A D | af_unix.c | 987 mutex_init(&u->iolock); /* single task reading lock */ 2381 mutex_lock(&u->iolock); 2392 mutex_unlock(&u->iolock); 2400 if (!skb) { /* implies iolock unlocked */ 2470 mutex_unlock(&u->iolock); 2495 mutex_lock(&u->iolock); 2497 mutex_unlock(&u->iolock); 2570 mutex_lock(&u->iolock); 2577 mutex_unlock(&u->iolock); 2598 mutex_unlock(&u->iolock); [all...] |
/linux-master/include/linux/mfd/ |
H A D | max8998-private.h | 130 * @iolock: mutex for serializing io access 144 struct mutex iolock; member in struct:max8998_dev
|
H A D | max8997-private.h | 375 struct mutex iolock; member in struct:max8997_dev
|
/linux-master/include/net/ |
H A D | af_unix.h | 81 struct mutex iolock, bindlock; member in struct:unix_sock
|
/linux-master/drivers/net/hamradio/ |
H A D | scc.c | 242 static DEFINE_SPINLOCK(iolock); /* Guards paired accesses */ 249 spin_lock_irqsave(&iolock, flags); 259 spin_unlock_irqrestore(&iolock, flags); 267 spin_lock_irqsave(&iolock, flags); 275 spin_unlock_irqrestore(&iolock, flags);
|