Defined in 2 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/video/fbdev/core/fbsysfs.c show_mode() -> mode_string()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 size 4096
PARAM_VALUE 2 offset 0
PARAM_VALUE 3 mode 7309474218158391296
CAPPED_DATA 0 buf 1
DATA_SOURCE 0 buf $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/video/fbdev/core/fbsysfs.c show_modes() -> mode_string()

Type Parameter Key Value
PARAM_VALUE 0 buf 1-u64max
PARAM_VALUE 1 size 4096
PARAM_VALUE 2 offset 0-4094
PARAM_VALUE 3 mode 4096-ptr_max
BUF_SIZE 3 mode 64
CAPPED_DATA 0 buf 1
DATA_SOURCE 0 buf $2
FUZZY_MAX 2 offset 0
HARD_MAX 2 offset 4094
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
UNITS 2 offset unit_byte
LOCK2 &fb_info->lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/video/fbdev/core/fbsysfs.c store_mode() -> mode_string()

Type Parameter Key Value
PARAM_VALUE 0 buf 4463011308715438080
PARAM_VALUE 1 size 100
PARAM_VALUE 2 offset 0
PARAM_VALUE 3 mode 4096-ptr_max
BUF_SIZE 0 buf 100
BUF_SIZE 3 mode 64
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &fb_info->lock
LOCK2 &of->mutex
LOCK2 global &console_sem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct kernfs_open_file)->mutex