Lines Matching refs:exp_lock
470 __must_hold(&rcd->exp_lock) in first_qp()
474 lockdep_assert_held(&rcd->exp_lock); in first_qp()
504 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in kernel_tid_waiters()
510 lockdep_assert_held(&rcd->exp_lock); in kernel_tid_waiters()
535 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in dequeue_tid_waiter()
540 lockdep_assert_held(&rcd->exp_lock); in dequeue_tid_waiter()
561 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in queue_qp_for_tid_wait()
566 lockdep_assert_held(&rcd->exp_lock); in queue_qp_for_tid_wait()
674 spin_lock(&priv->rcd->exp_lock); in _tid_rdma_flush_wait()
681 spin_unlock(&priv->rcd->exp_lock); in _tid_rdma_flush_wait()
712 __must_hold(&rcd->exp_lock) in kern_reserve_flow()
750 __must_hold(&rcd->exp_lock) in kern_setup_hw_flow()
768 __must_hold(&rcd->exp_lock) in kern_clear_hw_flow()
787 spin_lock_irqsave(&rcd->exp_lock, flags); in hfi1_kern_setup_hw_flow()
805 spin_unlock_irqrestore(&rcd->exp_lock, flags); in hfi1_kern_setup_hw_flow()
811 spin_unlock_irqrestore(&rcd->exp_lock, flags); in hfi1_kern_setup_hw_flow()
824 spin_lock_irqsave(&rcd->exp_lock, flags); in hfi1_kern_clear_hw_flow()
833 spin_unlock_irqrestore(&rcd->exp_lock, flags); in hfi1_kern_clear_hw_flow()
1487 spin_lock_irqsave(&rcd->exp_lock, flags); in hfi1_kern_exp_rcv_setup()
1524 spin_unlock_irqrestore(&rcd->exp_lock, flags); in hfi1_kern_exp_rcv_setup()
1531 spin_unlock_irqrestore(&rcd->exp_lock, flags); in hfi1_kern_exp_rcv_setup()
1560 spin_lock_irqsave(&rcd->exp_lock, flags); in hfi1_kern_exp_rcv_clear()
1568 spin_unlock_irqrestore(&rcd->exp_lock, flags); in hfi1_kern_exp_rcv_clear()
4881 spin_lock(&rcd->exp_lock); in hfi1_rc_rcv_tid_rdma_resync()
4946 spin_unlock(&rcd->exp_lock); in hfi1_rc_rcv_tid_rdma_resync()