Searched refs:mr_lock (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/fs/xfs/
H A Dmrlock.h24 struct rw_semaphore mr_lock; member in struct:__anon11403
32 do { (mrp)->mr_writer = 0; init_rwsem(&(mrp)->mr_lock); } while (0)
35 do { init_rwsem(&(mrp)->mr_lock); } while (0)
43 down_read_nested(&mrp->mr_lock, subclass); mraccess_nested()
48 down_write_nested(&mrp->mr_lock, subclass); mrupdate_nested()
56 return down_read_trylock(&mrp->mr_lock); mrtryaccess()
61 if (!down_write_trylock(&mrp->mr_lock)) mrtryupdate()
74 up_write(&mrp->mr_lock); mrunlock_excl()
79 up_read(&mrp->mr_lock); mrunlock_shared()
87 downgrade_write(&mrp->mr_lock); mrdemote()
H A Dxfs_iops.c1262 lockdep_set_class(&ip->i_lock.mr_lock, &xfs_nondir_ilock_class); xfs_setup_inode()
1270 lockdep_set_class(&ip->i_lock.mr_lock, &xfs_dir_ilock_class); xfs_setup_inode()
H A Dxfs_icache.c239 ASSERT(!rwsem_is_locked(&ip->i_iolock.mr_lock)); __releases()
H A Dxfs_super.c981 ASSERT(!rwsem_is_locked(&ip->i_iolock.mr_lock)); xfs_fs_evict_inode()
H A Dxfs_inode.c337 return rwsem_is_locked(&ip->i_lock.mr_lock); xfs_isilocked()
343 return rwsem_is_locked(&ip->i_mmaplock.mr_lock); xfs_isilocked()
349 return rwsem_is_locked(&ip->i_iolock.mr_lock); xfs_isilocked()

Completed in 1559 milliseconds