Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 36 files:

Smatch caller information:

drivers/gpu/drm/xlnx/zynqmp_kms.c zynqmp_dpsub_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/mxsfb/mxsfb_drv.c mxsfb_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c rcar_du_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/ingenic/ingenic-drm-drv.c ingenic_drm_gem_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c rzg2l_du_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/renesas/shmobile/shmob_drm_kms.c shmob_drm_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/arm/malidp_drv.c malidp_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/mediatek/mtk_drm_drv.c mtk_drm_mode_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/vc4/vc4_kms.c vc4_fb_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/gma500/framebuffer.c psb_user_framebuffer_create() -> drm_gem_fb_create()

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

drivers/gpu/drm/drm_framebuffer.c drm_internal_framebuffer_create() -> (struct drm_mode_config_funcs)->fb_create()

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