Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/accel/habanalabs/common/device.c device_hard_reset_pending() -> hl_get_compute_ctx()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->device_fini_pending 0
HALF_LOCKED2 &pool->lock

drivers/accel/habanalabs/common/device.c hl_capture_user_mappings() -> hl_get_compute_ctx()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->rreg 4096-ptr_max
PARAM_VALUE 0 hdev->captured_err_info.page_fault_info.page_fault_detected.counter 0-s32max
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/accel/habanalabs/common/device.c hl_device_cond_reset() -> hl_get_compute_ctx()

Type Parameter Key Value
PARAM_VALUE 0 hdev->asic_funcs->rreg 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->wreg 4096-ptr_max
PARAM_VALUE 0 hdev->hl_debugfs.state_dump_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hdev->hl_debugfs.state_dump_sem.first_waiter->type 0-1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hdev unit_byte

drivers/accel/habanalabs/gaudi2/gaudi2.c gaudi2_debugfs_read_dma() -> hl_get_compute_ctx()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hdev->reset_info.in_reset 0
DATA_SOURCE 0 hdev $0

drivers/accel/habanalabs/common/debugfs.c device_va_to_pa() -> hl_get_compute_ctx()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->reset_info.in_reset 0
DATA_SOURCE 0 hdev $0

drivers/accel/habanalabs/common/debugfs.c mmu_show() -> hl_get_compute_ctx()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/accel/habanalabs/common/debugfs.c vm_show() -> hl_get_compute_ctx()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/accel/habanalabs/common/command_submission.c release_reserved_encaps_signals() -> hl_get_compute_ctx()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->hw_queues_lock 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->hw_queues_unlock 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->send_cpu_message 4096-ptr_max
PARAM_VALUE 0 hdev->asic_specific->hw_queues_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hdev->dev 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hdev->device_cpu_disabled 1
PARAM_VALUE 0 hdev->device_fini_pending 1
PARAM_VALUE 0 hdev->device_release_watchdog_work.reset_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->device_reset_work.reset_work.timer.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->disabled 1
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->fpriv_ctrl_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->fpriv_list_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hdev->fpriv_list_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->fpriv_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->hwmon_dev->iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 hdev->hwmon_dev->kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hdev->hwmon_dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hdev->hwmon_dev->p->dead 0-1
PARAM_VALUE 0 hdev->hwmon_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hdev->pdev 4096-ptr_max
PARAM_VALUE 0 hdev->reset_info.hard_reset_pending 1
PARAM_VALUE 0 hdev->reset_info.in_reset 1
PARAM_VALUE 0 hdev->reset_info.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hdev->send_cpu_message_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hdev->send_cpu_message_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->send_cpu_message_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->send_cpu_message_lock.osq.tail.counter 0-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
CAPPED_DATA 0 hdev 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hdev unit_byte
HALF_LOCKED2 &dev->mutex