Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/platform/surface/aggregator/ssh_packet_layer.c
- include/linux/surface_aggregator/serial_hub.h, line 673
Smatch caller information:
drivers/platform/surface/aggregator/ssh_request_layer.c ssh_request_put() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctrl->lock |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_acknowledge() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->data.ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ptl->tx.packet_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ptl->tx.packet_wq.head.prev->next->next | 4096-ptr_max |
| DATA_SOURCE | 0 | packet | r ssh_ptl_ack_pop |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_acknowledge() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->data.ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ptl->tx.packet_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ptl->tx.packet_wq.head.prev->next->next | 4096-ptr_max |
| DATA_SOURCE | 0 | packet | r ssh_ptl_ack_pop |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_pending_remove() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ptl->pending.lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | packet | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctrl->lock |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_queue_remove() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops->complete | 0,4096-ptr_max |
| PARAM_VALUE | 0 | packet->ptl->queue.lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | packet | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_send_ack() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->data.ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops | 1778872146929274880 |
| PARAM_VALUE | 0 | packet->ops->complete | 0 |
| PARAM_VALUE | 0 | packet->ops->release | 8050378187021606912 |
| PARAM_VALUE | 0 | packet->priority | 32 |
| PARAM_VALUE | 0 | packet->ptl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | packet->timestamp | s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_send_nak() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->data.ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops | 1778872146929274880 |
| PARAM_VALUE | 0 | packet->ops->complete | 0 |
| PARAM_VALUE | 0 | packet->ops->release | 8050378187021606912 |
| PARAM_VALUE | 0 | packet->priority | 16 |
| PARAM_VALUE | 0 | packet->ptl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | packet->timestamp | s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_shutdown() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops->complete | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctrl->lock | ||
| TYPE_LOCK | (struct ssam_controller)->lock |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_shutdown() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops->complete | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctrl->lock | ||
| TYPE_LOCK | (struct ssam_controller)->lock |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_timeout_reap() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops->complete | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/surface/aggregator/ssh_packet_layer.c ssh_ptl_tx_threadfn() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops->complete | 0,4096-ptr_max |
| CAPPED_DATA | 0 | packet | 1 |
| DATA_SOURCE | 0 | packet | r ssh_ptl_tx_next |
| NOCHECK_CALL |
drivers/platform/surface/aggregator/controller.c ssh_request_put() -> ssh_packet_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | packet | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->data.len | 0-9223372036854775807 |
| PARAM_VALUE | 0 | packet->data.ptr | 24,4096-ptr_max |
| PARAM_VALUE | 0 | packet->ops | 5474566203574042624 |
| PARAM_VALUE | 0 | packet->pending_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->pending_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->queue_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->queue_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | packet->state | 0,1024,1536 |
| PARAM_VALUE | 0 | packet->timestamp | s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |