Home
last modified time | relevance | path

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

/Linux-v6.6/fs/xfs/
Dxfs_qm.c1679 uint lockflags; in xfs_qm_vop_dqalloc() local
1684 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc()
1685 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1697 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1714 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1725 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1726 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1739 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1747 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1748 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
[all …]
Dxfs_icache.c1122 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1150 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1284 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1304 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1310 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1317 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1426 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1429 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1433 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1435 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
Dxfs_file.c1107 int lockflags = 0; in xfs_file_fadvise() local
1114 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1115 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1118 if (lockflags) in xfs_file_fadvise()
1119 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
/Linux-v6.6/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.6/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.c3713 unsigned long lockflags; in rx_submit() local
3719 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit()
3752 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()