Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/accel/habanalabs/common/hw_queue.c ext_queue_sanity_checks() -> queue_free_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | queue_len | 4096 |
| DATA_SOURCE | 0 | q | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->asic_specific->hw_queues_lock | ||
| HALF_LOCKED2 | &hdev->asic_specific->hw_queues_lock |
drivers/accel/habanalabs/common/hw_queue.c hw_queue_sanity_checks() -> queue_free_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | queue_len | 4096 |
| DATA_SOURCE | 0 | q | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &hdev->asic_specific->hw_queues_lock |
drivers/accel/habanalabs/common/hw_queue.c int_queue_sanity_checks() -> queue_free_slots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | queue_len | 1-u16max |
| DATA_SOURCE | 0 | q | $1 |
| PREEMPT_ADD | |||
| LOCK2 | &hdev->asic_specific->hw_queues_lock |