Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_device_init_cwsr_dgpu() -> kfd_process_alloc_gpuvm()

Type Parameter Key Value
PARAM_VALUE 0 pdd 4096-ptr_max
PARAM_VALUE 0 pdd->dev 4096-ptr_max
PARAM_VALUE 0 pdd->dev->adev 4096-ptr_max
PARAM_VALUE 0 pdd->dev->kfd 4096-ptr_max
PARAM_VALUE 0 pdd->dev->kfd->cwsr_enabled 1
PARAM_VALUE 0 pdd->drm_file 0
PARAM_VALUE 0 pdd->process 4096-ptr_max
PARAM_VALUE 0 pdd->process->kgd_process_info 1-u64max
PARAM_VALUE 0 pdd->qpd.cwsr_base 1-u64max
PARAM_VALUE 0 pdd->user_gpu_id 1-u32max
PARAM_VALUE 1 gpu_va 1-u64max
PARAM_VALUE 2 size 8192
PARAM_VALUE 3 flags 1342177281-1342177282
PARAM_VALUE 4 mem 7708908417173831680
PARAM_VALUE 5 kptr 6769304267203145728
BUF_SIZE 0 pdd->drm_priv s32min-(-2),1-s32max
CAPPED_DATA 0 pdd->user_gpu_id 1
DATA_SOURCE 0 pdd $0
BIT_INFO 3 flags 0x50000000,0x50000003
LOCK2 &p->mutex
HALF_LOCKED2 &gobj->dev->object_name_lock
TYPE_LOCK (struct kfd_process)->mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_device_reserve_ib_mem() -> kfd_process_alloc_gpuvm()

Type Parameter Key Value
PARAM_VALUE 0 pdd 4096-ptr_max
PARAM_VALUE 0 pdd->dev 4096-ptr_max
PARAM_VALUE 0 pdd->drm_file 0
PARAM_VALUE 0 pdd->process 4096-ptr_max
PARAM_VALUE 0 pdd->process->kgd_process_info 1-u64max
PARAM_VALUE 0 pdd->qpd.ib_base 1-u64max
PARAM_VALUE 0 pdd->qpd.ib_kaddr 0
PARAM_VALUE 0 pdd->user_gpu_id 1-u32max
PARAM_VALUE 1 gpu_va 1-u64max
PARAM_VALUE 2 size 4096
PARAM_VALUE 3 flags 3489660930
PARAM_VALUE 4 mem 942819086627033088
PARAM_VALUE 5 kptr 1434741187103621120
BUF_SIZE 0 pdd->drm_priv s32min-(-2),1-s32max
CAPPED_DATA 0 pdd->user_gpu_id 1
DATA_SOURCE 0 pdd $0
UNITS 2 size unit_byte
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex