Home
last modified time | relevance | path

Searched refs:s_lock (Results 1 – 21 of 21) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_ruc.c124 spin_lock_irqsave(&qp->s_lock, flags); in qib_ruc_check_hdr()
126 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_ruc_check_hdr()
286 spin_lock_irqsave(&qp->s_lock, flags); in qib_do_send()
290 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_do_send()
299 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_do_send()
309 spin_lock_irqsave(&qp->s_lock, flags); in qib_do_send()
313 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_do_send()
Dqib_verbs.c382 spin_lock_irqsave(&qp->s_lock, flags); in mem_timer()
387 spin_unlock_irqrestore(&qp->s_lock, flags); in mem_timer()
566 spin_lock_irqsave(&qp->s_lock, flags); in __get_txreq()
574 spin_unlock_irqrestore(&qp->s_lock, flags); in __get_txreq()
585 spin_unlock_irqrestore(&qp->s_lock, flags); in __get_txreq()
649 spin_lock_irqsave(&qp->s_lock, flags); in qib_put_txreq()
654 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_put_txreq()
698 spin_lock(&qp->s_lock); in qib_verbs_sdma_desc_avail()
703 spin_unlock(&qp->s_lock); in qib_verbs_sdma_desc_avail()
718 spin_lock(&qp->s_lock); in sdma_complete()
[all …]
Dqib_rc.c613 spin_lock_irqsave(&qp->s_lock, flags); in qib_send_rc_ack()
656 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_send_rc_ack()
676 spin_lock_irqsave(&qp->s_lock, flags); in qib_send_rc_ack()
721 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_send_rc_ack()
1307 spin_lock_irqsave(&qp->s_lock, flags); in qib_rc_rcv_resp()
1398 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_resp()
1470 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_resp()
1549 spin_lock_irqsave(&qp->s_lock, flags); in qib_rc_rcv_error()
1650 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_error()
1661 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_rc_rcv_error()
[all …]
Dqib_sdma.c627 spin_lock(&qp->s_lock); in qib_sdma_verbs_send()
634 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
642 spin_lock(&qp->s_lock); in qib_sdma_verbs_send()
666 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
669 spin_unlock(&qp->s_lock); in qib_sdma_verbs_send()
Dqib_ud.c298 spin_unlock_irqrestore(&qp->s_lock, tflags); in qib_make_ud_req()
300 spin_lock_irqsave(&qp->s_lock, tflags); in qib_make_ud_req()
Dqib_driver.c563 spin_lock_irqsave(&qp->s_lock, flags); in qib_kreceive()
567 spin_unlock_irqrestore(&qp->s_lock, flags); in qib_kreceive()
/drivers/lightnvm/
Dpblk-rb.c100 spin_lock_init(&rb->s_lock); in pblk_rb_init()
692 __acquires(&rb->s_lock) in pblk_rb_sync_init()
695 spin_lock_irqsave(&rb->s_lock, *flags); in pblk_rb_sync_init()
697 spin_lock_irq(&rb->s_lock); in pblk_rb_sync_init()
703 __releases(&rb->s_lock) in pblk_rb_sync_end()
705 lockdep_assert_held(&rb->s_lock); in pblk_rb_sync_end()
708 spin_unlock_irqrestore(&rb->s_lock, *flags); in pblk_rb_sync_end()
710 spin_unlock_irq(&rb->s_lock); in pblk_rb_sync_end()
716 lockdep_assert_held(&rb->s_lock); in pblk_rb_sync_advance()
770 spin_lock_irq(&rb->s_lock); in pblk_rb_tear_down_check()
[all …]
Dpblk.h201 spinlock_t s_lock; /* Sync lock */ member
/drivers/infiniband/hw/hfi1/
Dtid_rdma.c504 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in kernel_tid_waiters()
509 lockdep_assert_held(&qp->s_lock); in kernel_tid_waiters()
535 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in dequeue_tid_waiter()
539 lockdep_assert_held(&qp->s_lock); in dequeue_tid_waiter()
561 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in queue_qp_for_tid_wait()
565 lockdep_assert_held(&qp->s_lock); in queue_qp_for_tid_wait()
585 __must_hold(&qp->s_lock) in __trigger_tid_waiter()
587 lockdep_assert_held(&qp->s_lock); in __trigger_tid_waiter()
647 spin_lock_irq(&qp->s_lock); in tid_rdma_trigger_resume()
649 spin_unlock_irq(&qp->s_lock); in tid_rdma_trigger_resume()
[all …]
Druc.c115 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_ruc_check_hdr()
117 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_ruc_check_hdr()
478 spin_lock_irqsave(&qp->s_lock, ps->flags); in hfi1_schedule_send_yield()
497 spin_unlock_irqrestore(&qp->s_lock, ps->flags); in hfi1_schedule_send_yield()
574 spin_lock_irqsave(&qp->s_lock, ps.flags); in hfi1_do_send()
580 spin_unlock_irqrestore(&qp->s_lock, ps.flags); in hfi1_do_send()
599 spin_unlock_irqrestore(&qp->s_lock, ps.flags); in hfi1_do_send()
611 spin_lock_irqsave(&qp->s_lock, ps.flags); in hfi1_do_send()
615 spin_unlock_irqrestore(&qp->s_lock, ps.flags); in hfi1_do_send()
Dqp.c409 lockdep_assert_held(&qp->s_lock); in hfi1_schedule_send()
441 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_qp_wakeup()
447 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_qp_wakeup()
493 spin_lock_irqsave(&qp->s_lock, flags); in iowait_sleep()
520 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
523 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
529 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sleep()
553 spin_lock_irqsave(&qp->s_lock, flags); in iowait_sdma_drained()
558 spin_unlock_irqrestore(&qp->s_lock, flags); in iowait_sdma_drained()
775 lockdep_assert_held(&qp->s_lock); in flush_qp_waiters()
[all …]
Drc.c60 __must_hold(&qp->s_lock) in find_prev_entry()
127 lockdep_assert_held(&qp->s_lock); in make_rc_ack()
401 spin_unlock_irqrestore(&qp->s_lock, ps->flags); in make_rc_ack()
403 spin_lock(&qp->s_lock); in make_rc_ack()
405 spin_unlock(&qp->s_lock); in make_rc_ack()
407 spin_lock_irqsave(&qp->s_lock, ps->flags); in make_rc_ack()
451 lockdep_assert_held(&qp->s_lock); in hfi1_make_rc_req()
1243 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_queue_rc_ack()
1257 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_queue_rc_ack()
1507 lockdep_assert_held(&qp->s_lock); in reset_psn()
[all …]
Dverbs.c635 spin_lock(&qp->s_lock); in verbs_sdma_complete()
646 spin_unlock(&qp->s_lock); in verbs_sdma_complete()
676 spin_lock_irqsave(&qp->s_lock, flags); in wait_kmem()
686 spin_unlock_irqrestore(&qp->s_lock, flags); in wait_kmem()
939 spin_lock_irqsave(&qp->s_lock, flags); in pio_wait()
966 spin_unlock_irqrestore(&qp->s_lock, flags); in pio_wait()
1103 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1111 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_verbs_send_pio()
1312 spin_lock_irqsave(&qp->s_lock, flags); in hfi1_verbs_send()
1314 spin_unlock_irqrestore(&qp->s_lock, flags); in hfi1_verbs_send()
Dverbs_txreq.c95 __must_hold(&qp->s_lock) in __get_txreq()
Dud.c540 spin_unlock_irqrestore(&qp->s_lock, tflags); in hfi1_make_ud_req()
542 spin_lock_irqsave(&qp->s_lock, tflags); in hfi1_make_ud_req()
Ddriver.c702 spin_lock_irqsave(&qp->s_lock, flags); in process_rcv_qp_work()
706 spin_unlock_irqrestore(&qp->s_lock, flags); in process_rcv_qp_work()
/drivers/infiniband/sw/rdmavt/
Dqp.c738 spin_lock(&qp->s_lock); in rvt_qp_mr_clean()
748 spin_unlock(&qp->s_lock); in rvt_qp_mr_clean()
915 __must_hold(&qp->s_lock) in _rvt_reset_qp()
921 lockdep_assert_held(&qp->s_lock); in _rvt_reset_qp()
929 spin_unlock(&qp->s_lock); in _rvt_reset_qp()
945 spin_lock(&qp->s_lock); in _rvt_reset_qp()
957 lockdep_assert_held(&qp->s_lock); in _rvt_reset_qp()
974 spin_lock(&qp->s_lock); in rvt_reset_qp()
976 spin_unlock(&qp->s_lock); in rvt_reset_qp()
1188 spin_lock_init(&qp->s_lock); in rvt_create_qp()
[all …]
Drc.c168 lockdep_assert_held(&qp->s_lock); in rvt_get_credit()
/drivers/media/pci/bt8xx/
Dbttv-driver.c1167 spin_lock_irqsave(&btv->s_lock,flags); in set_input()
1174 spin_unlock_irqrestore(&btv->s_lock,flags); in set_input()
1242 spin_lock_irqsave(&btv->s_lock,flags); in bttv_reinit_bt848()
1245 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_reinit_bt848()
1507 spin_lock_irqsave(&btv->s_lock,flags); in bttv_switch_overlay()
1512 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_switch_overlay()
2993 &btv->c.pci->dev, &btv->s_lock, in bttv_open()
2999 &btv->c.pci->dev, &btv->s_lock, in bttv_open()
3613 spin_lock_irqsave(&btv->s_lock,flags); in bttv_irq_timeout()
3645 spin_unlock_irqrestore(&btv->s_lock,flags); in bttv_irq_timeout()
[all …]
Dbttvp.h411 spinlock_t s_lock; member
/drivers/media/pci/ngene/
Dngene.h720 spinlock_t s_lock; member