Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/nhi.c __tb_ring_enqueue() -> ring_write_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->queue.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->queue.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->running | 1 |
| BUF_SIZE | 0 | ring | (-1),360 |
| BUF_SIZE | 0 | ring | (-1),360 |
| DATA_SOURCE | 0 | ring | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ring->lock | |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dt->lock | ||
| HALF_LOCKED2 | &sdev->lock | ||
| TYPE_LOCK | (struct tb_ring)->lock |
drivers/thunderbolt/nhi.c ring_work() -> ring_write_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->running | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ring->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb_ring)->lock |