Home
last modified time | relevance | path

Searched refs:cq_lock (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cq.c390 mutex_enter(&cq->cq_lock); in tavor_cq_free()
402 mutex_exit(&cq->cq_lock); in tavor_cq_free()
419 mutex_exit(&cq->cq_lock); in tavor_cq_free()
430 mutex_exit(&cq->cq_lock); in tavor_cq_free()
454 mutex_exit(&cq->cq_lock); in tavor_cq_free()
630 mutex_enter(&cq->cq_lock); in tavor_cq_resize()
654 mutex_exit(&cq->cq_lock); in tavor_cq_resize()
694 mutex_exit(&cq->cq_lock); in tavor_cq_resize()
752 mutex_exit(&cq->cq_lock); in tavor_cq_resize()
764 mutex_exit(&cq->cq_lock); in tavor_cq_resize()
[all …]
H A Dtavor_umap.c429 mutex_enter(&cq->cq_lock); in tavor_devmap_umem_map()
433 mutex_exit(&cq->cq_lock); in tavor_devmap_umem_map()
435 mutex_exit(&cq->cq_lock); in tavor_devmap_umem_map()
697 mutex_enter(&cq->cq_lock); in tavor_devmap_umem_unmap()
701 mutex_exit(&cq->cq_lock); in tavor_devmap_umem_unmap()
H A Dtavor_wr.c2456 mutex_enter(&qp->qp_rq_cqhdl->cq_lock); in tavor_wrid_to_reset_handling()
2499 mutex_exit(&qp->qp_rq_cqhdl->cq_lock); in tavor_wrid_to_reset_handling()
2873 ASSERT(MUTEX_HELD(&cq->cq_lock)); in tavor_wrid_cq_reap()
2913 ASSERT(MUTEX_HELD(&cq->cq_lock)); in tavor_wrid_cq_force_reap()
H A Dtavor_rsrc.c2409 mutex_init(&cqhdl->cq_lock, NULL, MUTEX_DRIVER, in tavor_rsrc_cqhdl_constructor()
2431 mutex_destroy(&cqhdl->cq_lock); in tavor_rsrc_cqhdl_destructor()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cq.c432 mutex_enter(&cq->cq_lock); in hermon_cq_free()
446 mutex_exit(&cq->cq_lock); in hermon_cq_free()
463 mutex_exit(&cq->cq_lock); in hermon_cq_free()
474 mutex_exit(&cq->cq_lock); in hermon_cq_free()
490 mutex_exit(&cq->cq_lock); in hermon_cq_free()
694 mutex_enter(&cq->cq_lock); in hermon_cq_resize()
721 mutex_exit(&cq->cq_lock); in hermon_cq_resize()
767 mutex_exit(&cq->cq_lock); in hermon_cq_resize()
795 mutex_enter(&cq->cq_lock); in hermon_cq_modify()
804 mutex_exit(&cq->cq_lock); in hermon_cq_modify()
[all …]
H A Dhermon_wr.c2224 mutex_enter(&qp->qp_rq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2225 mutex_enter(&qp->qp_sq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2229 mutex_enter(&qp->qp_rq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2232 mutex_enter(&qp->qp_sq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2275 mutex_exit(&qp->qp_sq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2276 mutex_exit(&qp->qp_rq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2280 mutex_exit(&qp->qp_sq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2282 mutex_exit(&qp->qp_rq_cqhdl->cq_lock); in hermon_wrid_from_reset_handling()
2304 mutex_enter(&qp->qp_rq_cqhdl->cq_lock); in hermon_wrid_to_reset_handling()
2305 mutex_enter(&qp->qp_sq_cqhdl->cq_lock); in hermon_wrid_to_reset_handling()
[all …]
H A Dhermon_umap.c518 mutex_enter(&cq->cq_lock); in hermon_devmap_umem_map()
522 mutex_exit(&cq->cq_lock); in hermon_devmap_umem_map()
528 mutex_exit(&cq->cq_lock); in hermon_devmap_umem_map()
530 mutex_exit(&cq->cq_lock); in hermon_devmap_umem_map()
792 mutex_enter(&cq->cq_lock); in hermon_devmap_umem_unmap()
810 mutex_exit(&cq->cq_lock); in hermon_devmap_umem_unmap()
923 mutex_enter(&cq->cq_lock); in hermon_devmap_dbrecmem_map()
927 mutex_exit(&cq->cq_lock); in hermon_devmap_dbrecmem_map()
929 mutex_exit(&cq->cq_lock); in hermon_devmap_dbrecmem_map()
1191 mutex_enter(&cq->cq_lock); in hermon_devmap_dbrecmem_unmap()
[all …]
H A Dhermon_rsrc.c2449 mutex_init(&cqhdl->cq_lock, NULL, MUTEX_DRIVER, in hermon_rsrc_cqhdl_constructor()
2468 mutex_destroy(&cqhdl->cq_lock); in hermon_rsrc_cqhdl_destructor()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c614 mutex_enter(&pwp->cq_lock); in pmcs_scsa_start()
617 mutex_exit(&pwp->cq_lock); in pmcs_scsa_start()
736 mutex_enter(&pwp->cq_lock); in pmcs_scsa_abort()
739 mutex_exit(&pwp->cq_lock); in pmcs_scsa_abort()
1758 mutex_enter(&pwp->cq_lock); in pmcs_scsa_cq_run()
1767 mutex_exit(&pwp->cq_lock); in pmcs_scsa_cq_run()
1786 mutex_enter(&pwp->cq_lock); in pmcs_scsa_cq_run()
1789 mutex_exit(&pwp->cq_lock); in pmcs_scsa_cq_run()
1822 mutex_enter(&pwp->cq_lock); in pmcs_scsa_cq_run()
1825 mutex_exit(&pwp->cq_lock); in pmcs_scsa_cq_run()
[all …]
H A Dpmcs_sata.c517 mutex_enter(&pwp->cq_lock); in pmcs_sata_special_work()
520 mutex_exit(&pwp->cq_lock); in pmcs_sata_special_work()
H A Dpmcs_intr.c220 mutex_enter(&pwp->cq_lock); in pmcs_process_io_completion()
229 mutex_exit(&pwp->cq_lock); in pmcs_process_io_completion()
1628 if (mutex_tryenter(&pwp->cq_lock) != 0) { in pmcs_iodone_intr()
1630 mutex_exit(&pwp->cq_lock); in pmcs_iodone_intr()
H A Dpmcs_attach.c1346 mutex_enter(&pwp->cq_lock); in pmcs_unattach()
1354 mutex_exit(&pwp->cq_lock); in pmcs_unattach()
1356 mutex_enter(&pwp->cq_lock); in pmcs_unattach()
1359 mutex_exit(&pwp->cq_lock); in pmcs_unattach()
1641 mutex_destroy(&pwp->cq_lock); in pmcs_unattach()
2550 mutex_init(&pwp->cq_lock, NULL, MUTEX_DRIVER, DDI_INTR_PRI(pri)); in pmcs_setup_intr()
H A Dpmcs_subr.c7007 mutex_enter(&pwp->cq_lock); in pmcs_flush_target_queues()
7010 mutex_exit(&pwp->cq_lock); in pmcs_flush_target_queues()
7057 mutex_enter(&pwp->cq_lock); in pmcs_flush_target_queues()
7059 mutex_exit(&pwp->cq_lock); in pmcs_flush_target_queues()
7076 mutex_enter(&pwp->cq_lock); in pmcs_flush_target_queues()
7078 mutex_exit(&pwp->cq_lock); in pmcs_flush_target_queues()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_cq.h212 kmutex_t cq_lock; member
249 _NOTE(MUTEX_PROTECTS_DATA(tavor_sw_cq_s::cq_lock,
H A Dtavor_wr.h275 _NOTE(LOCK_ORDER(tavor_sw_cq_s::cq_lock
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cq.h212 kmutex_t cq_lock; member
255 _NOTE(MUTEX_PROTECTS_DATA(hermon_sw_cq_s::cq_lock,
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_def.h481 mutex_enter(&hwp->cq_lock); \
483 mutex_exit(&hwp->cq_lock);
H A Dpmcs.h671 kmutex_t cq_lock; member