Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/stream.c tbstream_dev_fops_read_iter() -> tbstream_dev_poll_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->in_hopid | 1-s32max |
| PARAM_VALUE | 0 | sdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sdev->lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | sdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sdev->out_hopid | 1-s32max |
| PARAM_VALUE | 0 | sdev->stream | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | r to_tbstream_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sdev->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbstream_dev)->lock |
drivers/thunderbolt/stream.c tbstream_dev_fops_write_iter() -> tbstream_dev_poll_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->in_hopid | 1-s32max |
| PARAM_VALUE | 0 | sdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sdev->lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | sdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sdev->out_hopid | 1-s32max |
| PARAM_VALUE | 0 | sdev->stream | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | r to_tbstream_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sdev->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tbstream_dev)->lock |
drivers/thunderbolt/stream.c tbstream_dev_send_close() -> tbstream_dev_poll_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->busy_poll | 1 |
| PARAM_VALUE | 0 | sdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sdev->users | 0 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 0 | sdev->tx_ring.prod | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| PARAM_COMPARE | 0 | sdev->tx_ring.cons | >= $0->tx_ring.prod |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sdev->lock | |
| TYPE_LOCK | (struct tbstream_dev)->lock |
drivers/thunderbolt/stream.c tbstream_dev_stop() -> tbstream_dev_poll_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->busy_poll | 1 |
| PARAM_VALUE | 0 | sdev->tx_ring.ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->ring | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &sdev->lock |