Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi.c spi_maybe_optimize_message() -> __spi_optimize_message()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->defer_optimize_message | 0 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->pre_optimized | 0 |
| BUF_SIZE | 1 | msg->context | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | msg | $1 |
| STR_LEN | 0 | spi | (-1),8 |
| STR_LEN | 0 | spi | (-1),8 |
| STR_LEN | 1 | msg->spi | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | spi->controller->kworker->task->dl.pi_se->dl_runtime | |
| HALF_LOCKED2 | 0 | &spi->controller->bus_lock_mutex |
drivers/spi/spi.c spi_optimize_message() -> __spi_optimize_message()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->defer_optimize_message | 0 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| BUF_SIZE | 1 | msg | (-1),112 |
| BUF_SIZE | 1 | msg | (-1),112 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | msg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |