Searched refs:sysfs_lock (Results 1 – 6 of 6) sorted by relevance
195 static DEFINE_MUTEX(sysfs_lock);224 mutex_lock(&sysfs_lock); in gpio_direction_show()233 mutex_unlock(&sysfs_lock); in gpio_direction_show()244 mutex_lock(&sysfs_lock); in gpio_direction_store()257 mutex_unlock(&sysfs_lock); in gpio_direction_store()271 mutex_lock(&sysfs_lock); in gpio_value_show()285 mutex_unlock(&sysfs_lock); in gpio_value_show()296 mutex_lock(&sysfs_lock); in gpio_value_store()314 mutex_unlock(&sysfs_lock); in gpio_value_store()423 mutex_lock(&sysfs_lock); in gpio_edge_show()[all …]
419 mutex_lock(&q->sysfs_lock); in queue_attr_show()421 mutex_unlock(&q->sysfs_lock); in queue_attr_show()425 mutex_unlock(&q->sysfs_lock); in queue_attr_show()441 mutex_lock(&q->sysfs_lock); in queue_attr_store()443 mutex_unlock(&q->sysfs_lock); in queue_attr_store()447 mutex_unlock(&q->sysfs_lock); in queue_attr_store()
219 mutex_init(&eq->sysfs_lock); in elevator_alloc()300 mutex_lock(&e->sysfs_lock); in elevator_exit()304 mutex_unlock(&e->sysfs_lock); in elevator_exit()846 mutex_lock(&e->sysfs_lock); in elv_attr_show()848 mutex_unlock(&e->sysfs_lock); in elv_attr_show()864 mutex_lock(&e->sysfs_lock); in elv_attr_store()866 mutex_unlock(&e->sysfs_lock); in elv_attr_store()
365 mutex_lock(&q->sysfs_lock); in blk_cleanup_queue()367 mutex_unlock(&q->sysfs_lock); in blk_cleanup_queue()444 mutex_init(&q->sysfs_lock); in blk_alloc_queue_node()
92 struct mutex sysfs_lock; member
374 struct mutex sysfs_lock; member