Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/misc/mei/bus.c __mei_cl_recv() -> mei_cl_read_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->dev_state | 3,6 |
| PARAM_VALUE | 0 | cl->dev->device_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->device_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cl->dev->device_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cl->dev->ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->me_cl->props.protocol_version | 0,2 |
| PARAM_VALUE | 0 | cl->rd_completed_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | length | 6,12,14,16,20-21,24-25,28,31,37,44,152,310,32732,32768 |
| PARAM_VALUE | 2 | fp | 0 |
| BUF_SIZE | 0 | cl | (-1),608 |
| BUF_SIZE | 0 | cl | (-1),608 |
| DATA_SOURCE | 0 | cl | $0 |
| DATA_SOURCE | 1 | length | $2 |
| HARD_MAX | 1 | length | 32768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | &bus->device_lock | ||
| HALF_LOCKED2 | &bus->cl_bus_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| TYPE_LOCK | (struct mei_device)->device_lock |
drivers/misc/mei/bus.c mei_cl_bus_rx_work() -> mei_cl_read_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->me_cl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->state | 3 |
| PARAM_VALUE | 1 | length | 0-u32max |
| PARAM_VALUE | 2 | fp | 0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &bus->device_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mei_device)->device_lock |
drivers/misc/mei/bus.c mei_cldev_register_rx_cb() -> mei_cl_read_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->me_cl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->state | 3 |
| PARAM_VALUE | 1 | length | 0-u32max |
| PARAM_VALUE | 2 | fp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bus->device_lock | ||
| TYPE_LOCK | (struct mei_device)->device_lock |
drivers/misc/mei/main.c mei_poll() -> mei_cl_read_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->dev_state | 3 |
| PARAM_VALUE | 0 | cl->dev->device_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->device_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cl->dev->device_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cl->me_cl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->rd_completed_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->rx_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->rx_wait.head.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->rx_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->rx_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->rx_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->state | 3 |
| PARAM_VALUE | 1 | length | 0-u32max |
| PARAM_VALUE | 2 | fp | 4096-ptr_max |
| PARAM_VALUE | 2 | fp->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | cl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cl | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | fp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->device_lock | ||
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu | ||
| TYPE_LOCK | (struct mei_device)->device_lock |
drivers/misc/mei/main.c mei_read() -> mei_cl_read_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->dev_state | 3 |
| PARAM_VALUE | 0 | cl->dev->device_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->device_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cl->dev->device_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cl->dev->device_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cl->rd_completed_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | length | 1-1000000000,2147479552 |
| PARAM_VALUE | 2 | fp | 4096-ptr_max |
| PARAM_VALUE | 2 | fp->f_op | 4096-ptr_max |
| PARAM_VALUE | 2 | fp->f_op->read | 1-u64max |
| PARAM_VALUE | 2 | fp->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | cl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cl | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | length | $2 |
| DATA_SOURCE | 2 | fp | $0 |
| BIT_INFO | 2 | fp->f_flags | 0x0,0xffffffff |
| BIT_INFO | 2 | fp->f_mode | 0x20001,0xffffffff |
| USER_DATA | 1 | length | 1-1000000000 |
| LOCK2 | &dev->device_lock | ||
| TYPE_LOCK | (struct mei_device)->device_lock |