Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c i915_ttm_move() -> i915_ttm_is_ghost_object()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
BUF_SIZE 0 bo s32min-(-1),1-s32max
BUF_SIZE 0 bo s32min-(-1),1-s32max
BUF_SIZE 0 bo->base.dma_buf (-1),361,536
BUF_SIZE 0 bo->base.funcs (-1),120
BUF_SIZE 0 bo->base.resv (-1),176
BUF_SIZE 0 bo->destroy (-1),8
BUF_SIZE 0 bo->sg (-1),16
BUF_SIZE 0 bo->ttm (-1),64
BUF_SIZE 0 bo->ttm->sg (-1),16
CAPPED_DATA 0 bo->base.resv->fences 1
DATA_SOURCE 0 bo $0
NOSPEC 0 bo->base.size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->base.filp->f_flags 0-18433,32770
USER_DATA 0 bo->base.filp->f_mode 33554432,34078720-571342855[c]
USER_DATA 0 bo->base.size 0-u64max[c]
USER_DATA 0 bo->base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->page_alignment 0-u32max
USER_DATA 0 bo->ttm->num_pages 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 bo->base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 bo->base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 bo->base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 0 bo->base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 0 bo->base.import_attach->dmabuf->size
NO_OVERFLOW_SIMPLE 0 bo->bdev->pool.dev->cma_area->available_count
NO_OVERFLOW_SIMPLE 0 bo->resource->bo->base.size
NO_OVERFLOW_SIMPLE 0 bo->resource->size
NO_OVERFLOW_SIMPLE 0 bo->sg->nents
NO_OVERFLOW_SIMPLE 0 bo->sg->orig_nents
NO_OVERFLOW_SIMPLE 0 bo->ttm->cached_rsgt.size
NO_OVERFLOW_SIMPLE 0 bo->ttm->dma_ttm.sg->orig_nents
NO_OVERFLOW_SIMPLE 0 bo->ttm->gobj->size
NO_OVERFLOW_SIMPLE 0 bo->ttm->num_pages
NO_OVERFLOW_SIMPLE 0 bo->ttm->sg->orig_nents
NO_OVERFLOW_SIMPLE 0 bo->ttm->ttm.num_pages
NO_OVERFLOW_SIMPLE 0 bo->ttm->ttm.sg->orig_nents
HALF_LOCKED2 0 bo->base.resv

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_delete_mem_notify() -> i915_ttm_is_ghost_object()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
DATA_SOURCE 0 bo $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bo->resource->bo->base.size
NO_OVERFLOW_SIMPLE 0 bo->resource->size
HALF_LOCKED2 0 bo->base.resv

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_eviction_valuable() -> i915_ttm_is_ghost_object()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
CAPPED_DATA 0 bo->resource->mem_type 1
DATA_SOURCE 0 bo $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_io_mem_reserve() -> i915_ttm_is_ghost_object()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->base.size 0-u64max[c]
USER_DATA 0 bo->base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->page_alignment 0-u32max

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_swap_notify() -> i915_ttm_is_ghost_object()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
CAPPED_DATA 0 bo->resource->mem_type 1
DATA_SOURCE 0 bo $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gem/i915_gem_ttm.c i915_ttm_tt_create() -> i915_ttm_is_ghost_object()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
BUF_SIZE 0 bo s32min-(-1),1-s32max
BUF_SIZE 0 bo s32min-(-1),1-s32max
BUF_SIZE 0 bo->base.dma_buf (-1),24,64,361,536
BUF_SIZE 0 bo->base.funcs (-1),120
BUF_SIZE 0 bo->base.resv (-1),176
BUF_SIZE 0 bo->destroy (-1),8
BUF_SIZE 0 bo->sg (-1),16
BUF_SIZE 0 bo->ttm (-1),64
BUF_SIZE 0 bo->ttm->sg (-1),16
DATA_SOURCE 0 bo $0
NOSPEC 0 bo->base.size
NOSPEC 0 bo->ttm->num_pages
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->base.filp->f_flags 0-18433,32770
USER_DATA 0 bo->base.filp->f_mode 33554432-571342855[c]
USER_DATA 0 bo->base.size 0-u64max[c]
USER_DATA 0 bo->base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->page_alignment 0-u32max
USER_DATA 0 bo->ttm->num_pages 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 bo->base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 bo->base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 bo->base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 0 bo->base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 0 bo->base.import_attach->dmabuf->size
NO_OVERFLOW_SIMPLE 0 bo->bdev->pool.dev->cma_area->available_count
NO_OVERFLOW_SIMPLE 0 bo->resource->bo->base.size
NO_OVERFLOW_SIMPLE 0 bo->resource->size
NO_OVERFLOW_SIMPLE 0 bo->sg->nents
NO_OVERFLOW_SIMPLE 0 bo->sg->orig_nents
NO_OVERFLOW_SIMPLE 0 bo->ttm->cached_rsgt.size
NO_OVERFLOW_SIMPLE 0 bo->ttm->dma_ttm.sg->orig_nents
NO_OVERFLOW_SIMPLE 0 bo->ttm->gobj->size
NO_OVERFLOW_SIMPLE 0 bo->ttm->num_pages
NO_OVERFLOW_SIMPLE 0 bo->ttm->sg->orig_nents
NO_OVERFLOW_SIMPLE 0 bo->ttm->ttm.num_pages
NO_OVERFLOW_SIMPLE 0 bo->ttm->ttm.sg->orig_nents
HALF_LOCKED2 0 bo->base.resv