Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/ftl.c ftl_discardsect() -> set_bam_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part | 4096-ptr_max |
| PARAM_VALUE | 0 | part->EUNInfo | 4096-ptr_max |
| PARAM_VALUE | 0 | part->VirtualBlockMap | 4096-ptr_max |
| PARAM_VALUE | 1 | log_addr | 0-4294967294 |
| PARAM_VALUE | 2 | virt_addr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/ftl.c ftl_write() -> set_bam_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part | 4096-ptr_max |
| PARAM_VALUE | 0 | part->BlocksPerUnit | 1-u32max |
| PARAM_VALUE | 0 | part->EUNInfo | 4096-ptr_max |
| PARAM_VALUE | 0 | part->header.FormattedSize | 1-u32max |
| PARAM_VALUE | 0 | part->state | 1-u32max |
| PARAM_VALUE | 2 | virt_addr | 4294967294 |
| BUF_SIZE | 0 | part | 128,736,792,816,1000-s32max |
| BUF_SIZE | 0 | part | 128,736,792,816,1000-s32max |
| CAPPED_DATA | 0 | part->BlocksPerUnit | 1 |
| DATA_SOURCE | 0 | part | $0 |
| BIT_INFO | 0 | part->state | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/ftl.c ftl_write() -> set_bam_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part | 4096-ptr_max |
| PARAM_VALUE | 0 | part->BlocksPerUnit | 1-u32max |
| PARAM_VALUE | 0 | part->EUNInfo | 4096-ptr_max |
| PARAM_VALUE | 0 | part->VirtualBlockMap | 4096-ptr_max |
| PARAM_VALUE | 0 | part->header.FormattedSize | 1-u32max |
| PARAM_VALUE | 0 | part->mbd.mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | part->state | 1-u32max |
| PARAM_VALUE | 1 | log_addr | 0-4294967294 |
| PARAM_VALUE | 2 | virt_addr | 0 |
| BUF_SIZE | 0 | part | 128,736,792,816,1000-s32max |
| BUF_SIZE | 0 | part | 128,736,792,816,1000-s32max |
| CAPPED_DATA | 0 | part->BlocksPerUnit | 1 |
| DATA_SOURCE | 0 | part | $0 |
| BIT_INFO | 0 | part->state | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/ftl.c ftl_write() -> set_bam_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part | 4096-ptr_max |
| PARAM_VALUE | 0 | part->BlocksPerUnit | 1-u32max |
| PARAM_VALUE | 0 | part->EUNInfo | 4096-ptr_max |
| PARAM_VALUE | 0 | part->VirtualBlockMap | 4096-ptr_max |
| PARAM_VALUE | 0 | part->header.FormattedSize | 1-u32max |
| PARAM_VALUE | 0 | part->mbd.mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | part->state | 1-u32max |
| PARAM_VALUE | 2 | virt_addr | 0-4294967294 |
| BUF_SIZE | 0 | part | 128,736,792,816,1000-s32max |
| BUF_SIZE | 0 | part | 128,736,792,816,1000-s32max |
| CAPPED_DATA | 0 | part->BlocksPerUnit | 1 |
| CAPPED_DATA | 2 | virt_addr | 1 |
| DATA_SOURCE | 0 | part | $0 |
| PARAM_COMPARE | 0 | part->header.FormattedSize | > $2 |
| PARAM_COMPARE | 2 | virt_addr | < $0->header.FormattedSize |
| BIT_INFO | 0 | part->state | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |