Home
last modified time | relevance | path

Searched refs:i_iolock (Results 1 – 4 of 4) sorted by relevance

/fs/xfs/
Dxfs_inode.c196 mrupdate_nested(&ip->i_iolock, XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock()
198 mraccess_nested(&ip->i_iolock, XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock()
244 if (!mrtryupdate(&ip->i_iolock)) in xfs_ilock_nowait()
247 if (!mrtryaccess(&ip->i_iolock)) in xfs_ilock_nowait()
275 mrunlock_excl(&ip->i_iolock); in xfs_ilock_nowait()
277 mrunlock_shared(&ip->i_iolock); in xfs_ilock_nowait()
314 mrunlock_excl(&ip->i_iolock); in xfs_iunlock()
316 mrunlock_shared(&ip->i_iolock); in xfs_iunlock()
349 mrdemote(&ip->i_iolock); in xfs_ilock_demote()
374 return !!ip->i_iolock.mr_writer; in xfs_isilocked()
[all …]
Dxfs_icache.c72 mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", ip->i_ino); in xfs_inode_alloc()
415 ASSERT(!rwsem_is_locked(&ip->i_iolock.mr_lock)); in xfs_iget_cache_hit()
416 mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", ip->i_ino); in xfs_iget_cache_hit()
Dxfs_inode.h59 mrlock_t i_iolock; /* inode IO lock */ member
Dxfs_super.c954 ASSERT(!rwsem_is_locked(&ip->i_iolock.mr_lock)); in xfs_fs_destroy_inode()