Home
last modified time | relevance | path

Searched refs:trigger_lock (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/leds/
Dled-triggers.c60 down_write(&led_cdev->trigger_lock); in led_trigger_write()
62 up_write(&led_cdev->trigger_lock); in led_trigger_write()
135 down_read(&led_cdev->trigger_lock); in led_trigger_read()
140 up_read(&led_cdev->trigger_lock); in led_trigger_read()
146 up_read(&led_cdev->trigger_lock); in led_trigger_read()
243 down_write(&led_cdev->trigger_lock); in led_trigger_remove()
245 up_write(&led_cdev->trigger_lock); in led_trigger_remove()
257 down_write(&led_cdev->trigger_lock); in led_trigger_set_default()
266 up_write(&led_cdev->trigger_lock); in led_trigger_set_default()
311 down_write(&led_cdev->trigger_lock); in led_trigger_register()
[all …]
Dled-class.c397 init_rwsem(&led_cdev->trigger_lock); in led_classdev_register_ext()
439 down_write(&led_cdev->trigger_lock); in led_classdev_unregister()
442 up_write(&led_cdev->trigger_lock); in led_classdev_unregister()
/linux-6.1.9/kernel/sched/
Dpsi.c192 mutex_init(&group->trigger_lock); in group_init()
600 mutex_lock(&group->trigger_lock); in psi_poll_work()
632 mutex_unlock(&group->trigger_lock); in psi_poll_work()
1240 mutex_lock(&group->trigger_lock); in psi_trigger_create()
1248 mutex_unlock(&group->trigger_lock); in psi_trigger_create()
1262 mutex_unlock(&group->trigger_lock); in psi_trigger_create()
1286 mutex_lock(&group->trigger_lock); in psi_trigger_destroy()
1306 lockdep_is_held(&group->trigger_lock)); in psi_trigger_destroy()
1312 mutex_unlock(&group->trigger_lock); in psi_trigger_destroy()
/linux-6.1.9/include/linux/
Dpsi_types.h182 struct mutex trigger_lock; member
Dleds.h147 struct rw_semaphore trigger_lock; member