/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | envelope-detector.c | 50 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/ |
D | filesystems.c | 144 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/ |
D | transition.c | 109 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/ |
D | process.c | 51 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/ |
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() 211 mutex_init(&perf->read_lock); in msm_perf_debugfs_init() 228 mutex_destroy(&perf->read_lock); in msm_perf_debugfs_cleanup()
|
D | msm_rd.c | 93 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/ |
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() 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/ |
D | inttype-example.c | 25 static DEFINE_MUTEX(read_lock); 130 if (mutex_lock_interruptible(&read_lock)) in fifo_read() 135 mutex_unlock(&read_lock); in fifo_read()
|
D | record-example.c | 25 static DEFINE_MUTEX(read_lock); 144 if (mutex_lock_interruptible(&read_lock)) in fifo_read() 149 mutex_unlock(&read_lock); in fifo_read()
|
D | bytestream-example.c | 25 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/ |
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() 236 mutex_init(&data->read_lock); in nvme_hwmon_init()
|
/kernel/linux/linux-5.10/net/ax25/ |
D | ax25_uid.c | 54 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/ |
D | dm-region-hash.c | 332 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/ |
D | driver.c | 566 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/ |
D | pdc_stable.c | 230 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/ |
D | tty_jobctrl.c | 130 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/ |
D | pid_namespace.c | 207 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/ |
D | pmb.c | 142 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()
|
D | asids-debugfs.c | 33 read_lock(&tasklist_lock); in asids_seq_show()
|
/kernel/linux/linux-5.10/arch/um/kernel/ |
D | reboot.c | 24 read_lock(&tasklist_lock); in kill_off_processes()
|
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-event.c | 42 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/ |
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() 550 spin_lock_init(&drvdata->read_lock); in cctrng_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 136 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/ |
D | n_r3964.h | 165 struct mutex read_lock; /* serialize r3964_read */ member
|