Searched refs:lockflags (Results 1 – 2 of 2) sorted by relevance
1648 uint lockflags; in xfs_qm_vop_dqalloc() local1653 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 …]
1042 int lockflags = 0; in xfs_file_fadvise() local1049 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()