Documented in 1 files:

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/amdgpu_ids.c amdgpu_vmid_grab_idle() -> amdgpu_sync_peek_fence()

Type Parameter Key Value
PARAM_VALUE 1 ring 0,4096-ptr_max
PARAM_VALUE 1 ring->funcs 4096-ptr_max
PARAM_VALUE 1 ring->vmid_wait 4096-ptr_max
LOCK2 &id_mgr->lock
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_vmid_mgr)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c amdgpu_vmid_grab_reserved() -> amdgpu_sync_peek_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 1 ring 0,4096-ptr_max
PARAM_VALUE 1 ring->adev 4096-ptr_max
PARAM_VALUE 1 ring->adev->vm_manager.concurrent_flush 0
PARAM_VALUE 1 ring->adev->vm_manager.id_mgr 4096-ptr_max
PARAM_VALUE 1 ring->funcs 4096-ptr_max
PARAM_VALUE 1 ring->vmid_wait 4096-ptr_max
PARAM_VALUE 1 ring->vmid_wait->cb_list.next 4096-ptr_max
PARAM_VALUE 1 ring->vmid_wait->cb_list.prev 4096-ptr_max
PARAM_VALUE 1 ring->vmid_wait->entry.next s64max
PARAM_VALUE 1 ring->vmid_wait->rcu.flags 0-4294967295
PARAM_VALUE 1 ring->vmid_wait->rcu.is_hard 0-1
PARAM_VALUE 1 ring->vmid_wait->rcu.is_lazy 0-1
PARAM_VALUE 1 ring->vmid_wait->rcu.is_queued 0-1
PARAM_VALUE 1 ring->vmid_wait->rcu.is_soft 0-1
DATA_SOURCE 1 ring $1 [m]
LOCK2 &id_mgr->lock
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_vmid_mgr)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_enforce_isolation() -> amdgpu_sync_peek_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->funcs 4096-ptr_max
PARAM_VALUE 1 ring->funcs->type 0-1
DATA_SOURCE 1 ring $1
LOCK2 &adev->enforce_isolation_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_device)->enforce_isolation_mutex