Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/accel/habanalabs/common/command_buffer.c hl_cb_mmap_mem_alloc() -> hl_cb_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hdev | unit_byte |
| UNITS | 1 | cb_size | unit_byte |
drivers/accel/habanalabs/common/command_buffer.c hl_cb_pool_init() -> hl_cb_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->asic_prop.cb_pool_cb_cnt | 1-u32max |
| PARAM_VALUE | 0 | hdev->cb_pool.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cb_pool.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cb_pool.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cb_pool.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cb_pool.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | ctx_id | 0 |
| PARAM_VALUE | 3 | internal_cb | 0 |
| DATA_SOURCE | 0 | hdev | $0 |
| UNITS | 1 | cb_size | unit_byte |