Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/accel/habanalabs/common/memory.c vm_ctx_init_with_ranges() -> va_range_init()
| 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 | va_ranges | 4096-ptr_max |
| PARAM_VALUE | 2 | range_type | 0 |
| BUF_SIZE | 1 | va_ranges | 24 |
| DATA_SOURCE | 3 | start | $1 |
| DATA_SOURCE | 4 | end | $2 |
| DATA_SOURCE | 5 | page_size | $3 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hdev | unit_byte |
| UNITS | 3 | start | unit_byte |
| UNITS | 4 | end | unit_byte |
| UNITS | 5 | page_size | unit_byte |
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |
drivers/accel/habanalabs/common/memory.c vm_ctx_init_with_ranges() -> va_range_init()
| 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->pmmu_huge_range | 1-255 |
| PARAM_VALUE | 0 | hdev->reset_info.in_reset | 0 |
| PARAM_VALUE | 0 | hdev->reset_info.needs_reset | 0 |
| PARAM_VALUE | 1 | va_ranges | 4096-ptr_max |
| PARAM_VALUE | 2 | range_type | 1 |
| BUF_SIZE | 1 | va_ranges | 24 |
| DATA_SOURCE | 3 | start | $4 |
| DATA_SOURCE | 4 | end | $5 |
| DATA_SOURCE | 5 | page_size | $6 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hdev | unit_byte |
| UNITS | 3 | start | unit_byte |
| UNITS | 4 | end | unit_byte |
| UNITS | 5 | page_size | unit_byte |
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |
drivers/accel/habanalabs/common/memory.c vm_ctx_init_with_ranges() -> va_range_init()
| 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 | va_ranges | 4096-ptr_max |
| PARAM_VALUE | 2 | range_type | 2 |
| BUF_SIZE | 1 | va_ranges | 24 |
| DATA_SOURCE | 3 | start | $7 |
| DATA_SOURCE | 4 | end | $8 |
| DATA_SOURCE | 5 | page_size | $9 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hdev | unit_byte |
| UNITS | 3 | start | unit_byte |
| UNITS | 4 | end | unit_byte |
| UNITS | 5 | page_size | unit_byte |
| LOCK2 | &hdev->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock |