Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/rockchip/rockchip_drm_fb.c rockchip_fb_create() -> drm_gem_fb_init_with_funcs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 file 0,4096-ptr_max
PARAM_VALUE 3 info 0,4096-ptr_max
PARAM_VALUE 4 mode_cmd 4096-ptr_max
PARAM_VALUE 4 mode_cmd->flags 0-2
PARAM_VALUE 4 mode_cmd->height 1-u32max
PARAM_VALUE 4 mode_cmd->modifier 4096-ptr_max
PARAM_VALUE 4 mode_cmd->width 1-u32max
PARAM_VALUE 5 funcs 8791900362683154432
BUF_SIZE 0 dev (-1),3696
BUF_SIZE 0 dev (-1),3696
BUF_SIZE 2 file s32min-(-1),1-s32max
BUF_SIZE 2 file s32min-(-1),1-s32max
BUF_SIZE 4 mode_cmd (-1),104,128-16383
BUF_SIZE 4 mode_cmd (-1),104,128-16383
CAPPED_DATA 3 info->num_planes 1
CAPPED_DATA 4 mode_cmd->height 1
CAPPED_DATA 4 mode_cmd->pixel_format 1
CAPPED_DATA 4 mode_cmd->width 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 file $1
DATA_SOURCE 3 info $2
DATA_SOURCE 4 mode_cmd $3
NOSPEC 4 mode_cmd->height
NOSPEC 4 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 mode_cmd->fb_id 0-u32max[u]
USER_DATA 4 mode_cmd->flags 0-2[u]
USER_DATA 4 mode_cmd->height 1-s32max[c]
USER_DATA 4 mode_cmd->pixel_format 0-u32max[c]
USER_DATA 4 mode_cmd->width 1-s32max[c]
USER_PTR 4 mode_cmd
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_create_with_funcs() -> drm_gem_fb_init_with_funcs()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 file 0,4096-ptr_max
PARAM_VALUE 3 info 0,4096-ptr_max
PARAM_VALUE 4 mode_cmd 4096-ptr_max
PARAM_VALUE 4 mode_cmd->flags 0-2
PARAM_VALUE 4 mode_cmd->height 1-u32max
PARAM_VALUE 4 mode_cmd->width 1-u32max
PARAM_VALUE 5 funcs 2163087393657724928,3632368392497963008,4271168339807580160,5680782845934649344
BUF_SIZE 1 fb 192
BUF_SIZE 2 file s32min-(-1),1-s32max
BUF_SIZE 2 file s32min-(-1),1-s32max
BUF_SIZE 4 mode_cmd (-1),104,128-16383
BUF_SIZE 4 mode_cmd (-1),104,128-16383
CAPPED_DATA 3 info->num_planes 1
CAPPED_DATA 4 mode_cmd->height 1
CAPPED_DATA 4 mode_cmd->width 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 fb r _kzalloc_noprof
DATA_SOURCE 2 file $1
DATA_SOURCE 3 info $2
DATA_SOURCE 4 mode_cmd $3
DATA_SOURCE 5 funcs $4
NOSPEC 4 mode_cmd->height
NOSPEC 4 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 mode_cmd->fb_id 0-u32max[u]
USER_DATA 4 mode_cmd->flags 0-2[u]
USER_DATA 4 mode_cmd->height 1-s32max[c]
USER_DATA 4 mode_cmd->pixel_format 0-u32max[c]
USER_DATA 4 mode_cmd->width 1-s32max[c]
USER_PTR 4 mode_cmd
USER_PTR 4 mode_cmd->handles
USER_PTR 4 mode_cmd->modifier
USER_PTR 4 mode_cmd->offsets
USER_PTR 4 mode_cmd->pitches
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex