Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dmrlock.h12 struct rw_semaphore mr_lock; member
20 do { (mrp)->mr_writer = 0; init_rwsem(&(mrp)->mr_lock); } while (0)
23 do { init_rwsem(&(mrp)->mr_lock); } while (0)
31 down_read_nested(&mrp->mr_lock, subclass); in mraccess_nested()
36 down_write_nested(&mrp->mr_lock, subclass); in mrupdate_nested()
44 return down_read_trylock(&mrp->mr_lock); in mrtryaccess()
49 if (!down_write_trylock(&mrp->mr_lock)) in mrtryupdate()
62 up_write(&mrp->mr_lock); in mrunlock_excl()
67 up_read(&mrp->mr_lock); in mrunlock_shared()
75 downgrade_write(&mrp->mr_lock); in mrdemote()
Dxfs_iops.c1312 lockdep_set_class(&ip->i_lock.mr_lock, &xfs_dir_ilock_class); in xfs_setup_inode()
1316 lockdep_set_class(&ip->i_lock.mr_lock, &xfs_nondir_ilock_class); in xfs_setup_inode()
Dxfs_inode.c356 return rwsem_is_locked(&ip->i_lock.mr_lock); in xfs_isilocked()
362 return rwsem_is_locked(&ip->i_mmaplock.mr_lock); in xfs_isilocked()
/linux-4.19.296/include/rdma/
Dib_verbs.h1759 spinlock_t mr_lock; member