Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/
H A Dxfs_qm.c1961 uint lockflags; in xfs_qm_vop_dqalloc() local
1968 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc()
1969 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
1981 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
1998 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
2010 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
2023 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
2032 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
2041 xfs_iunlock(ip, lockflags); in xfs_qm_vop_dqalloc()
2050 xfs_ilock(ip, lockflags); in xfs_qm_vop_dqalloc()
[all …]
H A Dxfs_icache.c1224 unsigned int *lockflags) in xfs_inode_free_eofblocks() argument
1252 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1395 unsigned int *lockflags) in xfs_inode_free_cowblocks() argument
1415 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1421 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
1428 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
1535 unsigned int lockflags = 0; in xfs_blockgc_scan_inode() local
1538 error = xfs_inode_free_eofblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1542 error = xfs_inode_free_cowblocks(ip, icw, &lockflags); in xfs_blockgc_scan_inode()
1544 if (lockflags) in xfs_blockgc_scan_inode()
[all …]
H A Dxfs_exchrange.c848 const unsigned int lockflags = XFS_IOLOCK_SHARED | in xfs_ioc_start_commit() local
859 xfs_ilock(ip2, lockflags); in xfs_ioc_start_commit()
869 xfs_iunlock(ip2, lockflags); in xfs_ioc_start_commit()
H A Dxfs_file.c1393 int lockflags = 0; in xfs_file_fadvise() local
1400 lockflags = XFS_IOLOCK_SHARED; in xfs_file_fadvise()
1401 xfs_ilock(ip, lockflags); in xfs_file_fadvise()
1404 if (lockflags) in xfs_file_fadvise()
1405 xfs_iunlock(ip, lockflags); in xfs_file_fadvise()
/linux-6.15/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.c1196 unsigned long lockflags; in musb_gadget_queue() local
1233 spin_lock_irqsave(&musb->lock, lockflags); in musb_gadget_queue()
1260 spin_unlock_irqrestore(&musb->lock, lockflags); in musb_gadget_queue()
/linux-6.15/fs/xfs/scrub/
H A Drepair.h122 # define xrep_rtgroup_init(sc, rtg, sr, lockflags) (-ENOSYS) argument
H A Dcommon.h159 # define xchk_rtgroup_lock(sc, sr, lockflags) (-EFSCORRUPTED) argument
/linux-6.15/drivers/net/usb/
H A Dusbnet.c499 unsigned long lockflags; in rx_submit() local
527 spin_lock_irqsave (&dev->rxq.lock, lockflags); in rx_submit()
561 spin_unlock_irqrestore (&dev->rxq.lock, lockflags); in rx_submit()
H A Dlan78xx.c3833 unsigned long lockflags; in rx_submit() local
3839 spin_lock_irqsave(&dev->rxq.lock, lockflags); in rx_submit()
3872 spin_unlock_irqrestore(&dev->rxq.lock, lockflags); in rx_submit()