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/context.c hl_ctx_init() -> hl_cb_va_pool_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->asid 1-64
PARAM_VALUE 0 ctx->cs_pending 16,4096-ptr_max
PARAM_VALUE 0 ctx->cs_sequence 1
PARAM_VALUE 0 ctx->dram_phys_mem.counter 0
PARAM_VALUE 0 ctx->handle 0-s32max
PARAM_VALUE 0 ctx->hdev 4096-ptr_max
PARAM_VALUE 0 ctx->hdev->compute_ctx_in_release 0
PARAM_VALUE 0 ctx->hdev->device_fini_pending 0
PARAM_VALUE 0 ctx->hdev->disabled 0
PARAM_VALUE 0 ctx->hdev->fpriv_list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->hdev->fpriv_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->hdev->fpriv_list_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->hdev->fpriv_list_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctx->hdev->is_compute_ctx_active 0
PARAM_VALUE 0 ctx->hdev->is_in_dram_scrub 0
PARAM_VALUE 0 ctx->hdev->reset_info.in_reset 0
PARAM_VALUE 0 ctx->hdev->reset_info.needs_reset 0
PARAM_VALUE 0 ctx->hw_block_list_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->hw_block_list_lock.first_waiter 0
PARAM_VALUE 0 ctx->hw_block_list_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctx->hw_block_list_lock.owner.counter 0
PARAM_VALUE 0 ctx->hw_block_mem_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->hw_block_mem_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->hw_block_mem_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->hw_block_mem_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->hw_block_mem_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.free_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.free_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.free_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.nodes_pool 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.outcome_map 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.used_list.next 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.used_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.used_list.prev 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.used_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctx->outcome_store.used_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->refcount.refcount.refs.counter 1
PARAM_VALUE 0 ctx->thread_ctx_switch_token.counter 1
PARAM_VALUE 0 ctx->thread_ctx_switch_wait_token 0
BUF_SIZE 0 ctx 20448
BUF_SIZE 0 ctx->cs_pending 0-34359738360
CAPPED_DATA 0 ctx->asid 1
DATA_SOURCE 0 ctx $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->fpriv_list_lock
TYPE_LOCK (struct hl_device)->fpriv_list_lock