Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/sm_ftl.c sm_cache_flush_work() -> sm_cache_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftl | 4096-ptr_max |
| 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.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 |
| CAPPED_DATA | 0 | &ftl->mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &ftl->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sm_ftl)->mutex |
drivers/mtd/sm_ftl.c sm_flush() -> sm_cache_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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.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 |
| BUF_SIZE | 0 | ftl | 264,944 |
| BUF_SIZE | 0 | ftl | 264,944 |
| CAPPED_DATA | 0 | &ftl->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | 0 | &ftl->mutex | |
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock | ||
| TYPE_LOCK | (struct sm_ftl)->mutex |
drivers/mtd/sm_ftl.c sm_release() -> sm_cache_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftl | 4096-ptr_max |
| PARAM_VALUE | 0 | ftl->flush_work.lockdep_map->name | 0-255 |
| 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.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->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | ftl->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | ftl->timer.function | 0 |
| BUF_SIZE | 0 | ftl | 264,944 |
| BUF_SIZE | 0 | ftl | 264,944 |
| CAPPED_DATA | 0 | &ftl->flush_work | 1 |
| CAPPED_DATA | 0 | &ftl->mutex | 1 |
| CAPPED_DATA | 0 | &ftl->timer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| LOCK2 | 0 | &ftl->mutex | |
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | global &mtd_table_mutex | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock | ||
| TYPE_LOCK | (struct sm_ftl)->mutex |
drivers/mtd/sm_ftl.c sm_write() -> sm_cache_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftl | 4096-ptr_max |
| 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.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->readonly | 0 |
| PARAM_VALUE | 0 | ftl->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | ftl->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | ftl->timer.function | 0 |
| PARAM_VALUE | 0 | ftl->zone_count | (-2147483647)-s32max |
| PARAM_VALUE | 0 | *ftl->cis_buffer | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | ftl | 264,944 |
| BUF_SIZE | 0 | ftl | 264,944 |
| CAPPED_DATA | 0 | ftl->zone_count | 1 |
| CAPPED_DATA | 0 | &ftl->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ftl->max_lba | |
| LOCK2 | &dev->lock | ||
| LOCK2 | 0 | &ftl->mutex | |
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock | ||
| TYPE_LOCK | (struct sm_ftl)->mutex |