Searched refs:mr_lock (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
D | mrlock.h | 12 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()
|
D | xfs_iops.c | 1299 lockdep_set_class(&ip->i_lock.mr_lock, &xfs_dir_ilock_class); in xfs_setup_inode() 1301 lockdep_set_class(&ip->i_lock.mr_lock, &xfs_nondir_ilock_class); in xfs_setup_inode()
|
D | xfs_inode.c | 356 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | mr_pool.c | 13 spin_lock_irqsave(&qp->mr_lock, flags); in ib_mr_pool_get() 19 spin_unlock_irqrestore(&qp->mr_lock, flags); in ib_mr_pool_get() 29 spin_lock_irqsave(&qp->mr_lock, flags); in ib_mr_pool_put() 32 spin_unlock_irqrestore(&qp->mr_lock, flags); in ib_mr_pool_put() 54 spin_lock_irqsave(&qp->mr_lock, flags); in ib_mr_pool_init() 56 spin_unlock_irqrestore(&qp->mr_lock, flags); in ib_mr_pool_init() 71 spin_lock_irqsave(&qp->mr_lock, flags); in ib_mr_pool_destroy() 76 spin_unlock_irqrestore(&qp->mr_lock, flags); in ib_mr_pool_destroy() 78 spin_lock_irqsave(&qp->mr_lock, flags); in ib_mr_pool_destroy() 80 spin_unlock_irqrestore(&qp->mr_lock, flags); in ib_mr_pool_destroy()
|
D | core_priv.h | 352 spin_lock_init(&qp->mr_lock); in _ib_create_qp()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | gsi.c | 165 spin_lock_init(&gsi->rx_qp->mr_lock); in mlx5_ib_create_gsi()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_verbs.h | 1745 spinlock_t mr_lock; member
|