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/gaudi/gaudi.c, line 1512
Smatch caller information:
drivers/accel/habanalabs/gaudi/gaudi.c gaudi_collective_wait_create_job() -> cs_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->completed | 0 |
| PARAM_VALUE | 0 | cs->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cs->debugfs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->debugfs_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->encaps_signals | 0-1 |
| PARAM_VALUE | 0 | cs->signal_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->signal_fence->completion.done | 0 |
| PARAM_VALUE | 0 | cs->skip_reset_on_timeout | 0-1 |
| PARAM_VALUE | 0 | cs->submitted | 0 |
| PARAM_VALUE | 0 | cs->timeout_jiffies | 0-u32max |
| PARAM_VALUE | 0 | cs->timestamp | 0-1 |
| PARAM_VALUE | 0 | cs->type | 1-3 |
| DATA_SOURCE | 0 | cs | $2 |
| 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-u32max[u] |
| USER_DATA | 0 | cs->timestamp | 0-1 |
drivers/accel/habanalabs/common/command_submission.c cs_ioctl_default() -> cs_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->completed | 0 |
| PARAM_VALUE | 0 | cs->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cs->debugfs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->debugfs_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->encaps_signals | 0-1 |
| PARAM_VALUE | 0 | cs->jobs_in_queue_cnt | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->refcount.refcount.refs.counter | s32min-s32max |
| 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_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-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_create_jobs() -> cs_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->completed | 0 |
| PARAM_VALUE | 0 | cs->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cs->debugfs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->debugfs_list.prev | 4096-ptr_max |
| 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-u32max |
| PARAM_VALUE | 0 | cs->timestamp | 0-1 |
| PARAM_VALUE | 0 | cs->type | 1-3 |
| DATA_SOURCE | 0 | cs | $2 |
| 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-u32max[u] |
| USER_DATA | 0 | cs->timestamp | 0-1 |
drivers/accel/habanalabs/common/command_submission.c hl_cs_rollback_all() -> cs_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| CAPPED_DATA | 0 | &cs->mirror_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/accel/habanalabs/common/command_submission.c staged_cs_get() -> cs_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cs | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->completed | 0 |
| PARAM_VALUE | 0 | cs->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->ctx->hdev->hl_debugfs.cs_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cs->debugfs_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cs->debugfs_list.prev | 4096-ptr_max |
| 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->staged_first | 0-1 |
| PARAM_VALUE | 0 | cs->staged_last | 0 |
| PARAM_VALUE | 0 | cs->submitted | 0 |
| PARAM_VALUE | 0 | cs->timeout_jiffies | 0-u32max |
| PARAM_VALUE | 0 | cs->timestamp | 0-1 |
| PARAM_VALUE | 0 | cs->type | 0 |
| DATA_SOURCE | 0 | cs | $1 |
| FUZZY_MAX | 0 | cs->staged_first | 1 |
| HARD_MAX | 0 | cs->staged_first | 1 |
| NOCHECK_CALL | |||
| 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_first | 0-1 |
| USER_DATA | 0 | cs->staged_last | 0 |
| USER_DATA | 0 | cs->staged_sequence | 0-u64max |
| USER_DATA | 0 | cs->timeout_jiffies | 0-u32max[u] |
| USER_DATA | 0 | cs->timestamp | 0-1 |
| HALF_LOCKED2 | &hpriv->restore_phase_mutex |