Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 14 files:

Smatch caller information:

drivers/gpu/drm/msm/msm_fb.c msm_framebuffer_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 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 1 fb 192
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 2 info $1
DATA_SOURCE 3 mode_cmd $2
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->pixel_format
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 808,808530000,808665410,808665426,808665665,808665688,808669761
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/virtio/virtgpu_display.c virtio_gpu_framebuffer_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 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 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 2 info $2
DATA_SOURCE 3 mode_cmd $3
BIT_INFO 3 mode_cmd->pixel_format 0x34325240,0x34325259
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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->width 1-s32max[c]
USER_PTR 3 mode_cmd
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/exynos/exynos_drm_fb.c exynos_drm_framebuffer_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 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 1 fb 192
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 fb r _kzalloc_noprof
DATA_SOURCE 2 info $1
DATA_SOURCE 3 mode_cmd $2
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/arm/display/komeda/komeda_framebuffer.c komeda_fb_create() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 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 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 2 info $2
DATA_SOURCE 3 mode_cmd $3
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 808,538982482,808530000,808539481,808665410,808665426,808665665
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/nouveau/nouveau_display.c nouveau_framebuffer_new() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 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 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 2 info $1
DATA_SOURCE 3 mode_cmd $2
BIT_INFO 3 mode_cmd->pixel_format 0x0,0x7fffffff
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_gem_framebuffer_helper.c drm_gem_fb_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 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->width 1-u32max
BUF_SIZE 1 fb (-1),192
BUF_SIZE 1 fb (-1),192
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 fb $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
NOCHECK_CALL
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/amd/amdgpu/amdgpu_display.c amdgpu_display_gem_fb_verify_and_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 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 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 2 info $3
DATA_SOURCE 3 mode_cmd $4
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/radeon/radeon_display.c radeon_framebuffer_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 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
BUF_SIZE 1 fb 192
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
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 fb $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
NOCHECK_CALL
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 &dev->clientlist_mutex
HALF_LOCKED2 &fb_helper->lock

drivers/gpu/drm/omapdrm/omap_fb.c omap_framebuffer_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 4096-ptr_max
PARAM_VALUE 3 mode_cmd 4096-ptr_max
PARAM_VALUE 3 mode_cmd->flags 0-2
PARAM_VALUE 3 mode_cmd->pitches 4096-ptr_max
BUF_SIZE 1 fb 192
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
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 info $1
DATA_SOURCE 3 mode_cmd $2
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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->width 1-s32max[c]
UNITS 0 dev unit_byte
USER_PTR 3 mode_cmd
HALF_LOCKED2 &dev->clientlist_mutex
HALF_LOCKED2 &helper->lock

drivers/gpu/drm/tegra/fb.c tegra_fb_alloc() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 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 1 fb 192
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 fb r _kzalloc_noprof
DATA_SOURCE 2 info $1
DATA_SOURCE 3 mode_cmd $2
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/i915/display/intel_fb.c intel_framebuffer_init() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 info 0,4096-ptr_max
PARAM_VALUE 3 mode_cmd 189279737689608192,4560490489174298624,8585437146338455552
PARAM_VALUE 3 mode_cmd->flags 0-2
PARAM_VALUE 3 mode_cmd->modifier 4096-ptr_max
PARAM_VALUE 3 mode_cmd->offsets 4096-ptr_max
PARAM_VALUE 3 mode_cmd->pitches 4096-ptr_max
BUF_SIZE 1 fb 192
CAPPED_DATA 3 mode_cmd->pixel_format 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
NOCHECK_CALL
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]
UNITS 0 dev unit_byte
USER_PTR 3 mode_cmd->handles
USER_PTR 3 mode_cmd->offsets
USER_PTR 3 mode_cmd->pitches

drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_kms_new_framebuffer_bo() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 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->width 1-u32max
BUF_SIZE 0 dev 3696
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 2 info $3
DATA_SOURCE 3 mode_cmd $4
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/vmwgfx/vmwgfx_kms.c vmw_kms_new_framebuffer_surface() -> drm_helper_mode_fill_fb_struct()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 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 3696
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 2 info $3
DATA_SOURCE 3 mode_cmd $4
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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