/drivers/iio/adc/ |
D | envelope-detector.c | 49 struct mutex read_lock; /* protects everything else */ member 205 mutex_lock(&env->read_lock); in envelope_detector_read_raw() 215 mutex_unlock(&env->read_lock); in envelope_detector_read_raw() 226 mutex_unlock(&env->read_lock); in envelope_detector_read_raw() 257 mutex_lock(&env->read_lock); in envelope_store_invert() 264 mutex_unlock(&env->read_lock); in envelope_store_invert() 294 mutex_lock(&env->read_lock); in envelope_store_comp_interval() 296 mutex_unlock(&env->read_lock); in envelope_store_comp_interval() 340 mutex_init(&env->read_lock); in envelope_detector_probe()
|
/drivers/gpu/drm/msm/ |
D | msm_perf.c | 30 struct mutex read_lock; member 126 mutex_lock(&perf->read_lock); in perf_read() 144 mutex_unlock(&perf->read_lock); in perf_read() 214 mutex_init(&perf->read_lock); in msm_perf_debugfs_init() 231 mutex_destroy(&perf->read_lock); in msm_perf_debugfs_cleanup()
|
D | msm_rd.c | 89 struct mutex read_lock, write_lock; member 141 mutex_lock(&rd->read_lock); in rd_read() 164 mutex_unlock(&rd->read_lock); in rd_read() 240 mutex_destroy(&rd->read_lock); in rd_cleanup() 256 mutex_init(&rd->read_lock); in rd_init()
|
D | msm_submitqueue.c | 89 read_lock(&ctx->queuelock); in msm_submitqueue_get()
|
/drivers/nvme/host/ |
D | hwmon.c | 16 struct mutex read_lock; member 90 mutex_lock(&data->read_lock); in nvme_hwmon_read() 111 mutex_unlock(&data->read_lock); in nvme_hwmon_read() 244 mutex_init(&data->read_lock); in nvme_hwmon_init()
|
/drivers/hwmon/ |
D | sht15.c | 164 struct mutex read_lock; member 458 mutex_lock(&data->read_lock); in sht15_update_status() 508 mutex_unlock(&data->read_lock); in sht15_update_status() 590 mutex_lock(&data->read_lock); in sht15_update_measurements() 606 mutex_unlock(&data->read_lock); in sht15_update_measurements() 714 mutex_lock(&data->read_lock); in sht15_status_store() 722 mutex_unlock(&data->read_lock); in sht15_status_store() 928 mutex_init(&data->read_lock); in sht15_probe()
|
/drivers/md/ |
D | dm-region-hash.c | 335 read_lock(&rh->hash_lock); in __rh_find() 346 read_lock(&rh->hash_lock); in dm_rh_get_state() 417 read_lock(&rh->hash_lock); in dm_rh_mark_nosync() 510 read_lock(&rh->hash_lock); in rh_inc() 547 read_lock(&rh->hash_lock); in dm_rh_dec() 607 read_lock(&rh->hash_lock); in __rh_recovery_prepare() 697 read_lock(&rh->hash_lock); in dm_rh_delay()
|
/drivers/parisc/ |
D | pdc_stable.c | 230 read_lock(&entry->rw_lock); in pdcspath_hwpath_read() 350 read_lock(&entry->rw_lock); in pdcspath_layer_read() 551 read_lock(&pathentry->rw_lock); in pdcs_auto_read() 604 read_lock(&pathentry->rw_lock); in pdcs_timer_read() 785 read_lock(&pathentry->rw_lock); in pdcs_auto_write() 1042 read_lock(&entry->rw_lock); in pdcs_unregister_pathentries()
|
/drivers/platform/surface/ |
D | surface_aggregator_cdev.c | 63 struct mutex read_lock; /* Guards FIFO buffer read access */ member 476 mutex_init(&client->read_lock); in ssam_cdev_device_open() 489 mutex_destroy(&client->read_lock); in ssam_cdev_device_open() 517 mutex_destroy(&client->read_lock); in ssam_cdev_device_release() 617 if (mutex_lock_interruptible(&client->read_lock)) { in ssam_cdev_read() 623 mutex_unlock(&client->read_lock); in ssam_cdev_read()
|
D | surface_dtx.c | 183 struct mutex read_lock; /* Guards FIFO buffer read access. */ member 414 mutex_init(&client->read_lock); in surface_dtx_open() 430 mutex_destroy(&client->read_lock); in surface_dtx_open() 454 mutex_destroy(&client->read_lock); in surface_dtx_release() 502 if (mutex_lock_interruptible(&client->read_lock)) { in surface_dtx_read() 508 mutex_unlock(&client->read_lock); in surface_dtx_read()
|
/drivers/tty/ |
D | tty_jobctrl.c | 134 read_lock(&tasklist_lock); in tty_open_proc_set_tty() 202 read_lock(&tasklist_lock); in tty_signal_session_leader() 329 read_lock(&tasklist_lock); in disassociate_ctty() 370 read_lock(&tasklist_lock); in tiocsctty()
|
/drivers/char/hw_random/ |
D | cctrng.c | 72 spinlock_t read_lock; member 222 if (!spin_trylock(&drvdata->read_lock)) { in cctrng_read() 246 spin_unlock(&drvdata->read_lock); in cctrng_read() 508 spin_lock_init(&drvdata->read_lock); in cctrng_probe()
|
/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 132 struct mutex read_lock; /* lock for reading */ member 370 if (!mutex_trylock(&fifo->read_lock)) in axis_fifo_read() 382 mutex_lock(&fifo->read_lock); in axis_fifo_read() 453 mutex_unlock(&fifo->read_lock); in axis_fifo_read() 832 mutex_init(&fifo->read_lock); in axis_fifo_probe()
|
/drivers/iio/ |
D | industrialio-event.c | 43 struct mutex read_lock; member 149 if (mutex_lock_interruptible(&ev_int->read_lock)) in iio_event_chrdev_read() 152 mutex_unlock(&ev_int->read_lock); in iio_event_chrdev_read() 486 mutex_init(&ev_int->read_lock); in iio_setup_ev_int()
|
/drivers/input/serio/ |
D | hp_sdc.c | 185 read_lock(&hp_sdc.rtq_lock); in hp_sdc_take() 238 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr() 250 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr() 257 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr() 266 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr() 286 read_lock(&hp_sdc.hook_lock); in hp_sdc_nmisr()
|
/drivers/usb/class/ |
D | cdc-acm.h | 74 spinlock_t read_lock; member
|
D | cdc-acm.c | 332 spin_lock_irqsave(&acm->read_lock, flags); in acm_process_notification() 352 spin_unlock_irqrestore(&acm->read_lock, flags); in acm_process_notification() 497 spin_lock_irqsave(&acm->read_lock, flags); in acm_process_read_urb() 500 spin_unlock_irqrestore(&acm->read_lock, flags); in acm_process_read_urb() 1005 spin_lock_irq(&acm->read_lock); in wait_serial_change() 1009 spin_unlock_irq(&acm->read_lock); in wait_serial_change() 1375 spin_lock_init(&acm->read_lock); in acm_probe()
|
/drivers/bluetooth/ |
D | bfusb.c | 190 read_lock(&data->lock); in bfusb_tx_complete() 343 read_lock(&data->lock); in bfusb_rx_complete() 506 read_lock(&data->lock); in bfusb_send_frame()
|
/drivers/vdpa/vdpa_user/ |
D | iova_domain.c | 216 read_lock(&domain->bounce_lock); in vduse_domain_get_bounce_page() 392 read_lock(&domain->bounce_lock); in vduse_domain_map_page() 415 read_lock(&domain->bounce_lock); in vduse_domain_unmap_page()
|
/drivers/isdn/mISDN/ |
D | core.c | 274 read_lock(&bp_lock); in get_all_Bprotocols() 286 read_lock(&bp_lock); in get_Bprotocol4mask()
|
/drivers/staging/greybus/ |
D | uart.c | 53 spinlock_t read_lock; member 645 spin_lock_irq(&gb_tty->read_lock); in wait_serial_change() 649 spin_unlock_irq(&gb_tty->read_lock); in wait_serial_change() 867 spin_lock_init(&gb_tty->read_lock); in gb_uart_probe()
|
/drivers/atm/ |
D | atmtcp.c | 170 read_lock(&vcc_sklist_lock); in atmtcp_v_ioctl() 299 read_lock(&vcc_sklist_lock); in atmtcp_c_send()
|
/drivers/gpu/drm/ |
D | drm_vma_manager.c | 404 read_lock(&node->vm_lock); in drm_vma_node_is_allowed()
|
/drivers/scsi/lpfc/ |
D | lpfc_vmid.c | 178 read_lock(&vport->vmid_lock); in lpfc_vmid_get_appid()
|
/drivers/s390/scsi/ |
D | zfcp_erp.c | 114 read_lock(&adapter->port_list_lock); in zfcp_erp_action_dismiss_adapter() 651 read_lock(&adapter->port_list_lock); in zfcp_erp_port_forced_reopen_all() 663 read_lock(&adapter->port_list_lock); in _zfcp_erp_port_reopen_all()
|