Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/accel/habanalabs/common/command_buffer.c
- drivers/accel/habanalabs/common/command_submission.c
- drivers/accel/habanalabs/gaudi/gaudi.c
- drivers/accel/habanalabs/goya/goya.c
Smatch caller information:
drivers/accel/habanalabs/common/command_buffer.c hl_cb_destroy() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| DATA_SOURCE | 0 | mmg | $0 |
| DATA_SOURCE | 1 | handle | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | handle | 0-u64max[u] |
| UNITS | 1 | handle | unit_byte |
| HALF_LOCKED2 | &hdev->fpriv_list_lock |
drivers/accel/habanalabs/common/command_buffer.c hl_cb_info() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| DATA_SOURCE | 0 | mmg | $0 |
| DATA_SOURCE | 1 | handle | $1 |
| USER_DATA | 1 | handle | 0-u64max[u] |
drivers/accel/habanalabs/common/command_buffer.c hl_cb_kernel_create() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1152921504606846976-1152930300699865088,9223372036854775808-9223380832947793920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->fpriv_list_lock |
drivers/accel/habanalabs/gaudi/gaudi.c gaudi_parse_cb_mmu() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1152921504606846976-1152930300699865088,9223372036854775808-9223380832947793920 |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |
drivers/accel/habanalabs/gaudi/gaudi.c gaudi_parse_cb_no_mmu() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1152921504606846976-1152930300699865088,9223372036854775808-9223380832947793920 |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |
drivers/accel/habanalabs/common/command_submission.c _hl_interrupt_ts_reg_ioctl() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| USER_DATA | 1 | handle | 0-u64max[u] |
| LOCK2 | &ctx->ts_reg_lock | ||
| TYPE_LOCK | (struct hl_ctx)->ts_reg_lock |
drivers/accel/habanalabs/common/command_submission.c _hl_interrupt_wait_ioctl() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| USER_DATA | 1 | handle | 0-u64max[u] |
drivers/accel/habanalabs/common/command_submission.c get_cb_from_cs_chunk() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| DATA_SOURCE | 0 | mmg | $1 |
| USER_DATA | 1 | handle | 0-u64max[u] |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |
drivers/accel/habanalabs/goya/goya.c goya_parse_cb_mmu() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1152921504606846976-1152930300699865088,9223372036854775808-9223380832947793920 |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |
drivers/accel/habanalabs/goya/goya.c goya_parse_cb_no_mmu() -> hl_cb_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmg | 4096-ptr_max |
| PARAM_VALUE | 1 | handle | 1152921504606846976-1152930300699865088,9223372036854775808-9223380832947793920 |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |