Home
last modified time | relevance | path

Searched refs:lockflags (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/fs/xfs/
Dxfs_qm.c1640 uint lockflags; in xfs_qm_vop_dqalloc() local
1645 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc()
1646 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1658 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1675 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1686 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1687 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1700 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1708 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1709 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
[all …]
Dxfs_icache.c1135 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1163 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1297 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1317 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1323 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1330 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1439 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1442 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1446 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1448 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
Dxfs_file.c1104 int lockflags = 0; in xfs_file_fadvise() local
1111 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1112 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1115 if (lockflags) in xfs_file_fadvise()
1116 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
/Linux-v5.15/drivers/usb/musb/
Dmusb_gadget_ep0.c909 unsigned long lockflags; in musb_g_ep0_queue() local
925 spin_lock_irqsave(&musb->lock, lockflags); in musb_g_ep0_queue()
980 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_g_ep0_queue()
Dmusb_gadget.c1194 unsigned long lockflags; in musb_gadget_queue() local
1231 spin_lock_irqsave(&musb->lock, lockflags); in musb_gadget_queue()
1256 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_gadget_queue()
/Linux-v5.15/drivers/net/usb/
Dusbnet.c487 unsigned long lockflags; in rx_submit() local
515 spin_lock_irqsave (&dev->rxq.lock, lockflags); in rx_submit()
548 spin_unlock_irqrestore (&dev->rxq.lock, lockflags); in rx_submit()
Dlan78xx.c3476 unsigned long lockflags; in rx_submit() local
3494 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit()
3525 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()