Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/memory.c memhash_node_export_get() -> get_vm_hash_node_locked()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->mem_hash_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->mem_hash_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->mem_hash_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->mem_hash_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->mem_hash_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->mem_hash_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->mem_hash_lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &ctx->mem_hash_lock 1
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 vaddr $1
USER_DATA 1 vaddr 0-u64max[u]
LOCK2 0 &ctx->mem_hash_lock
TYPE_LOCK (struct hl_ctx)->mem_hash_lock

drivers/accel/habanalabs/common/memory.c unmap_device_va() -> get_vm_hash_node_locked()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->hdev->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 ctx->mem_hash_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->mem_hash_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctx->mem_hash_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctx->mem_hash_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctx->mem_hash_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctx->mem_hash_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctx->mem_hash_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 ctx->cs_pending (-1)-s32max
CAPPED_DATA 0 &ctx->mem_hash_lock 1
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 vaddr 0-u64max[u]
UNITS 1 vaddr unit_byte
LOCK2 0 &ctx->mem_hash_lock
TYPE_LOCK (struct hl_ctx)->mem_hash_lock