Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/habanalabs_drv.c hl_device_open() -> hl_ctx_create()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->compute_ctx_in_release 0
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->fpriv_list_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->fpriv_list_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->fpriv_list_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 hdev->is_compute_ctx_active 0
PARAM_VALUE 0 hdev->is_in_dram_scrub 0
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 1 hpriv 4096-ptr_max
PARAM_VALUE 1 hpriv->ctx_lock.dep_map->name 0-255
PARAM_VALUE 1 hpriv->ctx_lock.first_waiter 0
PARAM_VALUE 1 hpriv->ctx_lock.magic 4096-ptr_max
PARAM_VALUE 1 hpriv->ctx_lock.osq.tail.counter 0
PARAM_VALUE 1 hpriv->ctx_lock.owner.counter 0
PARAM_VALUE 1 hpriv->ctx_mgr.handles.idr_base 0
PARAM_VALUE 1 hpriv->ctx_mgr.handles.idr_next 0
PARAM_VALUE 1 hpriv->ctx_mgr.handles.idr_rt.xa_flags 33554436
PARAM_VALUE 1 hpriv->ctx_mgr.handles.idr_rt.xa_head 0
PARAM_VALUE 1 hpriv->ctx_mgr.lock.dep_map->name 0-255
PARAM_VALUE 1 hpriv->ctx_mgr.lock.first_waiter 0
PARAM_VALUE 1 hpriv->ctx_mgr.lock.magic 4096-ptr_max
PARAM_VALUE 1 hpriv->ctx_mgr.lock.osq.tail.counter 0
PARAM_VALUE 1 hpriv->ctx_mgr.lock.owner.counter 0
PARAM_VALUE 1 hpriv->hdev 4096-ptr_max
PARAM_VALUE 1 hpriv->mem_mgr.handles.idr_base 0
PARAM_VALUE 1 hpriv->mem_mgr.handles.idr_next 0
PARAM_VALUE 1 hpriv->mem_mgr.handles.idr_rt.xa_flags 33554436
PARAM_VALUE 1 hpriv->mem_mgr.handles.idr_rt.xa_head 0
PARAM_VALUE 1 hpriv->notifier_event.lock.dep_map->name 0-255
PARAM_VALUE 1 hpriv->notifier_event.lock.first_waiter 0
PARAM_VALUE 1 hpriv->notifier_event.lock.magic 4096-ptr_max
PARAM_VALUE 1 hpriv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 hpriv->restore_phase_mutex.dep_map->name 0-255
PARAM_VALUE 1 hpriv->restore_phase_mutex.first_waiter 0
PARAM_VALUE 1 hpriv->restore_phase_mutex.magic 4096-ptr_max
BUF_SIZE 1 hpriv 968
CAPPED_DATA 0 &hdev->fpriv_list_lock 1
DATA_SOURCE 0 hdev r to_hl_device
DATA_SOURCE 1 hpriv r _kzalloc_noprof
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->fpriv_list_lock
TYPE_LOCK (struct hl_device)->fpriv_list_lock