/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_qm.c | 1679 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 D | xfs_icache.c | 1122 unsigned int *lockflags) in xfs_inode_free_eofblocks() 1150 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks() 1284 unsigned int *lockflags) in xfs_inode_free_cowblocks() 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() 1119 xfs_inode_free_eofblocks( struct xfs_inode *ip, struct xfs_icwalk *icw, unsigned int *lockflags) xfs_inode_free_eofblocks() argument 1281 xfs_inode_free_cowblocks( struct xfs_inode *ip, struct xfs_icwalk *icw, unsigned int *lockflags) xfs_inode_free_cowblocks() argument [all...] |
H A D | xfs_file.c | 1144 int lockflags = 0; in xfs_file_fadvise() local 1151 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise() 1152 xfs_ilock(ip, lockflags); in xfs_file_fadvise() 1155 if (lockflags) in xfs_file_fadvise() 1156 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_qm.c | 1648 uint lockflags; in xfs_qm_vop_dqalloc() local 1653 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc() 1654 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc() 1666 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc() 1683 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc() 1694 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1695 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc() 1708 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc() 1716 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1717 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc() [all...] |
H A D | xfs_file.c | 1042 int lockflags = 0; in xfs_file_fadvise() local 1049 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise() 1050 xfs_ilock(ip, lockflags); in xfs_file_fadvise() 1053 if (lockflags) in xfs_file_fadvise() 1054 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | musb_gadget_ep0.c | 909 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 D | musb_gadget.c | 1197 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()
|
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_gadget_ep0.c | 909 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 D | musb_gadget.c | 1197 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()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | usbnet.c | 471 unsigned long lockflags; in rx_submit() 499 spin_lock_irqsave (&dev->rxq.lock, lockflags); in rx_submit() 532 spin_unlock_irqrestore (&dev->rxq.lock, lockflags); in rx_submit() 470 unsigned long lockflags; rx_submit() local
|
H A D | lan78xx.c | 3087 unsigned long lockflags; in rx_submit() local 3105 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit() 3135 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | usbnet.c | 486 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()
|
H A D | lan78xx.c | 3717 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()
|