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_check_lock_status_sr() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 2 | ofs | 8090794784282316800 |
| PARAM_VALUE | 3 | len | 7618437498961354752 |
| BUF_SIZE | 0 | nor | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nor | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | sr | 2 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| DATA_SOURCE | 1 | sr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *nor->bouncebuf | 0-255 |
| UNITS | 0 | nor | unit_array_size |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9121149283633500160 |
| PARAM_VALUE | 2 | ofs | 8856162260632240128 |
| PARAM_VALUE | 3 | len | 8627866649613946880 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 2462481238868078592 |
| PARAM_VALUE | 2 | ofs | 6991748399857201152 |
| PARAM_VALUE | 3 | len | 5010707911095640064 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9121149283633500160 |
| PARAM_VALUE | 2 | ofs | 8856162260632240128 |
| PARAM_VALUE | 3 | len | 8627866649613946880 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 2462481238868078592 |
| PARAM_VALUE | 2 | ofs | 6991748399857201152 |
| PARAM_VALUE | 3 | len | 5010707911095640064 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 2 | ofs | 3127490735725572096 |
| PARAM_VALUE | 3 | len | 3421834187211517952 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_lock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 2462481238868078592,9121149283633500160 |
| PARAM_VALUE | 2 | ofs | 8856162260632240128 |
| PARAM_VALUE | 3 | len | 8627866649613946880 |
| BUF_SIZE | 1 | sr | 2 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| BIT_INFO | 1 | sr | 0x220454a290489000,0x7ebcfdf3d6cbb000 |
| BIT_INFO | 1 | sr | 0x220454a290489000,0x7ebcfdf3d6cbb000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9140411187994533888 |
| PARAM_VALUE | 2 | ofs | 4639186363100688384 |
| PARAM_VALUE | 3 | len | 2290206929335054336 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9177581620081111040 |
| PARAM_VALUE | 2 | ofs | 5105061155582103552 |
| PARAM_VALUE | 3 | len | 6494913815721914368 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9140411187994533888 |
| PARAM_VALUE | 2 | ofs | 4639186363100688384 |
| PARAM_VALUE | 3 | len | 2290206929335054336 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9177581620081111040 |
| PARAM_VALUE | 2 | ofs | 5105061155582103552 |
| PARAM_VALUE | 3 | len | 6494913815721914368 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 2 | ofs | 3227808844085186560 |
| PARAM_VALUE | 3 | len | 237993512772739072 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/spi-nor/swp.c spi_nor_sr_unlock() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 16384-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 9140411187994533888,9177581620081111040 |
| PARAM_VALUE | 2 | ofs | 4639186363100688384 |
| PARAM_VALUE | 3 | len | 2290206929335054336 |
| BUF_SIZE | 1 | sr | 2 |
| BUF_SIZE | 1 | sr | 2 |
| DATA_SOURCE | 0 | nor | $0 |
| BIT_INFO | 1 | sr | 0x7e5941880802a000,0x7fdd53dfeb7fb000 |
| BIT_INFO | 1 | sr | 0x7e5941880802a000,0x7fdd53dfeb7fb000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/spi-nor/debugfs.c spi_nor_params_show() -> spi_nor_get_locked_range_sr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nor | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->flags | 2-u32max |
| PARAM_VALUE | 0 | nor->info | 4096-ptr_max |
| PARAM_VALUE | 0 | nor->params | 4096-ptr_max |
| PARAM_VALUE | 2 | ofs | 2722416177565814784 |
| PARAM_VALUE | 3 | len | 3655926118309326848 |
| BUF_SIZE | 0 | nor | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nor | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | sr | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | nor | unit_array_size |
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |