Home
last modified time | relevance | path

Searched refs:read_lock (Results 1 – 25 of 223) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Denvelope-detector.c50 struct mutex read_lock; /* protects everything else */ member
206 mutex_lock(&env->read_lock); in envelope_detector_read_raw()
216 mutex_unlock(&env->read_lock); in envelope_detector_read_raw()
227 mutex_unlock(&env->read_lock); in envelope_detector_read_raw()
258 mutex_lock(&env->read_lock); in envelope_store_invert()
265 mutex_unlock(&env->read_lock); in envelope_store_invert()
295 mutex_lock(&env->read_lock); in envelope_store_comp_interval()
297 mutex_unlock(&env->read_lock); in envelope_store_comp_interval()
341 mutex_init(&env->read_lock); in envelope_detector_probe()
/OK3568_Linux_fs/kernel/fs/
H A Dfilesystems.c144 read_lock(&file_systems_lock); in fs_index()
161 read_lock(&file_systems_lock); in fs_name()
181 read_lock(&file_systems_lock); in fs_maxindex()
217 read_lock(&file_systems_lock); in get_filesystem_list()
234 read_lock(&file_systems_lock); in filesystems_proc_show()
258 read_lock(&file_systems_lock); in __get_fs_type()
/OK3568_Linux_fs/kernel/kernel/livepatch/
H A Dtransition.c109 read_lock(&tasklist_lock); in klp_complete_transition()
350 read_lock(&tasklist_lock); in klp_send_signals()
406 read_lock(&tasklist_lock); in klp_try_complete_transition()
479 read_lock(&tasklist_lock); in klp_start_transition()
529 read_lock(&tasklist_lock); in klp_init_transition()
597 read_lock(&tasklist_lock); in klp_reverse_transition()
650 read_lock(&tasklist_lock); in klp_force_transition()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_tl_reader.c189 spin_lock_irqsave(&self->read_lock, flags); in kbase_csf_tl_reader_flush_buffer()
193 spin_unlock_irqrestore(&self->read_lock, flags); in kbase_csf_tl_reader_flush_buffer()
259 spin_unlock_irqrestore(&self->read_lock, flags); in kbase_csf_tl_reader_flush_buffer()
369 spin_lock_init(&self->read_lock); in kbase_csf_tl_reader_init()
431 spin_lock_irqsave(&self->read_lock, flags); in kbase_csf_tl_reader_stop()
435 spin_unlock_irqrestore(&self->read_lock, flags); in kbase_csf_tl_reader_stop()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_perf.c30 struct mutex read_lock; member
126 mutex_lock(&perf->read_lock); in perf_read()
144 mutex_unlock(&perf->read_lock); in perf_read()
211 mutex_init(&perf->read_lock); in msm_perf_debugfs_init()
228 mutex_destroy(&perf->read_lock); in msm_perf_debugfs_cleanup()
H A Dmsm_rd.c93 struct mutex read_lock; member
145 mutex_lock(&rd->read_lock); in rd_read()
168 mutex_unlock(&rd->read_lock); in rd_read()
235 mutex_destroy(&rd->read_lock); in rd_cleanup()
250 mutex_init(&rd->read_lock); in rd_init()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dprocess.c53 read_lock(&tasklist_lock); in try_to_freeze_tasks()
105 read_lock(&tasklist_lock); in try_to_freeze_tasks()
218 read_lock(&tasklist_lock); in thaw_processes()
245 read_lock(&tasklist_lock); in thaw_kernel_threads()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dsht15.c164 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()
1028 mutex_lock(&data->read_lock); in sht15_remove()
1030 mutex_unlock(&data->read_lock); in sht15_remove()
[all …]
/OK3568_Linux_fs/kernel/samples/kfifo/
H A Dinttype-example.c25 static DEFINE_MUTEX(read_lock);
130 if (mutex_lock_interruptible(&read_lock)) in fifo_read()
135 mutex_unlock(&read_lock); in fifo_read()
H A Drecord-example.c25 static DEFINE_MUTEX(read_lock);
144 if (mutex_lock_interruptible(&read_lock)) in fifo_read()
149 mutex_unlock(&read_lock); in fifo_read()
H A Dbytestream-example.c25 static DEFINE_MUTEX(read_lock);
137 if (mutex_lock_interruptible(&read_lock)) in fifo_read()
142 mutex_unlock(&read_lock); in fifo_read()
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dhwmon.c16 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()
242 mutex_init(&data->read_lock); in nvme_hwmon_init()
/OK3568_Linux_fs/kernel/net/ax25/
H A Dax25_uid.c54 read_lock(&ax25_uid_lock); in ax25_findbyuid()
78 read_lock(&ax25_uid_lock); in ax25_uid_ioctl()
149 read_lock(&ax25_uid_lock); in ax25_uid_seq_start()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-region-hash.c332 read_lock(&rh->hash_lock); in __rh_find()
343 read_lock(&rh->hash_lock); in dm_rh_get_state()
414 read_lock(&rh->hash_lock); in dm_rh_mark_nosync()
507 read_lock(&rh->hash_lock); in rh_inc()
544 read_lock(&rh->hash_lock); in dm_rh_dec()
604 read_lock(&rh->hash_lock); in __rh_recovery_prepare()
694 read_lock(&rh->hash_lock); in dm_rh_delay()
/OK3568_Linux_fs/kernel/sound/usb/line6/
H A Ddriver.c566 if (mutex_lock_interruptible(&line6->messages.read_lock)) in line6_hwdep_read()
570 mutex_unlock(&line6->messages.read_lock); in line6_hwdep_read()
581 if (mutex_lock_interruptible(&line6->messages.read_lock)) in line6_hwdep_read()
594 mutex_unlock(&line6->messages.read_lock); in line6_hwdep_read()
630 mutex_lock(&line6->messages.read_lock); in line6_hwdep_poll()
632 mutex_unlock(&line6->messages.read_lock); in line6_hwdep_poll()
669 mutex_init(&line6->messages.read_lock); in line6_hwdep_init()
/OK3568_Linux_fs/kernel/drivers/parisc/
H A Dpdc_stable.c230 read_lock(&entry->rw_lock); in pdcspath_hwpath_read()
351 read_lock(&entry->rw_lock); in pdcspath_layer_read()
548 read_lock(&pathentry->rw_lock); in pdcs_auto_read()
595 read_lock(&pathentry->rw_lock); in pdcs_timer_read()
765 read_lock(&pathentry->rw_lock); in pdcs_auto_write()
1014 read_lock(&entry->rw_lock); in pdcs_unregister_pathentries()
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_jobctrl.c130 read_lock(&tasklist_lock); in tty_open_proc_set_tty()
197 read_lock(&tasklist_lock); in tty_signal_session_leader()
314 read_lock(&tasklist_lock); in disassociate_ctty()
351 read_lock(&tasklist_lock); in tiocsctty()
/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dxr_usb_serial_common.c506 spin_lock_irqsave(&xr_usb_serial->read_lock, flags); in xr_usb_serial_read_bulk_callback()
509 spin_unlock_irqrestore(&xr_usb_serial->read_lock, flags); in xr_usb_serial_read_bulk_callback()
512 spin_unlock_irqrestore(&xr_usb_serial->read_lock, flags); in xr_usb_serial_read_bulk_callback()
634 spin_lock_irq(&xr_usb_serial->read_lock); in xr_usb_serial_port_activate()
637 spin_unlock_irq(&xr_usb_serial->read_lock); in xr_usb_serial_port_activate()
801 spin_lock_irq(&xr_usb_serial->read_lock); in xr_usb_serial_tty_throttle()
803 spin_unlock_irq(&xr_usb_serial->read_lock); in xr_usb_serial_tty_throttle()
811 spin_lock_irq(&xr_usb_serial->read_lock); in xr_usb_serial_tty_unthrottle()
815 spin_unlock_irq(&xr_usb_serial->read_lock); in xr_usb_serial_tty_unthrottle()
1550 spin_lock_init(&xr_usb_serial->read_lock); in xr_usb_serial_probe()
[all …]
/OK3568_Linux_fs/kernel/arch/sh/mm/
H A Dpmb.c142 read_lock(&pmb_rwlock); in pmb_mapping_exists()
467 read_lock(&pmb_rwlock); in pmb_unmap()
532 read_lock(&pmb_rwlock); in pmb_notify()
741 read_lock(&pmb_rwlock); in pmb_resize()
876 read_lock(&pmb_rwlock); in pmb_syscore_resume()
/OK3568_Linux_fs/kernel/kernel/
H A Dpid_namespace.c207 read_lock(&tasklist_lock); in zap_pid_ns_processes()
326 read_lock(&tasklist_lock); in reboot_pid_ns()
366 read_lock(&tasklist_lock); in pidns_for_children_get()
/OK3568_Linux_fs/kernel/drivers/iio/
H A Dindustrialio-event.c42 struct mutex read_lock; member
147 if (mutex_lock_interruptible(&ev_int->read_lock)) in iio_event_chrdev_read()
150 mutex_unlock(&ev_int->read_lock); in iio_event_chrdev_read()
480 mutex_init(&ev_int->read_lock); in iio_setup_ev_int()
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H A Dcctrng.c72 spinlock_t read_lock; member
222 if (!spin_trylock(&drvdata->read_lock)) { in cctrng_read()
246 spin_unlock(&drvdata->read_lock); in cctrng_read()
550 spin_lock_init(&drvdata->read_lock); in cctrng_probe()
/OK3568_Linux_fs/kernel/drivers/input/serio/
H A Dhp_sdc.c185 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()
/OK3568_Linux_fs/kernel/drivers/staging/axis-fifo/
H A Daxis-fifo.c136 struct mutex read_lock; /* lock for reading */ member
371 if (!mutex_trylock(&fifo->read_lock)) in axis_fifo_read()
383 mutex_lock(&fifo->read_lock); in axis_fifo_read()
456 mutex_unlock(&fifo->read_lock); in axis_fifo_read()
836 mutex_init(&fifo->read_lock); in axis_fifo_probe()
/OK3568_Linux_fs/kernel/sound/core/
H A Dcontrol.c68 spin_lock_init(&ctl->read_lock); in snd_ctl_open()
95 spin_lock_irqsave(&ctl->read_lock, flags); in snd_ctl_empty_read_queue()
101 spin_unlock_irqrestore(&ctl->read_lock, flags); in snd_ctl_empty_read_queue()
160 spin_lock(&ctl->read_lock); in snd_ctl_notify()
177 spin_unlock(&ctl->read_lock); in snd_ctl_notify()
1788 spin_lock_irq(&ctl->read_lock); in snd_ctl_read()
1801 spin_unlock_irq(&ctl->read_lock); in snd_ctl_read()
1808 spin_lock_irq(&ctl->read_lock); in snd_ctl_read()
1815 spin_unlock_irq(&ctl->read_lock); in snd_ctl_read()
1821 spin_lock_irq(&ctl->read_lock); in snd_ctl_read()
[all …]

123456789