Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/accel/habanalabs/common/command_submission.c, line 1005
- drivers/accel/habanalabs/common/context.c, line 355
Smatch caller information:
drivers/accel/habanalabs/common/context.c hl_ctx_get_fence_locked() -> hl_fence_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctx->cs_lock | ||
| TYPE_LOCK | (struct hl_ctx)->cs_lock |
drivers/accel/habanalabs/common/command_submission.c allocate_cs() -> hl_fence_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | fence->completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | fence->completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fence->completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->error | 0 |
| PARAM_VALUE | 0 | fence->refcount.refcount.refs.counter | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ctx->cs_lock | ||
| TYPE_LOCK | (struct hl_ctx)->cs_lock |