Home
last modified time | relevance | path

Searched refs:req_lock (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_ether.c62 spinlock_t req_lock; /* guard {rx,tx}_reqs */ member
247 spin_lock_irqsave(&dev->req_lock, flags); in rx_submit()
249 spin_unlock_irqrestore(&dev->req_lock, flags); in rx_submit()
337 spin_lock(&dev->req_lock); in rx_complete()
339 spin_unlock(&dev->req_lock); in rx_complete()
389 spin_lock(&dev->req_lock); in alloc_requests()
400 spin_unlock(&dev->req_lock); in alloc_requests()
410 spin_lock_irqsave(&dev->req_lock, flags); in rx_fill()
414 spin_unlock_irqrestore(&dev->req_lock, flags); in rx_fill()
421 spin_lock_irqsave(&dev->req_lock, flags); in rx_fill()
[all …]
Duvc_video.c168 spin_lock_irqsave(&video->req_lock, flags); in uvc_video_complete()
170 spin_unlock_irqrestore(&video->req_lock, flags); in uvc_video_complete()
259 spin_lock_irqsave(&video->req_lock, flags); in uvcg_video_pump()
261 spin_unlock_irqrestore(&video->req_lock, flags); in uvcg_video_pump()
267 spin_unlock_irqrestore(&video->req_lock, flags); in uvcg_video_pump()
291 spin_lock_irqsave(&video->req_lock, flags); in uvcg_video_pump()
293 spin_unlock_irqrestore(&video->req_lock, flags); in uvcg_video_pump()
347 spin_lock_init(&video->req_lock); in uvcg_video_init()
Duvc.h95 spinlock_t req_lock; member
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dorinoco_usb.c241 spinlock_t req_lock; member
373 spin_lock_irqsave(&upriv->req_lock, flags); in ezusb_ctx_complete()
377 spin_unlock_irqrestore(&upriv->req_lock, flags); in ezusb_ctx_complete()
379 spin_lock_irqsave(&upriv->req_lock, flags); in ezusb_ctx_complete()
388 spin_unlock_irqrestore(&upriv->req_lock, flags); in ezusb_ctx_complete()
406 spin_unlock_irqrestore(&upriv->req_lock, flags); in ezusb_ctx_complete()
439 spin_lock_irqsave(&upriv->req_lock, flags); in ezusb_req_queue_run()
463 spin_unlock_irqrestore(&upriv->req_lock, flags); in ezusb_req_queue_run()
479 spin_unlock_irqrestore(&upriv->req_lock, flags); in ezusb_req_queue_run()
490 spin_lock_irqsave(&upriv->req_lock, flags); in ezusb_req_enqueue_run()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c35 struct mutex req_lock; member
48 mutex_lock(&pi->req_lock); in brcmf_pno_store_request()
50 mutex_unlock(&pi->req_lock); in brcmf_pno_store_request()
58 mutex_lock(&pi->req_lock); in brcmf_pno_remove_request()
89 mutex_unlock(&pi->req_lock); in brcmf_pno_remove_request()
525 mutex_init(&pi->req_lock); in brcmf_pno_attach()
538 mutex_destroy(&pi->req_lock); in brcmf_pno_detach()
556 mutex_lock(&pi->req_lock); in brcmf_pno_find_reqid_by_bucket()
561 mutex_unlock(&pi->req_lock); in brcmf_pno_find_reqid_by_bucket()
573 mutex_lock(&pi->req_lock); in brcmf_pno_get_bucket_map()
[all …]
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c36 static DEFINE_SPINLOCK(req_lock);
104 spin_lock(&req_lock); in devtmpfs_submit_req()
107 spin_unlock(&req_lock); in devtmpfs_submit_req()
392 spin_lock(&req_lock); in devtmpfs_work_loop()
396 spin_unlock(&req_lock); in devtmpfs_work_loop()
404 spin_lock(&req_lock); in devtmpfs_work_loop()
407 spin_unlock(&req_lock); in devtmpfs_work_loop()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_debugfs.c168 spin_lock_irq(&device->resource->req_lock); in seq_print_waiting_for_AL()
177 spin_unlock_irq(&device->resource->req_lock); in seq_print_waiting_for_AL()
197 spin_lock_irq(&device->resource->req_lock); in seq_print_device_bitmap_io()
206 spin_unlock_irq(&device->resource->req_lock); in seq_print_device_bitmap_io()
275 spin_lock_irq(&device->resource->req_lock); in seq_print_device_peer_requests()
279 spin_unlock_irq(&device->resource->req_lock); in seq_print_device_peer_requests()
310 spin_lock_irq(&resource->req_lock); in seq_print_resource_transfer_log_summary()
320 spin_unlock_irq(&resource->req_lock); in seq_print_resource_transfer_log_summary()
322 spin_lock_irq(&resource->req_lock); in seq_print_resource_transfer_log_summary()
356 spin_unlock_irq(&resource->req_lock); in seq_print_resource_transfer_log_summary()
[all …]
Ddrbd_req.c964 spin_unlock_irq(&device->resource->req_lock); in complete_conflicting_writes()
966 spin_lock_irq(&device->resource->req_lock); in complete_conflicting_writes()
1175 spin_lock_irq(&device->resource->req_lock); in drbd_queue_write()
1179 spin_unlock_irq(&device->resource->req_lock); in drbd_queue_write()
1268 spin_lock_irq(&resource->req_lock); in drbd_unplug()
1275 spin_unlock_irq(&resource->req_lock); in drbd_unplug()
1311 spin_lock_irq(&resource->req_lock); in drbd_send_and_submit()
1405 spin_unlock_irq(&resource->req_lock); in drbd_send_and_submit()
1504 spin_lock_irq(&device->resource->req_lock); in do_submit()
1506 spin_unlock_irq(&device->resource->req_lock); in do_submit()
[all …]
Ddrbd_receiver.c214 spin_lock_irq(&device->resource->req_lock); in drbd_reclaim_net_peer_reqs()
216 spin_unlock_irq(&device->resource->req_lock); in drbd_reclaim_net_peer_reqs()
428 spin_lock_irq(&device->resource->req_lock); in drbd_free_peer_reqs()
430 spin_unlock_irq(&device->resource->req_lock); in drbd_free_peer_reqs()
449 spin_lock_irq(&device->resource->req_lock); in drbd_finish_peer_reqs()
452 spin_unlock_irq(&device->resource->req_lock); in drbd_finish_peer_reqs()
484 spin_unlock_irq(&device->resource->req_lock); in _drbd_wait_ee_list_empty()
487 spin_lock_irq(&device->resource->req_lock); in _drbd_wait_ee_list_empty()
494 spin_lock_irq(&device->resource->req_lock); in drbd_wait_ee_list_empty()
496 spin_unlock_irq(&device->resource->req_lock); in drbd_wait_ee_list_empty()
[all …]
Ddrbd_worker.c87 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_endio_read_sec_final()
94 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_endio_read_sec_final()
130 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_endio_write_sec_final()
154 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_endio_write_sec_final()
278 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_request_endio()
280 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_request_endio()
408 spin_lock_irq(&device->resource->req_lock); in read_for_csum()
410 spin_unlock_irq(&device->resource->req_lock); in read_for_csum()
421 spin_lock_irq(&device->resource->req_lock); in read_for_csum()
423 spin_unlock_irq(&device->resource->req_lock); in read_for_csum()
[all …]
Ddrbd_state.c496 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_change_state()
499 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_change_state()
530 spin_lock_irqsave(&device->resource->req_lock, flags); in _req_st_cond()
547 spin_unlock_irqrestore(&device->resource->req_lock, flags); in _req_st_cond()
579 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_req_state()
584 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_req_state()
592 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_req_state()
615 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_req_state()
622 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_req_state()
1735 spin_lock_irq(&device->resource->req_lock); in after_state_ch()
[all …]
Ddrbd_req.h323 spin_lock_irqsave(&device->resource->req_lock, flags); in req_mod()
325 spin_unlock_irqrestore(&device->resource->req_lock, flags); in req_mod()
Ddrbd_main.c191 spin_lock_irq(&connection->resource->req_lock); in tl_release()
248 spin_unlock_irq(&connection->resource->req_lock); in tl_release()
253 spin_unlock_irq(&connection->resource->req_lock); in tl_release()
277 spin_lock_irq(&connection->resource->req_lock); in tl_restart()
279 spin_unlock_irq(&connection->resource->req_lock); in tl_restart()
304 spin_lock_irq(&connection->resource->req_lock); in tl_abort_disk_io()
312 spin_unlock_irq(&connection->resource->req_lock); in tl_abort_disk_io()
1923 spin_lock_irqsave(&device->resource->req_lock, flags); in drbd_open()
1936 spin_unlock_irqrestore(&device->resource->req_lock, flags); in drbd_open()
2599 spin_lock_init(&resource->req_lock); in drbd_create_resource()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Dhwa742.c104 spinlock_t req_lock; member
238 spin_lock_irqsave(&hwa742.req_lock, flags); in alloc_req()
243 spin_unlock_irqrestore(&hwa742.req_lock, flags); in alloc_req()
255 spin_lock_irqsave(&hwa742.req_lock, flags); in free_req()
261 spin_unlock_irqrestore(&hwa742.req_lock, flags); in free_req()
268 spin_lock_irqsave(&hwa742.req_lock, flags); in process_pending_requests()
277 spin_unlock_irqrestore(&hwa742.req_lock, flags); in process_pending_requests()
289 spin_lock_irqsave(&hwa742.req_lock, flags); in process_pending_requests()
292 spin_unlock_irqrestore(&hwa742.req_lock, flags); in process_pending_requests()
300 spin_lock_irqsave(&hwa742.req_lock, flags); in submit_req_list()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/
Dzip_crypto.c82 rwlock_t req_lock; member
270 rwlock_init(&req_q->req_lock); in hisi_zip_create_req_q()
344 write_lock(&req_q->req_lock); in hisi_zip_remove_req()
347 write_unlock(&req_q->req_lock); in hisi_zip_remove_req()
495 write_lock(&req_q->req_lock); in hisi_zip_create_req()
499 write_unlock(&req_q->req_lock); in hisi_zip_create_req()
517 write_unlock(&req_q->req_lock); in hisi_zip_create_req()
/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c545 spin_lock(&server->req_lock); in wait_for_free_credits()
553 spin_unlock(&server->req_lock); in wait_for_free_credits()
559 spin_unlock(&server->req_lock); in wait_for_free_credits()
573 spin_lock(&server->req_lock); in wait_for_free_credits()
576 spin_unlock(&server->req_lock); in wait_for_free_credits()
596 spin_unlock(&server->req_lock); in wait_for_free_credits()
615 spin_lock(&server->req_lock); in wait_for_free_credits()
632 spin_unlock(&server->req_lock); in wait_for_free_credits()
655 spin_lock(&server->req_lock); in wait_for_compound_request()
674 spin_unlock(&server->req_lock); in wait_for_compound_request()
[all …]
/kernel/linux/linux-5.10/net/9p/
Dtrans_rdma.c92 spinlock_t req_lock; member
533 spin_lock_irqsave(&rdma->req_lock, flags); in rdma_request()
536 spin_unlock_irqrestore(&rdma->req_lock, flags); in rdma_request()
539 spin_unlock_irqrestore(&rdma->req_lock, flags); in rdma_request()
576 spin_lock_init(&rdma->req_lock); in alloc_rdma()
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_request.h25 #define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock)
26 #define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock)
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispccdc.c373 spin_lock_irqsave(&ccdc->lsc.req_lock, flags); in ccdc_lsc_free_queue()
376 spin_unlock_irqrestore(&ccdc->lsc.req_lock, flags); in ccdc_lsc_free_queue()
378 spin_lock_irqsave(&ccdc->lsc.req_lock, flags); in ccdc_lsc_free_queue()
380 spin_unlock_irqrestore(&ccdc->lsc.req_lock, flags); in ccdc_lsc_free_queue()
462 spin_lock_irqsave(&ccdc->lsc.req_lock, flags); in ccdc_lsc_config()
468 spin_unlock_irqrestore(&ccdc->lsc.req_lock, flags); in ccdc_lsc_config()
484 spin_lock_irqsave(&ccdc->lsc.req_lock, flags); in ccdc_lsc_is_configured()
486 spin_unlock_irqrestore(&ccdc->lsc.req_lock, flags); in ccdc_lsc_is_configured()
1286 spin_lock_irqsave(&ccdc->lsc.req_lock, flags); in ccdc_configure()
1306 spin_unlock_irqrestore(&ccdc->lsc.req_lock, flags); in ccdc_configure()
[all …]
Dispccdc.h69 spinlock_t req_lock; member
/kernel/linux/linux-5.10/drivers/soc/ti/
Dk3-ringacc.c203 struct mutex req_lock; /* protect rings allocation */ member
291 mutex_lock(&ringacc->req_lock); in k3_ringacc_request_ring()
333 mutex_unlock(&ringacc->req_lock); in k3_ringacc_request_ring()
337 mutex_unlock(&ringacc->req_lock); in k3_ringacc_request_ring()
514 mutex_lock(&ringacc->req_lock); in k3_ringacc_ring_free()
539 mutex_unlock(&ringacc->req_lock); in k3_ringacc_ring_free()
1230 mutex_init(&ringacc->req_lock); in k3_ringacc_probe()
/kernel/linux/linux-5.10/net/nfc/nci/
Dcore.c148 mutex_lock(&ndev->req_lock); in nci_request()
156 mutex_unlock(&ndev->req_lock); in nci_request()
474 mutex_lock(&ndev->req_lock); in nci_open_device()
537 mutex_unlock(&ndev->req_lock); in nci_open_device()
548 mutex_lock(&ndev->req_lock); in nci_close_device()
553 mutex_unlock(&ndev->req_lock); in nci_close_device()
588 mutex_unlock(&ndev->req_lock); in nci_close_device()
1239 mutex_init(&ndev->req_lock); in nci_register_device()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c92 mutex_lock(&qp_ctx->req_lock); in sec_alloc_req_id()
96 mutex_unlock(&qp_ctx->req_lock); in sec_alloc_req_id()
120 mutex_lock(&qp_ctx->req_lock); in sec_free_req_id()
122 mutex_unlock(&qp_ctx->req_lock); in sec_free_req_id()
205 mutex_lock(&qp_ctx->req_lock); in sec_bd_send()
213 mutex_unlock(&qp_ctx->req_lock); in sec_bd_send()
216 mutex_unlock(&qp_ctx->req_lock); in sec_bd_send()
386 mutex_init(&qp_ctx->req_lock); in sec_create_qp_ctx()
1072 mutex_lock(&qp_ctx->req_lock); in sec_back_req_clear()
1080 mutex_unlock(&qp_ctx->req_lock); in sec_back_req_clear()
Dsec.h108 struct mutex req_lock; member
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c76 spinlock_t req_lock; member
106 spin_lock_irqsave(&ctx->req_lock, flags); in hpre_alloc_req_id()
108 spin_unlock_irqrestore(&ctx->req_lock, flags); in hpre_alloc_req_id()
117 spin_lock_irqsave(&ctx->req_lock, flags); in hpre_free_req_id()
119 spin_unlock_irqrestore(&ctx->req_lock, flags); in hpre_free_req_id()
322 spin_lock_init(&ctx->req_lock); in hpre_ctx_set()

12