Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c amdgpu_devcoredump_print_ibs() -> amdgpu_bo_kptr()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->kmap.bo_kmap_type 3,132
PARAM_VALUE 0 bo->kmap.virtual 1-u64max
BIT_INFO 0 bo->flags 0x0,0xfffffffffffffffd
NO_OVERFLOW_SIMPLE 0 bo->kmap.bo->base.size
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_kmap() -> amdgpu_bo_kptr()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
DATA_SOURCE 0 bo $0
BIT_INFO 0 bo->flags 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->allowed_domains 0-126[c]
USER_DATA 0 bo->flags 0,520-131592[c][u]
USER_DATA 0 bo->preferred_domains 0-126[c]
USER_DATA 0 bo->tbo.base.size 0-u64max[c]
USER_DATA 0 bo->tbo.base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->tbo.base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->tbo.page_alignment 0-u32max
NO_OVERFLOW_SIMPLE 0 bo->tbo.ttm->dma_ttm.sg->orig_nents
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 mapping->bo_va->base.bo->tbo.base.resv
HALF_LOCKED2 0 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_kmap() -> amdgpu_bo_kptr()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->kmap.bo_kmap_type 3,132
PARAM_VALUE 0 bo->kmap.virtual 1-u64max
DATA_SOURCE 0 bo $0
BIT_INFO 0 bo->flags 0x0,0xfffffffffffffffd
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bo->allowed_domains 0-126[c]
USER_DATA 0 bo->flags 0,520-131592[c][u]
USER_DATA 0 bo->preferred_domains 0-126[c]
USER_DATA 0 bo->tbo.base.size 0-u64max[c]
USER_DATA 0 bo->tbo.base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 0 bo->tbo.base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 0 bo->tbo.page_alignment 0-u32max
NO_OVERFLOW_SIMPLE 0 bo->kmap.bo->base.size
NO_OVERFLOW_SIMPLE 0 bo->tbo.ttm->dma_ttm.sg->orig_nents
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 mapping->bo_va->base.bo->tbo.base.resv
HALF_LOCKED2 0 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c amdgpu_vm_cpu_update() -> amdgpu_bo_kptr()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vm->eviction_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_get_create_msg() -> amdgpu_bo_kptr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &m->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_get_destroy_msg() -> amdgpu_bo_kptr()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->kmap.bo_kmap_type 2-3,129,132
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_sw_fini() -> amdgpu_bo_kptr()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex