Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/staging/greybus/light.c color_store() -> led_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->led_access.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | cdev->led_access.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdev | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &cdev->led_access | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct led_classdev)->led_access |
drivers/staging/greybus/light.c fade_in_store() -> led_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->led_access.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | cdev->led_access.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdev | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &cdev->led_access | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct led_classdev)->led_access |
drivers/staging/greybus/light.c fade_out_store() -> led_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->led_access.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdev->led_access.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | cdev->led_access.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | cdev | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &cdev->led_access | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct led_classdev)->led_access |