Lines Matching refs:invalidate_lock
203 down_write_nested(&VFS_I(ip)->i_mapping->invalidate_lock, in xfs_ilock()
206 down_read_nested(&VFS_I(ip)->i_mapping->invalidate_lock, in xfs_ilock()
246 if (!down_write_trylock(&VFS_I(ip)->i_mapping->invalidate_lock)) in xfs_ilock_nowait()
249 if (!down_read_trylock(&VFS_I(ip)->i_mapping->invalidate_lock)) in xfs_ilock_nowait()
264 up_write(&VFS_I(ip)->i_mapping->invalidate_lock); in xfs_ilock_nowait()
266 up_read(&VFS_I(ip)->i_mapping->invalidate_lock); in xfs_ilock_nowait()
301 up_write(&VFS_I(ip)->i_mapping->invalidate_lock); in xfs_iunlock()
303 up_read(&VFS_I(ip)->i_mapping->invalidate_lock); in xfs_iunlock()
329 downgrade_write(&VFS_I(ip)->i_mapping->invalidate_lock); in xfs_ilock_demote()
369 return __xfs_rwsem_islocked(&VFS_I(ip)->i_mapping->invalidate_lock, in xfs_isilocked()