Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/misc/mei/bus.c, line 115
- drivers/misc/mei/client.c, line 516
- drivers/misc/mei/interrupt.c, line 121
- drivers/misc/mei/main.c, line 380
Smatch caller information:
drivers/misc/mei/client.c mei_cl_enqueue_ctrl_wr_cb() -> mei_cl_alloc_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | cl->dev->me_clients_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | cl->dev->me_clients_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | cl->dev->ops->pg_state | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->dev->parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cl->me_cl->props.protocol_version | 0,2 |
| PARAM_VALUE | 1 | length | 0-u32max |
| PARAM_VALUE | 2 | fop_type | 0,2-8 |
| BUF_SIZE | 0 | cl | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cl | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | cl | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| DATA_SOURCE | 1 | length | $1 [m] |
| DATA_SOURCE | 2 | fop_type | $2 |
| DATA_SOURCE | 3 | fp | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | length | 1-1000000000 |
| UNITS | 0 | cl | unit_byte |
| UNITS | 1 | length | unit_byte |
| HALF_LOCKED2 | &bus->device_lock |
drivers/misc/mei/bus.c __mei_cl_send_timeout() -> mei_cl_alloc_cb()
| 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->tx_queue_limit | 1-255 |
| PARAM_VALUE | 0 | cl->me_cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->me_cl->props.protocol_version | 0,2 |
| PARAM_VALUE | 0 | cl->state | 3 |
| PARAM_VALUE | 0 | cl->tx_cb_queued | 0-254 |
| PARAM_VALUE | 1 | length | 0-u32max |
| PARAM_VALUE | 2 | fop_type | 1 |
| PARAM_VALUE | 3 | fp | 0 |
| CAPPED_DATA | 0 | cl->tx_cb_queued | 1 |
| CAPPED_DATA | 1 | length | 1 |
| CAPPED_DATA | 1 | length | 1 |
| DATA_SOURCE | 0 | cl | $0 |
| DATA_SOURCE | 1 | length | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | &bus->device_lock | ||
| HALF_LOCKED2 | &bus->cl_bus_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mei_device)->device_lock |
drivers/misc/mei/interrupt.c mei_cl_irq_read_msg() -> mei_cl_alloc_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->me_cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->me_cl->props.fixed_address | 1-255 |
| PARAM_VALUE | 1 | length | 0-u32max |
| PARAM_VALUE | 2 | fop_type | 0 |
| DATA_SOURCE | 0 | cl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->device_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/misc/mei/main.c mei_write() -> mei_cl_alloc_cb()
| 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->dev->tx_queue_limit | 1-255 |
| PARAM_VALUE | 0 | cl->me_cl | 4096-ptr_max |
| PARAM_VALUE | 0 | cl->state | 3 |
| PARAM_VALUE | 0 | cl->tx_cb_queued | 0-254 |
| PARAM_VALUE | 1 | length | 1-1000000000,2147479552 |
| PARAM_VALUE | 2 | fop_type | 1 |
| PARAM_VALUE | 3 | fp | 4096-ptr_max |
| PARAM_VALUE | 3 | fp->f_op | 4096-ptr_max |
| PARAM_VALUE | 3 | fp->f_op->write | 1-u64max |
| PARAM_VALUE | 3 | fp->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | cl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cl | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | cl->tx_cb_queued | 1 |
| CAPPED_DATA | 1 | length | 1 |
| CAPPED_DATA | 1 | length | 1 |
| DATA_SOURCE | 1 | length | $2 |
| DATA_SOURCE | 3 | fp | $0 |
| BIT_INFO | 3 | fp->f_mode | 0x40002,0xffffffffffffffff |
| NOSPEC | 1 | length | |
| USER_DATA | 1 | length | 1-1000000000[c] |
| LOCK2 | &dev->device_lock | ||
| TYPE_LOCK | (struct mei_device)->device_lock |