Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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 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->reset_info.in_reset 0
PARAM_VALUE 2 size 2097152,4294967296
PARAM_VALUE 3 hint_addr 0
PARAM_VALUE 5 range_type 0
PARAM_VALUE 6 flags 0
BUF_SIZE 0 hdev->internal_cb_pool (-1),120
DATA_SOURCE 0 hdev $0
DATA_SOURCE 2 size $3
DATA_SOURCE 5 range_type $2
HARD_MAX 2 size 4294967296
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 4 va_block_align unit_byte
HALF_LOCKED2 &hdev->fpriv_list_lock

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->vm.idr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 5 range_type 0-2
FUZZY_MAX 5 range_type 2
HARD_MAX 5 range_type 2
USER_DATA 3 hint_addr 0-u64max[u]
USER_DATA 6 flags 0-u32max[u]
UNITS 0 hdev unit_byte
UNITS 2 size unit_byte
UNITS 4 va_block_align unit_byte