Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/spi-nor/core.c spi_nor_lock_device() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| USER_DATA | 0 | nor->rww.used_banks | 0-u32max[c][u] |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_lock_rdst() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| BUF_SIZE | 0 | nor->bouncebuf | (-1),4096 |
| BUF_SIZE | 0 | nor->dev | (-1),1616 |
| BUF_SIZE | 0 | nor->mtd.name | s32min,(-10),(-1)-s32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| USER_DATA | 0 | nor->rww.used_banks | 0-u32max[c][u] |
| USER_DATA | 0 | *nor->bouncebuf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | nor->sfdp->num_dwords | |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_prep_and_lock() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_prep_and_lock_pe() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_prep_and_lock_rd() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/spi-nor/core.c spi_nor_scan() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 0,8-u32max |
| BUF_SIZE | 0 | nor | (-1),2848 |
| BUF_SIZE | 0 | nor | (-1),2848 |
| BUF_SIZE | 0 | nor->bouncebuf | 4096 |
| BUF_SIZE | 0 | nor->controller_ops | (-1),56 |
| BUF_SIZE | 0 | nor->dev | (-1),1616 |
| BUF_SIZE | 0 | nor->info | (-1),56 |
| BUF_SIZE | 0 | nor->mtd.name | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 0 | nor->priv | (-1),16 |
| BUF_SIZE | 0 | nor->spimem | (-1),32 |
| DATA_SOURCE | 0 | nor | $0 |
| FUZZY_MAX | 0 | nor->flags | 0 |
| TERMINATED | 0 | nor->bouncebuf->node.name | 1 |
| MEM_ZERO | 0 | nor | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->smadr | 0-4294967295[c] |
| HOST_DATA | 0 | nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->para | 0-255 |
| HOST_DATA | 0 | nor->spimem->spi->controller->dev.driver_data->ctx.modulctrl | 0-4294967291[c] |
| HOST_DATA | 0 | nor->spimem->spi->controller->dev.driver_data->para | 0-255 |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | nor->sfdp->num_dwords |
drivers/mtd/spi-nor/core.c spi_nor_unlock_and_unprep() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| USER_DATA | 0 | *nor->bouncebuf | 0-255 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_unlock_and_unprep_pe() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| USER_DATA | 0 | nor->rww.used_banks | 0-u32max[c][u] |
| USER_DATA | 0 | *nor->bouncebuf | 0-255 |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_unlock_and_unprep_rd() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| USER_DATA | 0 | nor->rww.used_banks | 0-u32max[c][u] |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/spi-nor/core.c spi_nor_unlock_device() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| USER_DATA | 0 | nor->rww.used_banks | 0-u32max[c][u] |
| USER_DATA | 0 | *nor->bouncebuf | 0-255 |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &ftl->mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/core.c spi_nor_unlock_rdst() -> spi_nor_use_parallel_locking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| BUF_SIZE | 0 | nor->bouncebuf | (-1),4096 |
| BUF_SIZE | 0 | nor->dev | (-1),1616 |
| BUF_SIZE | 0 | nor->mtd.name | s32min,(-10),(-1)-s32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | nor->rww.used_banks | 0-u32max[c] |
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| USER_DATA | 0 | nor->rww.used_banks | 0-u32max[c][u] |
| USER_DATA | 0 | *nor->bouncebuf | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | nor->sfdp->num_dwords | |
| HALF_LOCKED2 | &master->master.chrdev_lock |