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/../amdkfd/kfd_crat.c kfd_create_vcrat_image_gpu() -> amdgpu_xgmi_get_is_sharing_enabled()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adev->rmmio_size
LOCK2 global &topology_lock
HALF_LOCKED2 &xcp_mgr->xcp_lock

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c kfd_dev_create_p2p_links() -> amdgpu_xgmi_get_is_sharing_enabled()

Type Parameter Key Value
PARAM_VALUE 0 adev 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xcp_mgr->xcp_lock