Home
last modified time | relevance | path

Searched refs:r_lock (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/lightnvm/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A Dqp.c736 spin_lock_irq(&qp->r_lock); in rvt_qp_mr_clean()
750 spin_unlock_irq(&qp->r_lock); in rvt_qp_mr_clean()
911 * r_lock, s_hlock, and s_lock are required to be held by the caller
917 __must_hold(&qp->r_lock)
919 lockdep_assert_held(&qp->r_lock);
931 spin_unlock_irq(&qp->r_lock);
943 spin_lock_irq(&qp->r_lock);
955 lockdep_assert_held(&qp->r_lock);
966 * This is the wrapper function to acquire the r_lock, s_hlock, and s_lock
972 spin_lock_irq(&qp->r_lock); in rvt_reset_qp()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H A Dqp.c696 spin_lock_irq(&qp->r_lock); in rvt_qp_mr_clean()
710 spin_unlock_irq(&qp->r_lock); in rvt_qp_mr_clean()
873 * r_lock, s_hlock, and s_lock are required to be held by the caller
879 __must_hold(&qp->r_lock)
881 lockdep_assert_held(&qp->r_lock);
893 spin_unlock_irq(&qp->r_lock);
905 spin_lock_irq(&qp->r_lock);
917 lockdep_assert_held(&qp->r_lock);
928 * This is the wrapper function to acquire the r_lock, s_hlock, and s_lock
934 spin_lock_irq(&qp->r_lock); in rvt_reset_qp()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dverbs.c405 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
411 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
416 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
459 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
465 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
470 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
524 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_handle_packet()
530 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_handle_packet()
555 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_handle_packet()
561 spin_unlock_irqrestore(&packet->qp->r_lock, flag in hfi1_handle_packet()
[all...]
H A Dqp.c936 spin_lock_irq(&qp->r_lock); in hfi1_qp_iter_cb()
942 spin_unlock_irq(&qp->r_lock); in hfi1_qp_iter_cb()
H A Dtid_rdma.c2646 * The caller must hold the packet->qp->r_lock and the rcu_read_lock.
2651 __must_hold(&packet->qp->r_lock) __must_hold(RCU) in __must_hold()
2666 lockdep_assert_held(&qp->r_lock); in __must_hold()
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()
3584 lockdep_assert_held(&qp->r_lock); in hfi1_tid_write_alloc_resources()
3978 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_tid_timeout()
4012 spin_unlock_irqrestore(&qp->r_lock, flags); in hfi1_tid_timeout()
4794 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_tid_retry_timeout()
4828 spin_unlock_irqrestore(&qp->r_lock, flag in hfi1_tid_retry_timeout()
[all...]
H A Dud.c157 spin_lock_irqsave(&qp->r_lock, flags); in ud_loopback()
261 spin_unlock_irqrestore(&qp->r_lock, flags); in ud_loopback()
H A 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()
1604 * The QP r_lock and s_lock should be held and interrupts disabled.
1612 lockdep_assert_held(&qp->r_lock); in hfi1_restart_rc()
2827 lockdep_assert_held(&qp->r_lock); in hfi1_rc_rcv()
H A Ddriver.c327 spin_lock_irqsave(&qp->r_lock, flags); in rcv_hdrerr()
344 spin_unlock_irqrestore(&qp->r_lock, flags); in rcv_hdrerr()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dverbs.c363 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
369 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
374 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_eager_rcv()
417 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
423 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
428 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_kdeth_expected_rcv()
482 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_handle_packet()
488 spin_unlock_irqrestore(&packet->qp->r_lock, flags); in hfi1_handle_packet()
513 spin_lock_irqsave(&packet->qp->r_lock, flags); in hfi1_handle_packet()
519 spin_unlock_irqrestore(&packet->qp->r_lock, flag in hfi1_handle_packet()
[all...]
H A Dqp.c895 spin_lock_irq(&qp->r_lock); in hfi1_qp_iter_cb()
901 spin_unlock_irq(&qp->r_lock); in hfi1_qp_iter_cb()
H A Dtid_rdma.c2653 * The caller must hold the packet->qp->r_lock and the rcu_read_lock.
2658 __must_hold(&packet->qp->r_lock) __must_hold(RCU) in __must_hold()
2673 lockdep_assert_held(&qp->r_lock); in __must_hold()
2895 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_handle_kdeth_eflags()
3024 spin_unlock_irqrestore(&qp->r_lock, flags); in hfi1_handle_kdeth_eflags()
3596 lockdep_assert_held(&qp->r_lock); in hfi1_tid_write_alloc_resources()
3990 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_tid_timeout()
4024 spin_unlock_irqrestore(&qp->r_lock, flags); in hfi1_tid_timeout()
4806 spin_lock_irqsave(&qp->r_lock, flags); in hfi1_tid_retry_timeout()
4840 spin_unlock_irqrestore(&qp->r_lock, flag in hfi1_tid_retry_timeout()
[all...]
H A Dud.c115 spin_lock_irqsave(&qp->r_lock, flags); in ud_loopback()
219 spin_unlock_irqrestore(&qp->r_lock, flags); in ud_loopback()
H A Drc.c360 spin_lock_irqsave(&qp->r_lock, ps->flags); in make_rc_ack()
364 spin_unlock_irqrestore(&qp->r_lock, ps->flags); in make_rc_ack()
1562 * The QP r_lock and s_lock should be held and interrupts disabled.
1570 lockdep_assert_held(&qp->r_lock); in hfi1_restart_rc()
2786 lockdep_assert_held(&qp->r_lock); in hfi1_rc_rcv()
H A Ddriver.c280 spin_lock_irqsave(&qp->r_lock, flags); in rcv_hdrerr()
297 spin_unlock_irqrestore(&qp->r_lock, flags); in rcv_hdrerr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_driver.c361 spin_lock(&qp->r_lock); in qib_rcv_hdrerr()
420 spin_unlock(&qp->r_lock); in qib_rcv_hdrerr()
H A 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()
H A Dqib_sdma.c626 spin_lock(&qp->r_lock); in qib_sdma_verbs_send()
635 spin_unlock(&qp->r_lock); in qib_sdma_verbs_send()
H A Dqib_verbs.c227 spin_lock(&qp->r_lock); in qib_qp_rcv()
258 spin_unlock(&qp->r_lock); in qib_qp_rcv()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_driver.c362 spin_lock(&qp->r_lock); in qib_rcv_hdrerr()
421 spin_unlock(&qp->r_lock); in qib_rcv_hdrerr()
H A 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()
H A Dqib_sdma.c626 spin_lock(&qp->r_lock); in qib_sdma_verbs_send()
635 spin_unlock(&qp->r_lock); in qib_sdma_verbs_send()
H A Dqib_verbs.c227 spin_lock(&qp->r_lock); in qib_qp_rcv()
258 spin_unlock(&qp->r_lock); in qib_qp_rcv()
/kernel/linux/linux-5.10/include/rdma/
H A Drdmavt_qp.h377 spinlock_t r_lock ____cacheline_aligned_in_smp; /* used for APM */
/kernel/linux/linux-6.6/include/rdma/
H A Drdmavt_qp.h377 spinlock_t r_lock ____cacheline_aligned_in_smp; /* used for APM */

Completed in 49 milliseconds

12