Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/accessibility/speakup/main.c speakup_init() -> spk_set_key_info()

Type Parameter Key Value
PARAM_VALUE 0 key_info 9107169712534671360
PARAM_VALUE 1 k_buffer 3879916066964320256
BUF_SIZE 0 key_info 446
BUF_SIZE 1 k_buffer 600
NOCHECK_CALL

drivers/accessibility/speakup/kobjects.c keymap_store() -> spk_set_key_info()

Type Parameter Key Value
PARAM_VALUE 0 key_info 9107169712534671360
PARAM_VALUE 1 k_buffer 3879916066964320256
BUF_SIZE 0 key_info 446
BUF_SIZE 1 k_buffer 600
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 flags
LOCK2 global &speakup_info.spinlock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct speakup_info_t)->spinlock

drivers/accessibility/speakup/kobjects.c keymap_store() -> spk_set_key_info()

Type Parameter Key Value
PARAM_VALUE 0 key_info 4096-ptr_max
PARAM_VALUE 1 k_buffer 3879916066964320256
BUF_SIZE 0 key_info 2-1000000001
BUF_SIZE 0 key_info 2-1000000001
BUF_SIZE 1 k_buffer 600
DATA_SOURCE 0 key_info r kmemdup_noprof
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 flags
LOCK2 global &speakup_info.spinlock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct speakup_info_t)->spinlock

drivers/accessibility/speakup/kobjects.c keymap_store() -> spk_set_key_info()

Type Parameter Key Value
PARAM_VALUE 0 key_info 9107169712534671360
PARAM_VALUE 1 k_buffer 3879916066964320256
BUF_SIZE 0 key_info 446
BUF_SIZE 1 k_buffer 600
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 flags
LOCK2 global &speakup_info.spinlock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct speakup_info_t)->spinlock