Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/sm_ftl.c sm_mark_block_bad() -> sm_write_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftl | 4096-ptr_max |
| PARAM_VALUE | 0 | ftl->block_size | 1-s32max |
| PARAM_VALUE | 0 | ftl->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftl->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ftl->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ftl->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ftl->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ftl->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ftl->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ftl->readonly | 0 |
| PARAM_VALUE | 0 | ftl->trans | 4096-ptr_max |
| PARAM_VALUE | 0 | ftl->zones | 4096-ptr_max |
| PARAM_VALUE | 0 | *ftl->cis_buffer | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | boffset | 0,512-2147483646 |
| PARAM_VALUE | 4 | buffer | 0 |
| PARAM_VALUE | 5 | oob | 304169322839322624 |
| BUF_SIZE | 0 | ftl | (-1),264,944 |
| BUF_SIZE | 0 | ftl | (-1),264,944 |
| CAPPED_DATA | 0 | ftl->cis_block | 1 |
| CAPPED_DATA | 1 | zone | 1 |
| CAPPED_DATA | 3 | boffset | 1 |
| DATA_SOURCE | 0 | ftl | $0 |
| DATA_SOURCE | 1 | zone | $1 |
| DATA_SOURCE | 2 | block | $2 |
| PARAM_COMPARE | 3 | boffset | < $0->block_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ftl->max_lba | |
| UNITS | 1 | zone | unit_array_size |
| UNITS | 3 | boffset | unit_byte |
| LOCK2 | 0 | &ftl->mutex | |
| HALF_LOCKED2 | &dev->lock | ||
| TYPE_LOCK | (struct sm_ftl)->mutex |
drivers/mtd/sm_ftl.c sm_write_block() -> sm_write_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftl | 4096-ptr_max |
| PARAM_VALUE | 0 | ftl->block_size | 1-s32max |
| PARAM_VALUE | 0 | ftl->cache_clean | 0 |
| PARAM_VALUE | 0 | ftl->cache_zone | 0-s32max |
| PARAM_VALUE | 0 | ftl->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftl->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ftl->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ftl->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ftl->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ftl->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftl->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ftl->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ftl->unstable | 0 |
| PARAM_VALUE | 0 | ftl->zones | 4096-ptr_max |
| PARAM_VALUE | 0 | *ftl->cis_buffer | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | zone | 0-s32max |
| PARAM_VALUE | 3 | boffset | 0,512-2147483646 |
| PARAM_VALUE | 5 | oob | 1075363059584933888 |
| PARAM_VALUE | 5 | oob->data_status | 0,255 |
| BUF_SIZE | 0 | ftl | (-1),264,944 |
| BUF_SIZE | 0 | ftl | (-1),264,944 |
| CAPPED_DATA | 3 | boffset | 1 |
| DATA_SOURCE | 0 | ftl | $0 |
| DATA_SOURCE | 1 | zone | $2 |
| DATA_SOURCE | 2 | block | $3 |
| PARAM_COMPARE | 3 | boffset | < $0->block_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ftl->max_lba | |
| UNITS | 3 | boffset | unit_byte |
| UNITS | 4 | buffer | unit_byte |
| LOCK2 | 0 | &ftl->mutex | |
| HALF_LOCKED2 | &dev->lock | ||
| TYPE_LOCK | (struct sm_ftl)->mutex |