Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A 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 …]
H A Dxfs_icache.c1122 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1150 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1293 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1313 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1319 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1326 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1435 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1438 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1442 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1444 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
H A Dxfs_file.c1137 int lockflags = 0; in xfs_file_fadvise() local
1144 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1145 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1148 if (lockflags) in xfs_file_fadvise()
1149 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c915 unsigned long lockflags; in musb_g_ep0_queue() local
931 spin_lock_irqsave(&musb->lock, lockflags); in musb_g_ep0_queue()
986 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_g_ep0_queue()
H A Dmusb_gadget.c1322 unsigned long lockflags; in musb_gadget_queue() local
1348 spin_lock_irqsave(&musb->lock, lockflags); in musb_gadget_queue()
1366 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_gadget_queue()
/openbmc/linux/drivers/usb/musb/
H A 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()
H A Dmusb_gadget.c1204 unsigned long lockflags; in musb_gadget_queue() local
1241 spin_lock_irqsave(&musb->lock, lockflags); in musb_gadget_queue()
1268 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_gadget_queue()
/openbmc/linux/drivers/net/usb/
H A 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()
H A Dlan78xx.c3718 unsigned long lockflags; in rx_submit() local
3724 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit()
3757 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()