Home
last modified time | relevance | path

Searched refs:q_lock (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c88 spin_lock_irqsave(&qp->q_lock, flags); in qedr_ll2_complete_tx_packet()
90 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_ll2_complete_tx_packet()
104 spin_lock_irqsave(&qp->q_lock, flags); in qedr_ll2_complete_rx_packet()
119 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_ll2_complete_rx_packet()
573 spin_lock_irqsave(&qp->q_lock, flags); in qedr_gsi_post_send()
577 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_send()
595 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_send()
628 spin_lock_irqsave(&qp->q_lock, flags); in qedr_gsi_post_recv()
661 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_recv()
665 spin_unlock_irqrestore(&qp->q_lock, flags); in qedr_gsi_post_recv()
H A Dqedr.h403 spinlock_t q_lock; member
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_task_queue.c95 spin_lock_irqsave(&ipc_task->q_lock, flags); in ipc_task_queue_add_task()
124 spin_unlock_irqrestore(&ipc_task->q_lock, flags); in ipc_task_queue_add_task()
186 spin_lock_init(&ipc_queue->q_lock); in ipc_task_init()
H A Diosm_ipc_task_queue.h47 spinlock_t q_lock; /* for atomic operation on queue */ member
/linux/sound/isa/sb/
H A Dsb16_csp.c980 spin_lock_irqsave(&p->q_lock, flags); in snd_sb_qsound_switch_put()
983 spin_unlock_irqrestore(&p->q_lock, flags); in snd_sb_qsound_switch_put()
1001 spin_lock_irqsave(&p->q_lock, flags); in snd_sb_qsound_space_get()
1004 spin_unlock_irqrestore(&p->q_lock, flags); in snd_sb_qsound_space_get()
1021 spin_lock_irqsave(&p->q_lock, flags); in snd_sb_qsound_space_put()
1026 spin_unlock_irqrestore(&p->q_lock, flags); in snd_sb_qsound_space_put()
1059 spin_lock_init(&p->q_lock); in snd_sb_qsound_build()
1095 spin_lock_irqsave (&p->q_lock, flags); in snd_sb_qsound_destroy()
1097 spin_unlock_irqrestore (&p->q_lock, flags); in snd_sb_qsound_destroy()
1108 spin_lock(&p->q_lock); in snd_sb_csp_qsound_transfer()
[all …]
/linux/drivers/dma/ptdma/
H A Dptdma-dev.c80 spin_lock_irqsave(&cmd_q->q_lock, flags); in pt_core_execute_cmd()
95 spin_unlock_irqrestore(&cmd_q->q_lock, flags); in pt_core_execute_cmd()
203 spin_lock_init(&cmd_q->q_lock); in pt_core_init()
H A Dptdma.h199 spinlock_t q_lock ____cacheline_aligned;
/linux/drivers/atm/
H A Dfore200e.c1141 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_irq()
1143 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_irq()
1145 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_irq()
1147 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_irq()
1185 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_tx_tasklet()
1187 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_tx_tasklet()
1199 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_rx_tasklet()
1201 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_rx_tasklet()
1313 spin_lock_irqsave(&fore200e->q_lock, flags); in fore200e_open()
1318 spin_unlock_irqrestore(&fore200e->q_lock, flags); in fore200e_open()
[all …]
H A Dfore200e.h862 spinlock_t q_lock; /* protects queue ops */ member
/linux/drivers/net/wireless/realtek/rtw88/
H A Dtx.c190 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
192 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
205 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
207 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
247 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_handle()
256 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_handle()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.c294 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_submit_admin_cmd()
296 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_submit_admin_cmd()
305 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_submit_admin_cmd()
532 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
534 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
543 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
546 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
558 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
560 spin_unlock_irqrestore(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_polling()
759 spin_lock_irqsave(&admin_queue->q_lock, flags); in ena_com_wait_and_process_admin_cq_interrupts()
[all …]
H A Dena_com.h216 spinlock_t q_lock; /* spinlock for the admin queue */ member
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-video.h46 struct mutex q_lock; member
H A Dcamss-video.c655 mutex_destroy(&video->q_lock); in msm_video_release()
713 mutex_init(&video->q_lock); in msm_video_register()
724 q->lock = &video->q_lock; in msm_video_register()
774 mutex_destroy(&video->q_lock); in msm_video_register()
/linux/include/sound/
H A Dsb16_csp.h61 spinlock_t q_lock; /* locking */ member
/linux/drivers/staging/media/starfive/camss/
H A Dstf-video.h79 struct mutex q_lock; /* protects the queue */ member
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c1271 spin_lock_init(&qp->q_lock); in ocrdma_set_qp_init_params()
1403 spin_lock_irqsave(&qp->q_lock, flags); in ocrdma_modify_qp()
1409 spin_unlock_irqrestore(&qp->q_lock, flags); in ocrdma_modify_qp()
1632 spin_lock_irqsave(&qp->srq->q_lock, flags); in ocrdma_discard_cqes()
1635 spin_unlock_irqrestore(&qp->srq->q_lock, flags); in ocrdma_discard_cqes()
1781 spin_lock_init(&srq->q_lock); in ocrdma_create_srq()
2094 spin_lock_irqsave(&qp->q_lock, flags); in ocrdma_post_send()
2096 spin_unlock_irqrestore(&qp->q_lock, flags); in ocrdma_post_send()
2187 spin_unlock_irqrestore(&qp->q_lock, flags); in ocrdma_post_send()
2227 spin_lock_irqsave(&qp->q_lock, flags); in ocrdma_post_recv()
[all …]
H A Docrdma.h382 spinlock_t q_lock ____cacheline_aligned;
403 spinlock_t q_lock ____cacheline_aligned;
/linux/drivers/memstick/core/
H A Dms_block.h149 spinlock_t q_lock; member
/linux/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c1262 m2m_ctx->q_lock = out_q_ctx->q.lock; in v4l2_m2m_ctx_init()
1632 if (m2m_ctx->q_lock) in v4l2_m2m_fop_poll()
1633 mutex_lock(m2m_ctx->q_lock); in v4l2_m2m_fop_poll()
1637 if (m2m_ctx->q_lock) in v4l2_m2m_fop_poll()
1638 mutex_unlock(m2m_ctx->q_lock); in v4l2_m2m_fop_poll()
/linux/drivers/block/drbd/
H A Ddrbd_int.h486 spinlock_t q_lock; /* to protect the list. */ member
1821 spin_lock_irqsave(&q->q_lock, flags); in drbd_queue_work()
1823 spin_unlock_irqrestore(&q->q_lock, flags); in drbd_queue_work()
1831 spin_lock_irqsave(&q->q_lock, flags); in drbd_queue_work_if_unqueued()
1834 spin_unlock_irqrestore(&q->q_lock, flags); in drbd_queue_work_if_unqueued()
H A Ddrbd_worker.c2079 spin_lock_irq(&queue->q_lock); in dequeue_work_batch()
2081 spin_unlock_irq(&queue->q_lock); in dequeue_work_batch()
2116 spin_lock(&connection->sender_work.q_lock); /* FIXME get rid of this one? */ in wait_for_work()
2119 spin_unlock(&connection->sender_work.q_lock); /* FIXME get rid of this one? */ in wait_for_work()
/linux/drivers/iommu/intel/
H A Ddebugfs.c527 raw_spin_lock_irqsave(&qi->q_lock, flags); in invalidation_queue_show()
533 raw_spin_unlock_irqrestore(&qi->q_lock, flags); in invalidation_queue_show()
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c945 spin_lock(vhost->crq.q_lock); in ibmvfc_reenable_crq_queue()
948 spin_unlock(vhost->crq.q_lock); in ibmvfc_reenable_crq_queue()
980 spin_lock(vhost->crq.q_lock); in ibmvfc_reset_crq()
1000 spin_unlock(vhost->crq.q_lock); in ibmvfc_reset_crq()
1143 spin_lock_irqsave(queues[i].q_lock, flags); in ibmvfc_purge_requests()
1149 spin_unlock_irqrestore(queues[i].q_lock, flags); in ibmvfc_purge_requests()
2613 spin_lock(queues[i].q_lock); in ibmvfc_cancel_all_mq()
2627 spin_unlock(queues[i].q_lock); in ibmvfc_cancel_all_mq()
2636 spin_unlock(queues[i].q_lock); in ibmvfc_cancel_all_mq()
3798 spin_lock(vhost->crq.q_lock); in ibmvfc_tasklet()
[all …]
/linux/include/media/
H A Dv4l2-mem2mem.h107 struct mutex *q_lock; member

12