Home
last modified time | relevance | path

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

/Linux-v6.1/fs/xfs/
Dxfs_qm.c1643 uint lockflags; in xfs_qm_vop_dqalloc() local
1648 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc()
1649 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1661 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1678 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1689 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1690 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1703 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1711 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1712 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
[all …]
Dxfs_icache.c1127 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1155 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1289 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1309 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1315 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1322 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1431 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1434 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1438 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1440 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
Dxfs_file.c1085 int lockflags = 0; in xfs_file_fadvise() local
1092 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1093 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1096 if (lockflags) in xfs_file_fadvise()
1097 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
/Linux-v6.1/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.c1197 unsigned long lockflags; in musb_gadget_queue() local
1234 spin_lock_irqsave(&musb->lock, lockflags); in musb_gadget_queue()
1261 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_gadget_queue()
/Linux-v6.1/drivers/net/usb/
Dusbnet.c486 unsigned long lockflags; in rx_submit() local
514 spin_lock_irqsave (&dev->rxq.lock, lockflags); in rx_submit()
547 spin_unlock_irqrestore (&dev->rxq.lock, lockflags); in rx_submit()
Dlan78xx.c3722 unsigned long lockflags; in rx_submit() local
3728 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit()
3761 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()