Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

drivers/gpu/drm/xlnx/zynqmp_kms.c zynqmp_dpsub_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/tegra/gem.c tegra_bo_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c rcar_du_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/imx/ipuv3/imx-drm-core.c imx_drm_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 1-u32max
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c hibmc_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 128
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/drm_gem_dma_helper.c drm_gem_dma_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->size 0-u32max
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 0
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
CAPPED_DATA 1 args->size 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->size 1-u32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 256
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/exynos/exynos_drm_gem.c exynos_drm_gem_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 0
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/xe/xe_bo.c xe_bo_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 64
PARAM_VALUE 3 hw_size_align 4096,65536
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
BIT_INFO 3 hw_size_align 0x0,0x11000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 0
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/omapdrm/omap_gem.c omap_gem_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 8
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/rockchip/rockchip_drm_gem.c rockchip_gem_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 64
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/loongson/lsdc_gem.c lsdc_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/drm_gem_shmem_helper.c drm_gem_shmem_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 0
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/msm/msm_gem.c msm_gem_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 1-u32max
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args

drivers/gpu/drm/verisilicon/vs_drm.c vs_gem_dumb_create() -> drm_mode_size_dumb()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->dumb_create 1-u64max
PARAM_VALUE 1 args 4096-ptr_max
PARAM_VALUE 1 args->bpp 1-4294967287
PARAM_VALUE 1 args->handle 0
PARAM_VALUE 1 args->height 1-u32max
PARAM_VALUE 1 args->pitch 0
PARAM_VALUE 1 args->size 0
PARAM_VALUE 1 args->width 1-u32max
PARAM_VALUE 2 hw_pitch_align 128
PARAM_VALUE 3 hw_size_align 0
BUF_SIZE 1 args (-1),128-16383
BUF_SIZE 1 args (-1),128-16383
CAPPED_DATA 1 args->height 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 args $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 args->bpp 1-4294967287[u]
USER_DATA 1 args->flags 0-u32max[u]
USER_DATA 1 args->height 1-s32max[c]
USER_DATA 1 args->width 1-u32max[u]
NO_OVERFLOW_SIMPLE 1 args->height
NO_OVERFLOW_SIMPLE 1 args->width
USER_PTR 1 args