Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/accel/habanalabs/common/context.c hl_get_compute_ctx() -> hl_ctx_get_unless_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->fpriv_list_lock | ||
| LOCK2 | &hpriv->ctx_lock | ||
| HALF_LOCKED2 | &s->lock | ||
| TYPE_LOCK | (struct hl_device)->fpriv_list_lock | ||
| TYPE_LOCK | (struct hl_fpriv)->ctx_lock |