Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/video/fbdev/core/fbcon.c fbcon_new_modelist() -> display_to_var()

Type Parameter Key Value
PARAM_VALUE 0 var 8082691066344452096
PARAM_VALUE 1 disp 4096-ptr_max
PARAM_VALUE 1 disp->mode 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 var->xres
NO_OVERFLOW_SIMPLE 0 var->xres_virtual
NO_OVERFLOW_SIMPLE 0 var->yres
NO_OVERFLOW_SIMPLE 0 var->yres_virtual
LOCK2 &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

drivers/video/fbdev/core/fbcon.c fbcon_resize() -> display_to_var()

Type Parameter Key Value
PARAM_VALUE 0 var 7323796834300264448
PARAM_VALUE 1 disp 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 var->xres 2-4194176[c]
USER_DATA 0 var->yres 2-4194176[c]
HALF_LOCKED2 global &console_sem

drivers/video/fbdev/core/fbcon.c fbcon_switch() -> display_to_var()

Type Parameter Key Value
PARAM_VALUE 0 var 1884482456547725312
PARAM_VALUE 1 disp 4096-ptr_max
MEM_ZERO 0 var
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &console_sem