Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/drivers/iio/adc/
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()
/kernel/linux/linux-5.10/fs/
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()
/kernel/linux/linux-5.10/kernel/livepatch/
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()
636 read_lock(&tasklist_lock); in klp_force_transition()
/kernel/linux/linux-5.10/kernel/power/
Dprocess.c51 read_lock(&tasklist_lock); in try_to_freeze_tasks()
100 read_lock(&tasklist_lock); in try_to_freeze_tasks()
209 read_lock(&tasklist_lock); in thaw_processes()
236 read_lock(&tasklist_lock); in thaw_kernel_threads()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
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()
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()
232 mutex_destroy(&rd->read_lock); in rd_cleanup()
247 mutex_init(&rd->read_lock); in rd_init()
/kernel/linux/linux-5.10/drivers/hwmon/
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 …]
/kernel/linux/linux-5.10/samples/kfifo/
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()
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()
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()
/kernel/linux/linux-5.10/drivers/nvme/host/
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()
236 mutex_init(&data->read_lock); in nvme_hwmon_init()
/kernel/linux/linux-5.10/net/ax25/
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()
/kernel/linux/linux-5.10/drivers/md/
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()
/kernel/linux/linux-5.10/sound/usb/line6/
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()
/kernel/linux/linux-5.10/drivers/parisc/
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()
/kernel/linux/linux-5.10/drivers/tty/
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()
/kernel/linux/linux-5.10/kernel/
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()
/kernel/linux/linux-5.10/arch/sh/mm/
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()
Dasids-debugfs.c33 read_lock(&tasklist_lock); in asids_seq_show()
/kernel/linux/linux-5.10/arch/um/kernel/
Dreboot.c24 read_lock(&tasklist_lock); in kill_off_processes()
/kernel/linux/linux-5.10/drivers/iio/
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()
473 mutex_init(&ev_int->read_lock); in iio_setup_ev_int()
/kernel/linux/linux-5.10/drivers/char/hw_random/
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()
/kernel/linux/linux-5.10/drivers/input/serio/
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()
/kernel/linux/linux-5.10/drivers/staging/axis-fifo/
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()
/kernel/linux/linux-5.10/include/linux/
Dn_r3964.h165 struct mutex read_lock; /* serialize r3964_read */ member

123456789