Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_filter_faults_remove() -> (struct amdgpu_ih_funcs)->decode_iv_ts()

Type Parameter Key Value
PARAM_VALUE 0 ih 4096-ptr_max
PARAM_VALUE 0 ih->enabled 1
PARAM_VALUE 2 offset (-1)
BUF_SIZE 0 ih 224
CAPPED_DATA 1 rptr 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 &svms->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c amdgpu_ih_wait_on_checkpoint_process_ts() -> (struct amdgpu_ih_funcs)->decode_iv_ts()

Type Parameter Key Value
PARAM_VALUE 0 ih 4096-ptr_max
PARAM_VALUE 0 ih->enabled 1
PARAM_VALUE 2 offset (-1)
CAPPED_DATA 1 rptr 1
DATA_SOURCE 0 ih $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_update_checkpoint_timestamp() -> (struct amdgpu_ih_funcs)->decode_iv_ts()

Type Parameter Key Value
PARAM_VALUE 0 ih 4096-ptr_max
PARAM_VALUE 0 ih->ring_size 1-u32max
PARAM_VALUE 2 offset (-1)
BUF_SIZE 0 ih 224
CAPPED_DATA 1 rptr 1
CONTAINER 0 -16-1240+568 $(-1)
PARAM_COMPARE 1 rptr != $0->rptr

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_update_checkpoint_timestamp() -> (struct amdgpu_ih_funcs)->decode_iv_ts()

Type Parameter Key Value
PARAM_VALUE 0 ih 4096-ptr_max
PARAM_VALUE 2 offset (-1)
BUF_SIZE 0 ih 224
CAPPED_DATA 1 rptr 1
CONTAINER 0 -16-1240+1016 $(-1)
PARAM_COMPARE 1 rptr != $0->rptr