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
- drivers/accel/habanalabs/common/hw_queue.c, line 764
Smatch caller information:
drivers/accel/habanalabs/common/hw_queue.c hl_hw_queue_schedule_cs() -> cs_needs_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| CAPPED_DATA | 0 | cs | 1 |
| DATA_SOURCE | 0 | cs | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 0 | cs->encaps_sig_hdl_id | 0-u32max[u] |
| USER_DATA | 0 | cs->encaps_signals | 0-1 |
| USER_DATA | 0 | cs->skip_reset_on_timeout | 0-1 |
| USER_DATA | 0 | cs->staged_last | 0-1 |
| USER_DATA | 0 | cs->staged_sequence | 0-u64max |
| USER_DATA | 0 | cs->timeout_jiffies | 0-u32max[u] |
| USER_DATA | 0 | cs->timestamp | 0-1 |
| LOCK2 | &hdev->asic_specific->hw_queues_lock | ||
| LOCK2 | &hdev->cs_mirror_lock | ||
| TYPE_LOCK | (struct hl_device)->cs_mirror_lock |
drivers/accel/habanalabs/common/command_submission.c cs_handle_tdr() -> cs_needs_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| DATA_SOURCE | 0 | cs | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/habanalabs/common/command_submission.c cs_handle_tdr() -> cs_needs_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| CAPPED_DATA | 0 | &cs->mirror_node | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->cs_mirror_lock | ||
| TYPE_LOCK | (struct hl_device)->cs_mirror_lock |