Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/leds/trigger/ledtrig-pattern.c hr_pattern_show() -> pattern_trig_show_patterns()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 type 1
BUF_SIZE 0 data 4,24,40,56,112,120,128,320,440,8560
BUF_SIZE 0 data 4,24,40,56,112,120,128,320,440,8560
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/leds/trigger/ledtrig-pattern.c hw_pattern_show() -> pattern_trig_show_patterns()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 type 2
BUF_SIZE 0 data 4,24,40,56,112,120,128,320,440,8560
BUF_SIZE 0 data 4,24,40,56,112,120,128,320,440,8560
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/leds/trigger/ledtrig-pattern.c pattern_show() -> pattern_trig_show_patterns()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 type 0
BUF_SIZE 0 data 4,24,40,56,112,120,128,320,440,8560
BUF_SIZE 0 data 4,24,40,56,112,120,128,320,440,8560
CAPPED_DATA 1 buf 1
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex