Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/drivers/iio/adc/ !
Denvelope-detector.c49 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()
/linux-6.6.21/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()
218 read_lock(&file_systems_lock); in list_bdev_fs_names()
241 read_lock(&file_systems_lock); in filesystems_proc_show()
265 read_lock(&file_systems_lock); in __get_fs_type()
/linux-6.6.21/kernel/power/ !
Dprocess.c52 read_lock(&tasklist_lock); in try_to_freeze_tasks()
99 read_lock(&tasklist_lock); in try_to_freeze_tasks()
199 read_lock(&tasklist_lock); in thaw_processes()
226 read_lock(&tasklist_lock); in thaw_kernel_threads()
/linux-6.6.21/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()
214 mutex_init(&perf->read_lock); in msm_perf_debugfs_init()
231 mutex_destroy(&perf->read_lock); in msm_perf_debugfs_cleanup()
Dmsm_rd.c89 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()
/linux-6.6.21/kernel/livepatch/ !
Dtransition.c130 read_lock(&tasklist_lock); in klp_complete_transition()
415 read_lock(&tasklist_lock); in klp_send_signals()
469 read_lock(&tasklist_lock); in klp_try_complete_transition()
546 read_lock(&tasklist_lock); in klp_start_transition()
598 read_lock(&tasklist_lock); in klp_init_transition()
663 read_lock(&tasklist_lock); in klp_reverse_transition()
735 read_lock(&tasklist_lock); in klp_force_transition()
/linux-6.6.21/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()
/linux-6.6.21/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()
244 mutex_init(&data->read_lock); in nvme_hwmon_init()
/linux-6.6.21/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()
/linux-6.6.21/drivers/md/ !
Ddm-region-hash.c335 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()
/linux-6.6.21/fs/smb/server/ !
Dvfs_cache.c94 read_lock(&inode_hash_lock); in ksmbd_inode_lookup_lock()
106 read_lock(&inode_hash_lock); in ksmbd_query_inode_status()
178 read_lock(&inode_hash_lock); in ksmbd_inode_get()
353 read_lock(&ft->lock); in __ksmbd_lookup_fd()
478 read_lock(&global_ft.lock); in ksmbd_lookup_fd_cguid()
498 read_lock(&inode_hash_lock); in ksmbd_lookup_fd_inode()
504 read_lock(&ci->m_lock); in ksmbd_lookup_fd_inode()
Doplock.c528 read_lock(&ci->m_lock); in same_client_has_lease()
540 read_lock(&ci->m_lock); in same_client_has_lease()
572 read_lock(&ci->m_lock); in same_client_has_lease()
989 read_lock(&lease_list_lock); in find_same_lease_key()
1051 read_lock(&lease_list_lock); in add_lease_global_list()
1107 read_lock(&p_ci->m_lock); in smb_send_parent_lease_break_noti()
1128 read_lock(&p_ci->m_lock); in smb_send_parent_lease_break_noti()
1152 read_lock(&p_ci->m_lock); in smb_lazy_parent_lease_break_close()
1169 read_lock(&p_ci->m_lock); in smb_lazy_parent_lease_break_close()
1777 read_lock(&lease_list_lock); in lookup_lease_in_table()
/linux-6.6.21/sound/usb/line6/ !
Ddriver.c567 if (mutex_lock_interruptible(&line6->messages.read_lock)) in line6_hwdep_read()
571 mutex_unlock(&line6->messages.read_lock); in line6_hwdep_read()
582 if (mutex_lock_interruptible(&line6->messages.read_lock)) in line6_hwdep_read()
595 mutex_unlock(&line6->messages.read_lock); in line6_hwdep_read()
631 mutex_lock(&line6->messages.read_lock); in line6_hwdep_poll()
633 mutex_unlock(&line6->messages.read_lock); in line6_hwdep_poll()
670 mutex_init(&line6->messages.read_lock); in line6_hwdep_init()
/linux-6.6.21/drivers/parisc/ !
Dpdc_stable.c230 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()
/linux-6.6.21/drivers/platform/surface/ !
Dsurface_aggregator_cdev.c63 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()
/linux-6.6.21/drivers/tty/ !
Dtty_jobctrl.c134 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()
/linux-6.6.21/block/ !
Dioprio.c98 read_lock(&tasklist_lock); in SYSCALL_DEFINE3()
234 read_lock(&tasklist_lock); in SYSCALL_DEFINE2()
/linux-6.6.21/kernel/ !
Dpid_namespace.c203 read_lock(&tasklist_lock); in zap_pid_ns_processes()
338 read_lock(&tasklist_lock); in reboot_pid_ns()
378 read_lock(&tasklist_lock); in pidns_for_children_get()
/linux-6.6.21/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()
865 read_lock(&pmb_rwlock); in pmb_syscore_resume()
Dasids-debugfs.c33 read_lock(&tasklist_lock); in asids_debugfs_show()
/linux-6.6.21/arch/um/kernel/ !
Dreboot.c24 read_lock(&tasklist_lock); in kill_off_processes()
/linux-6.6.21/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()
508 spin_lock_init(&drvdata->read_lock); in cctrng_probe()
/linux-6.6.21/drivers/staging/axis-fifo/ !
Daxis-fifo.c132 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()
/linux-6.6.21/drivers/iio/ !
Dindustrialio-event.c43 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()
/linux-6.6.21/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()

123456789