Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_evict_flags() -> amdgpu_bo_is_amdgpu_bo()

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
HALF_LOCKED2 0 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_bo_eviction_valuable() -> amdgpu_bo_is_amdgpu_bo()

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/amd/amdgpu/amdgpu_object.c amdgpu_bo_move_notify() -> amdgpu_bo_is_amdgpu_bo()

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->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
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
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/amd/amdgpu/amdgpu_object.c amdgpu_bo_release_notify() -> amdgpu_bo_is_amdgpu_bo()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
DATA_SOURCE 0 bo $0
RX_PATH
TASK_NOT_RUNNING