/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | pblk-gc.c | 348 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 D | qp.c | 736 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 D | qp.c | 696 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 D | verbs.c | 405 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 D | qp.c | 936 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 D | tid_rdma.c | 2646 * 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 D | ud.c | 157 spin_lock_irqsave(&qp->r_lock, flags); in ud_loopback() 261 spin_unlock_irqrestore(&qp->r_lock, flags); in ud_loopback()
|
H A D | rc.c | 402 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 D | driver.c | 327 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 D | verbs.c | 363 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 D | qp.c | 895 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 D | tid_rdma.c | 2653 * 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 D | ud.c | 115 spin_lock_irqsave(&qp->r_lock, flags); in ud_loopback() 219 spin_unlock_irqrestore(&qp->r_lock, flags); in ud_loopback()
|
H A D | rc.c | 360 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 D | driver.c | 280 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 D | qib_driver.c | 361 spin_lock(&qp->r_lock); in qib_rcv_hdrerr() 420 spin_unlock(&qp->r_lock); in qib_rcv_hdrerr()
|
H A D | qib_ud.c | 133 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 D | qib_sdma.c | 626 spin_lock(&qp->r_lock); in qib_sdma_verbs_send() 635 spin_unlock(&qp->r_lock); in qib_sdma_verbs_send()
|
H A D | qib_verbs.c | 227 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 D | qib_driver.c | 362 spin_lock(&qp->r_lock); in qib_rcv_hdrerr() 421 spin_unlock(&qp->r_lock); in qib_rcv_hdrerr()
|
H A D | qib_ud.c | 133 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 D | qib_sdma.c | 626 spin_lock(&qp->r_lock); in qib_sdma_verbs_send() 635 spin_unlock(&qp->r_lock); in qib_sdma_verbs_send()
|
H A D | qib_verbs.c | 227 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 D | rdmavt_qp.h | 377 spinlock_t r_lock ____cacheline_aligned_in_smp; /* used for APM */
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | rdmavt_qp.h | 377 spinlock_t r_lock ____cacheline_aligned_in_smp; /* used for APM */
|