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_virt.c amdgpu_virt_ras_reserve_bps() -> amdgpu_vram_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 mgr 4096-ptr_max
PARAM_VALUE 0 mgr->manager.use_type 1
PARAM_VALUE 1 start 0,4096-18446744073709547520
PARAM_VALUE 2 size 4096
BIT_INFO 1 start 0x0,0xfffffffffffff000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adev->reset_domain->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_reserve_page() -> amdgpu_vram_mgr_reserve_range()

Type Parameter Key Value
PARAM_VALUE 0 mgr 4096-ptr_max
PARAM_VALUE 0 mgr->lock.dep_map->name 0-255
PARAM_VALUE 0 mgr->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mgr->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mgr->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mgr->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mgr->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mgr->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mgr->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mgr->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 start 0,4096-18446744073709547520
PARAM_VALUE 2 size 4096
BUF_SIZE 0 mgr 552
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
BIT_INFO 1 start 0x0,0xfffffffffffff000
BIT_INFO 1 start 0x0,0xfffffffffffff000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &con->page_rsv_lock
HALF_LOCKED2 &con->recovery_lock
TYPE_LOCK (struct amdgpu_ras)->page_rsv_lock