Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/spi-nor/core.c spi_nor_erase() -> spi_nor_prep_and_lock_pe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | r mtd_to_spi_nor |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | s64min-(-2),0-s64max |
| USER_DATA | 2 | len | 1-u64max |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/spi-nor/core.c spi_nor_write() -> spi_nor_prep_and_lock_pe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | r mtd_to_spi_nor |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | start | 0-5294967294[c] |
| HOST_DATA | 2 | len | 0-u64max[c] |
| USER_DATA | 1 | start | 0-s64max |
| USER_DATA | 2 | len | 0-u64max[c] |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &mbd->lock |