Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/habanalabs/common/memory.c add_va_block() -> add_va_block_locked()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->mmu_invalidate_cache 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->mmu_invalidate_cache_range 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->rreg 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->wreg 4096-ptr_max
PARAM_VALUE 0 hdev->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 1 va_list 4096-ptr_max
BUF_SIZE 0 hdev->internal_cb_pool (-1),120
DATA_SOURCE 0 hdev $0
DATA_SOURCE 2 start $2
DATA_SOURCE 3 end $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 start 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 hdev->asic_prop.completion_queues_count
NO_OVERFLOW_SIMPLE 0 hdev->asic_prop.max_pending_cs
UNITS 0 hdev unit_byte
UNITS 2 start unit_byte
UNITS 3 end unit_byte
LOCK2 &va_range->lock
HALF_LOCKED2 0 &hdev->mmu_lock
TYPE_LOCK (struct hl_va_range)->lock

drivers/accel/habanalabs/common/memory.c get_va_block() -> add_va_block_locked()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->rreg 4096-ptr_max
PARAM_VALUE 0 hdev->asic_funcs->wreg 4096-ptr_max
PARAM_VALUE 1 va_list 4096-ptr_max
PARAM_VALUE 2 start 0-18446744073709551614
BUF_SIZE 0 hdev->internal_cb_pool (-1),120
CAPPED_DATA 0 hdev->asic_prop.dmmu.start_addr 1
CAPPED_DATA 2 start 1
CAPPED_DATA 2 start 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hdev->asic_prop.completion_queues_count
NO_OVERFLOW_SIMPLE 0 hdev->asic_prop.max_pending_cs
UNITS 0 hdev unit_byte
UNITS 2 start unit_byte
UNITS 3 end unit_byte
LOCK2 &va_range->lock
TYPE_LOCK (struct hl_va_range)->lock