Home
last modified time | relevance | path

Searched refs:device_mutex (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/target/
H A Dtarget_core_device.c39 static DEFINE_MUTEX(device_mutex);
846 __must_hold(&device_mutex) in target_devices_idr_iter()
865 mutex_unlock(&device_mutex); in target_devices_idr_iter()
870 mutex_lock(&device_mutex); in target_devices_idr_iter()
888 mutex_lock(&device_mutex); in target_for_each_device()
890 mutex_unlock(&device_mutex); in target_for_each_device()
909 mutex_lock(&device_mutex); in target_configure_device()
915 mutex_unlock(&device_mutex); in target_configure_device()
969 mutex_lock(&device_mutex); in target_configure_device()
971 mutex_unlock(&device_mutex); in target_configure_device()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dcdev.c548 mutex_lock(&ubi->device_mutex); in vol_cdev_ioctl()
550 mutex_unlock(&ubi->device_mutex); in vol_cdev_ioctl()
818 mutex_lock(&ubi->device_mutex); in rename_volumes()
820 mutex_unlock(&ubi->device_mutex); in rename_volumes()
863 mutex_lock(&ubi->device_mutex); in ubi_cdev_ioctl()
865 mutex_unlock(&ubi->device_mutex); in ubi_cdev_ioctl()
894 mutex_lock(&ubi->device_mutex); in ubi_cdev_ioctl()
896 mutex_unlock(&ubi->device_mutex); in ubi_cdev_ioctl()
933 mutex_lock(&ubi->device_mutex); in ubi_cdev_ioctl()
935 mutex_unlock(&ubi->device_mutex); in ubi_cdev_ioctl()
H A Dupd.c57 mutex_lock(&ubi->device_mutex); in set_update_marker()
60 mutex_unlock(&ubi->device_mutex); in set_update_marker()
97 mutex_lock(&ubi->device_mutex); in clear_update_marker()
100 mutex_unlock(&ubi->device_mutex); in clear_update_marker()
H A Dbuild.c195 mutex_lock(&ubi->device_mutex); in ubi_notify_all()
213 mutex_unlock(&ubi->device_mutex); in ubi_notify_all()
973 mutex_init(&ubi->device_mutex); in ubi_attach_mtd_dev()
H A Dubi.h578 struct mutex device_mutex; member
/openbmc/u-boot/drivers/mtd/ubi/
H A Dupd.c63 mutex_lock(&ubi->device_mutex); in set_update_marker()
66 mutex_unlock(&ubi->device_mutex); in set_update_marker()
103 mutex_lock(&ubi->device_mutex); in clear_update_marker()
106 mutex_unlock(&ubi->device_mutex); in clear_update_marker()
H A Dbuild.c224 mutex_lock(&ubi->device_mutex); in ubi_notify_all()
244 mutex_unlock(&ubi->device_mutex); in ubi_notify_all()
983 mutex_init(&ubi->device_mutex); in ubi_attach_mtd_dev()
H A Dubi.h550 struct mutex device_mutex; member