Home
last modified time | relevance | path

Searched refs:r_lock (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/lightnvm/
Dpblk-gc.c348 spin_lock(&gc->r_lock); in pblk_gc_read()
350 spin_unlock(&gc->r_lock); in pblk_gc_read()
356 spin_unlock(&gc->r_lock); in pblk_gc_read()
363 spin_lock(&gc->r_lock); in pblk_gc_read()
365 spin_unlock(&gc->r_lock); in pblk_gc_read()
481 spin_lock(&gc->r_lock); in pblk_gc_run()
483 spin_unlock(&gc->r_lock); in pblk_gc_run()
682 spin_lock_init(&gc->r_lock); in pblk_gc_init()
Dpblk.h254 spinlock_t r_lock; member
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dqp.c732 spin_lock_irq(&qp->r_lock); in rvt_qp_mr_clean()
746 spin_unlock_irq(&qp->r_lock); in rvt_qp_mr_clean()
915 __must_hold(&qp->r_lock) in rvt_reset_qp()
917 lockdep_assert_held(&qp->r_lock); in rvt_reset_qp()
929 spin_unlock_irq(&qp->r_lock); in rvt_reset_qp()
941 spin_lock_irq(&qp->r_lock); in rvt_reset_qp()
953 lockdep_assert_held(&qp->r_lock); in rvt_reset_qp()
1158 spin_lock_init(&qp->r_lock); in rvt_create_qp()
1312 lockdep_assert_held(&qp->r_lock); in rvt_error_qp()
1434 spin_lock_irq(&qp->r_lock); in rvt_modify_qp()
[all …]
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dverbs.c404 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
410 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
415 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
458 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
464 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
469 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
522 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_handle_packet()
528 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_handle_packet()
552 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_handle_packet()
558 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_handle_packet()
Dqp.c947 spin_lock_irq(&qp->r_lock); in hfi1_qp_iter_cb()
953 spin_unlock_irq(&qp->r_lock); in hfi1_qp_iter_cb()
Dtid_rdma.c2651 __must_hold(&packet->qp->r_lock) __must_hold(RCU) in handle_read_kdeth_eflags()
2666 lockdep_assert_held(&qp->r_lock); in handle_read_kdeth_eflags()
2887 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_handle_kdeth_eflags()
3015 spin_unlock_irqrestore(&qp->r_lock, flags); in hfi1_handle_kdeth_eflags()
3583 lockdep_assert_held(&qp->r_lock); in hfi1_tid_write_alloc_resources()
3977 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_tid_timeout()
4011 spin_unlock_irqrestore(&qp->r_lock, flags); in hfi1_tid_timeout()
4784 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_tid_retry_timeout()
4818 spin_unlock_irqrestore(&qp->r_lock, flags); in hfi1_tid_retry_timeout()
Dud.c157 spin_lock_irqsave(&qp->r_lock, flags); in ud_loopback()
261 spin_unlock_irqrestore(&qp->r_lock, flags); in ud_loopback()
Drc.c402 spin_lock_irqsave(&qp->r_lock, ps->flags); in make_rc_ack()
406 spin_unlock_irqrestore(&qp->r_lock, ps->flags); in make_rc_ack()
1613 lockdep_assert_held(&qp->r_lock); in hfi1_restart_rc()
2828 lockdep_assert_held(&qp->r_lock); in hfi1_rc_rcv()
Ddriver.c323 spin_lock_irqsave(&qp->r_lock, flags); in rcv_hdrerr()
340 spin_unlock_irqrestore(&qp->r_lock, flags); in rcv_hdrerr()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_ud.c133 spin_lock_irqsave(&qp->r_lock, flags); in qib_ud_loopback()
217 spin_unlock_irqrestore(&qp->r_lock, flags); in qib_ud_loopback()
Dqib_driver.c361 spin_lock(&qp->r_lock); in qib_rcv_hdrerr()
420 spin_unlock(&qp->r_lock); in qib_rcv_hdrerr()
Dqib_sdma.c626 spin_lock(&qp->r_lock); in qib_sdma_verbs_send()
635 spin_unlock(&qp->r_lock); in qib_sdma_verbs_send()
Dqib_verbs.c228 spin_lock(&qp->r_lock); in qib_qp_rcv()
259 spin_unlock(&qp->r_lock); in qib_qp_rcv()
/Linux-v5.4/include/rdma/
Drdmavt_qp.h373 spinlock_t r_lock ____cacheline_aligned_in_smp; /* used for APM */