Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/
Dxfs_qm.c1733 uint lockflags; in xfs_qm_vop_dqalloc() local
1738 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc()
1739 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1751 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1768 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1779 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1780 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1793 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1801 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
1802 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
[all …]
Dxfs_icache.c1168 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1196 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1339 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1359 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1365 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1372 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1480 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1483 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1487 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1489 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
Dxfs_file.c1152 int lockflags = 0; in xfs_file_fadvise() local
1159 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1160 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1163 if (lockflags) in xfs_file_fadvise()
1164 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
Dxfs_exchrange.c866 const unsigned int lockflags = XFS_IOLOCK_SHARED | in xfs_ioc_start_commit() local
877 xfs_ilock(ip2, lockflags); in xfs_ioc_start_commit()
887 xfs_iunlock(ip2, lockflags); in xfs_ioc_start_commit()
/linux-6.12.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.c1188 unsigned long lockflags; in musb_gadget_queue() local
1225 spin_lock_irqsave(&musb->lock, lockflags); in musb_gadget_queue()
1252 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_gadget_queue()
/linux-6.12.1/drivers/net/usb/
Dusbnet.c488 unsigned long lockflags; in rx_submit() local
516 spin_lock_irqsave (&dev->rxq.lock, lockflags); in rx_submit()
550 spin_unlock_irqrestore (&dev->rxq.lock, lockflags); in rx_submit()
Dlan78xx.c3717 unsigned long lockflags; in rx_submit() local
3723 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit()
3756 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()