Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/accel/habanalabs/common/debugfs.c, line 2156 (as a function)
- drivers/accel/habanalabs/common/habanalabs.h, line 4191 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/accel/habanalabs/common/command_submission.c cs_ioctl_default() -> hl_debugfs_add_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->completed | 0 |
| PARAM_VALUE | 0 | cs->encaps_signals | 0-1 |
| PARAM_VALUE | 0 | cs->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cs->skip_reset_on_timeout | 0-1 |
| PARAM_VALUE | 0 | cs->submitted | 0 |
| PARAM_VALUE | 0 | cs->timeout_jiffies | 0-4294967295 |
| PARAM_VALUE | 0 | cs->timestamp | 0-1 |
| PARAM_VALUE | 0 | cs->type | 0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | cs->encaps_signals | 0-1 |
| USER_DATA | 0 | cs->skip_reset_on_timeout | 0-1 |
| USER_DATA | 0 | cs->timeout_jiffies | 0-4294967295[u] |
| USER_DATA | 0 | cs->timestamp | 0-1 |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |
drivers/accel/habanalabs/common/command_submission.c cs_ioctl_signal_wait() -> hl_debugfs_add_cs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->completed | 0 |
| PARAM_VALUE | 0 | cs->encaps_signals | 0-1 |
| PARAM_VALUE | 0 | cs->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cs->skip_reset_on_timeout | 0-1 |
| PARAM_VALUE | 0 | cs->submitted | 0 |
| PARAM_VALUE | 0 | cs->timeout_jiffies | 0-4294967295 |
| PARAM_VALUE | 0 | cs->timestamp | 0-1 |
| PARAM_VALUE | 0 | cs->type | 1-3 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | cs->encaps_signals | 0-1 |
| USER_DATA | 0 | cs->skip_reset_on_timeout | 0-1 |
| USER_DATA | 0 | cs->timeout_jiffies | 0-4294967295[u] |
| USER_DATA | 0 | cs->timestamp | 0-1 |