Home
last modified time | relevance | path

Searched refs:read_mutex (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/fs/cramfs/
H A Dinode.c61 static DEFINE_MUTEX(read_mutex);
521 mutex_lock(&read_mutex); in cramfs_read_super()
523 mutex_unlock(&read_mutex); in cramfs_read_super()
535 mutex_lock(&read_mutex); in cramfs_read_super()
539 mutex_unlock(&read_mutex); in cramfs_read_super()
721 mutex_lock(&read_mutex); in cramfs_readdir()
734 mutex_unlock(&read_mutex); in cramfs_readdir()
763 mutex_lock(&read_mutex); in cramfs_lookup()
808 mutex_unlock(&read_mutex); in cramfs_lookup()
830 mutex_lock(&read_mutex); in cramfs_read_folio()
[all …]
/openbmc/linux/drivers/gnss/
H A Dcore.c95 mutex_lock(&gdev->read_mutex); in gnss_read()
97 mutex_unlock(&gdev->read_mutex); in gnss_read()
111 mutex_lock(&gdev->read_mutex); in gnss_read()
118 mutex_unlock(&gdev->read_mutex); in gnss_read()
253 mutex_init(&gdev->read_mutex); in gnss_allocate_device()
/openbmc/linux/drivers/hid/
H A Dhidraw.c47 mutex_lock(&list->read_mutex); in hidraw_read()
69 mutex_unlock(&list->read_mutex); in hidraw_read()
71 mutex_lock(&list->read_mutex); in hidraw_read()
98 mutex_unlock(&list->read_mutex); in hidraw_read()
305 mutex_init(&list->read_mutex); in hidraw_open()
H A Dhid-debug.c1142 mutex_init(&list->read_mutex); in hid_debug_events_open()
1159 mutex_lock(&list->read_mutex); in hid_debug_events_read()
1187 mutex_unlock(&list->read_mutex); in hid_debug_events_read()
1189 mutex_lock(&list->read_mutex); in hid_debug_events_read()
1208 mutex_unlock(&list->read_mutex); in hid_debug_events_read()
/openbmc/linux/include/linux/
H A Dhidraw.h34 struct mutex read_mutex; member
H A Dhid-debug.h35 struct mutex read_mutex; member
H A Dgnss.h50 struct mutex read_mutex; member
H A Dpstore.h189 struct mutex read_mutex; member
/openbmc/linux/fs/pstore/
H A Dplatform.c505 mutex_init(&psinfo->read_mutex); in pstore_register()
672 mutex_lock(&psi->read_mutex); in pstore_get_backend_records()
714 mutex_unlock(&psi->read_mutex); in pstore_get_backend_records()
H A Dinode.c198 scoped_guard(mutex, &record->psi->read_mutex) in pstore_unlink()