Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/ttm/ttm_tt.c ttm_sg_tt_init() -> ttm_tt_init_fields()

Type Parameter Key Value
PARAM_VALUE 0 ttm 16,4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 2 page_flags 0,2,4,12,14,16,18,20,28,30
PARAM_VALUE 3 caching 0-2
PARAM_VALUE 4 extra_pages 0
BUF_SIZE 0 ttm (-1),64
BUF_SIZE 0 ttm (-1),64
BUF_SIZE 1 bo s32min-(-1),1-s32max
BUF_SIZE 1 bo s32min-(-1),1-s32max
BUF_SIZE 1 bo->base.dma_buf (-1),24,64,361,536
BUF_SIZE 1 bo->base.funcs (-1),120
BUF_SIZE 1 bo->base.resv (-1),176
BUF_SIZE 1 bo->sg (-1),16,56,376,592
BUF_SIZE 1 bo->ttm (-1),64
BUF_SIZE 1 bo->ttm->sg (-1),16
DATA_SOURCE 0 ttm $0
DATA_SOURCE 1 bo $1
DATA_SOURCE 2 page_flags $2
DATA_SOURCE 3 caching $3
FUZZY_MAX 3 caching 2
BIT_INFO 2 page_flags 0x0,0x1e
NOSPEC 1 bo->base.size
NOSPEC 1 bo->ttm->num_pages
HARD_MAX 3 caching 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bo->base.filp->f_flags 0-18433,32770
USER_DATA 1 bo->base.filp->f_mode 33554432-571342855[c]
USER_DATA 1 bo->base.size 0-u64max[c]
USER_DATA 1 bo->base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 1 bo->base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 1 bo->page_alignment 0-u32max
USER_DATA 1 bo->ttm->num_pages 0-u32max[c]
NO_OVERFLOW_SIMPLE 1 bo->base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 1 bo->base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 1 bo->base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 1 bo->base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 1 bo->bdev->pool.dev->cma_area->available_count
NO_OVERFLOW_SIMPLE 1 bo->resource->bo->base.size
NO_OVERFLOW_SIMPLE 1 bo->resource->size
NO_OVERFLOW_SIMPLE 1 bo->sg->orig_nents
NO_OVERFLOW_SIMPLE 1 bo->ttm->cached_rsgt.size
NO_OVERFLOW_SIMPLE 1 bo->ttm->dma_ttm.sg->orig_nents
NO_OVERFLOW_SIMPLE 1 bo->ttm->gobj->size
NO_OVERFLOW_SIMPLE 1 bo->ttm->num_pages
NO_OVERFLOW_SIMPLE 1 bo->ttm->sg->orig_nents
NO_OVERFLOW_SIMPLE 1 bo->ttm->swap_storage
NO_OVERFLOW_SIMPLE 1 bo->ttm->ttm.num_pages
NO_OVERFLOW_SIMPLE 1 bo->ttm->ttm.sg->orig_nents
HALF_LOCKED2 1 bo->base.resv

drivers/gpu/drm/ttm/ttm_tt.c ttm_tt_init() -> ttm_tt_init_fields()

Type Parameter Key Value
PARAM_VALUE 0 ttm 0,16,4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 2 page_flags 0,2,4,6,12,14,16,18,20,22,28,30
PARAM_VALUE 3 caching 0-2
BUF_SIZE 0 ttm (-1),64
BUF_SIZE 0 ttm (-1),64
BUF_SIZE 1 bo s32min-(-1),1-s32max
BUF_SIZE 1 bo s32min-(-1),1-s32max
BUF_SIZE 1 bo->base.dma_buf (-1),24,64,361,536
BUF_SIZE 1 bo->base.funcs (-1),120
BUF_SIZE 1 bo->base.resv (-1),176
BUF_SIZE 1 bo->sg (-1),16,56,376,592
BUF_SIZE 1 bo->ttm (-1),64
BUF_SIZE 1 bo->ttm->sg (-1),16
DATA_SOURCE 0 ttm $0
DATA_SOURCE 1 bo $1
DATA_SOURCE 2 page_flags $2
DATA_SOURCE 3 caching $3
DATA_SOURCE 4 extra_pages $4
NOSPEC 1 bo->base.size
NOSPEC 1 bo->ttm->num_pages
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 bo->base.filp->f_flags 0-18433,32770
USER_DATA 1 bo->base.filp->f_mode 33554432-571342855[c]
USER_DATA 1 bo->base.size 0-u64max[c]
USER_DATA 1 bo->base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 1 bo->base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 1 bo->page_alignment 0-u32max
USER_DATA 1 bo->ttm->num_pages 0-u32max[c]
NO_OVERFLOW_SIMPLE 1 bo->base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 1 bo->base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 1 bo->base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 1 bo->base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 1 bo->bdev->pool.dev->cma_area->available_count
NO_OVERFLOW_SIMPLE 1 bo->resource->bo->base.size
NO_OVERFLOW_SIMPLE 1 bo->resource->size
NO_OVERFLOW_SIMPLE 1 bo->sg->orig_nents
NO_OVERFLOW_SIMPLE 1 bo->ttm->cached_rsgt.size
NO_OVERFLOW_SIMPLE 1 bo->ttm->dma_ttm.sg->orig_nents
NO_OVERFLOW_SIMPLE 1 bo->ttm->gobj->size
NO_OVERFLOW_SIMPLE 1 bo->ttm->num_pages
NO_OVERFLOW_SIMPLE 1 bo->ttm->sg->orig_nents
NO_OVERFLOW_SIMPLE 1 bo->ttm->swap_storage
NO_OVERFLOW_SIMPLE 1 bo->ttm->ttm.num_pages
NO_OVERFLOW_SIMPLE 1 bo->ttm->ttm.sg->orig_nents
HALF_LOCKED2 1 bo->base.resv