Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/memory.c vm_ctx_init_with_ranges() -> hl_debugfs_add_ctx_mem_hash()

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.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->fpriv_list_lock.osq.tail.counter 0-s32max
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->mmu_disable 0
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->asid 0-64
PARAM_VALUE 1 ctx->cs_pending 16,4096-ptr_max
PARAM_VALUE 1 ctx->cs_sequence 1
PARAM_VALUE 1 ctx->dram_phys_mem.counter 0
PARAM_VALUE 1 ctx->handle 0-s32max
PARAM_VALUE 1 ctx->hdev 4096-ptr_max
PARAM_VALUE 1 ctx->hdev->compute_ctx_in_release 0
PARAM_VALUE 1 ctx->hdev->device_fini_pending 0
PARAM_VALUE 1 ctx->hdev->disabled 0
PARAM_VALUE 1 ctx->hdev->fpriv_list_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ctx->hdev->fpriv_list_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctx->hdev->fpriv_list_lock.wait_lock.owner (-1)
PARAM_VALUE 1 ctx->hdev->fpriv_list_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 ctx->hdev->is_compute_ctx_active 0
PARAM_VALUE 1 ctx->hdev->is_in_dram_scrub 0
PARAM_VALUE 1 ctx->hdev->mmu_disable 0
PARAM_VALUE 1 ctx->hdev->reset_info.in_reset 0
PARAM_VALUE 1 ctx->hdev->reset_info.needs_reset 0
PARAM_VALUE 1 ctx->hw_block_list_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->hw_block_list_lock.first_waiter 0
PARAM_VALUE 1 ctx->hw_block_list_lock.magic 4096-ptr_max
PARAM_VALUE 1 ctx->hw_block_list_lock.owner.counter 0
PARAM_VALUE 1 ctx->hw_block_mem_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->hw_block_mem_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->hw_block_mem_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->hw_block_mem_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->hw_block_mem_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->mem_hash 4096-ptr_max
PARAM_VALUE 1 ctx->mem_hash_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->mem_hash_lock.first_waiter 0
PARAM_VALUE 1 ctx->mem_hash_lock.magic 4096-ptr_max
PARAM_VALUE 1 ctx->mem_hash_lock.osq.tail.counter 0
PARAM_VALUE 1 ctx->mem_hash_lock.owner.counter 0
PARAM_VALUE 1 ctx->outcome_store.free_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.free_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.free_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.free_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.free_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.nodes_pool 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.outcome_map 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.used_list.next 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.used_list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.used_list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.used_list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->outcome_store.used_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->refcount.refcount.refs.counter 1
PARAM_VALUE 1 ctx->thread_ctx_switch_token.counter 1
PARAM_VALUE 1 ctx->thread_ctx_switch_wait_token 0
PARAM_VALUE 1 ctx->va_range 4096-ptr_max
BUF_SIZE 1 ctx->cs_pending 0-s32max
CAPPED_DATA 1 ctx->asid 1
DATA_SOURCE 1 ctx $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 &hdev->fpriv_list_lock
TYPE_LOCK (struct hl_device)->fpriv_list_lock