Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../ras/ras_mgr/amdgpu_ras_mgr.c amdgpu_ras_mgr_init_event_mgr() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 1-u64max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_add_device() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 0,4096-ptr_max
PARAM_VALUE 0 hive->device_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->device_list 1
CAPPED_DATA 0 &hive->hive_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &hive->hive_lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_remove_device() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->kobj.sd->__parent 0
CAPPED_DATA 0 &hive->hive_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_remove_device() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->kobj.sd->__parent 0
CAPPED_DATA 0 &hive->hive_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_reset_on_init() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->hive_lock 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_set_pstate() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &mgpu_info.mutex

drivers/gpu/drm/amd/amdgpu/../ras/ras_mgr/amdgpu_ras_sys.c amdgpu_ras_sys_gen_seqno() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ras_core->ras_aca.bank_op_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_prepare_nps_mode_change() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_prepare_nps_mode_change() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->requested_nps_mode.counter 0
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c current_memory_partition_store() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->requested_nps_mode.counter s32min-(-1),1-s32max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_do_recovery() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->ras_recovery.counter 0
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->device_list 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_event_mgr_init() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 1-u64max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hive->kobj.kref.refcount.refs.counter s32min-s32max

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_in_recovery() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hive->kobj.kref.refcount.refs.counter s32min-s32max

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_reset_gpu() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hive->kobj.kref.refcount.refs.counter s32min-s32max
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_xgmi_reflect_topology_info() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 1-u64max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->device_list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 hive->kobj.kref.refcount.refs.counter s32min-s32max
HALF_LOCKED2 &hive->hive_lock
TYPE_LOCK (struct amdgpu_hive_info)->hive_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c __free_xgmi_put_hive() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_gpu_recover() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->hive_lock 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tmp_adev->reset_domain->sem
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_reset_sriov() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 1-u64max
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
NOCHECK_CALL
HOST_DATA 0 hive->kobj.kref.refcount.refs.counter s32min-s32max

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_xgmi_reset_func() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->tb.enter_turnstile.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 hive->tb.enter_turnstile.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 hive->tb.enter_turnstile.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 hive->tb.enter_turnstile.lock.dep_map->name 0-255
PARAM_VALUE 0 hive->tb.enter_turnstile.lock.owner (-1)
PARAM_VALUE 0 hive->tb.enter_turnstile.lock.owner_cpu u32max
PARAM_VALUE 0 hive->tb.exit_turnstile.first_waiter->up 0-1
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
NOCHECK_CALL
LOCK2 0 &hive->tb.enter_turnstile
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hive->tb.exit_turnstile
TYPE_LOCK (struct task_barrier)->enter_turnstile

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_pci_resume() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->device_list 1
CAPPED_DATA 0 &hive->hive_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_pci_slot_reset() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->device_list 1
CAPPED_DATA 0 &hive->hive_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_core_dump() -> amdgpu_put_xgmi_hive()

Type Parameter Key Value
PARAM_VALUE 0 hive 4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hive->hive_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hive->hive_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hive->hive_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 0 hive (-1),848
BUF_SIZE 0 hive (-1),848
CAPPED_DATA 0 &hive->hive_lock 1
NOCHECK_CALL
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock