Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/mtd/spi-nor/swp.c spi_nor_get_locked_range_sr() -> spi_nor_get_min_prot_length_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| BUF_SIZE | 0 | nor | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nor | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| UNITS | 0 | nor | unit_array_size |
| HALF_LOCKED2 | &s->lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_min_prot_length_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_min_prot_length_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/spi-nor/debugfs.c spi_nor_locked_sectors_map_show() -> spi_nor_get_min_prot_length_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| BUF_SIZE | 0 | nor | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nor | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | nor | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/mtd/spi-nor/debugfs.c spi_nor_params_show() -> spi_nor_get_min_prot_length_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | nor | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nor | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | nor | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |