Home
last modified time | relevance | path

Searched refs:sysfs_lock (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/gpio/
Dgpiolib.c195 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 …]
/linux-2.6.39/block/
Dblk-sysfs.c419 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()
Delevator.c219 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()
Dblk-core.c365 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()
/linux-2.6.39/include/linux/
Delevator.h92 struct mutex sysfs_lock; member
Dblkdev.h374 struct mutex sysfs_lock; member