Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p1_ib() -> amdgpu_cs_job_idx()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0,4096-ptr_max
PARAM_VALUE 0 p->bo_list->first_userptr 0-131072
PARAM_VALUE 0 p->bo_list->num_entries 0-131072
PARAM_VALUE 0 p->bo_list->refcount.refcount.refs.counter 1
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.contended (-1)
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 0
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 0-4,6-2147483657
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 1-u32max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 chunk_ib 16,4096-ptr_max
BUF_SIZE 0 p->chunks 0-s32max
BUF_SIZE 1 chunk_ib 4
BUF_SIZE 1 chunk_ib 4
DATA_SOURCE 0 p $0
DATA_SOURCE 1 chunk_ib $1
MEM_ZERO 0 p
USER_DATA 0 p->bo_list->first_userptr 0-131072[u]
USER_DATA 0 p->bo_list->num_entries 0-131072[u]
USER_DATA 0 p->nchunks 1-u32max[u]

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p2_ib() -> amdgpu_cs_job_idx()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0,4096-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.contended (-1)
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483657
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 1-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
BUF_SIZE 1 chunk_ib 4
BUF_SIZE 1 chunk_ib 4
CAPPED_DATA 0 p->gang_size 1
DATA_SOURCE 0 p $0
MEM_ZERO 0 p