Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-writecache.c clear_seq_count() -> memory_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| DATA_SOURCE | 1 | e | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wc->stats.discards | 0-u64max[c] |
| USER_DATA | 0 | wc->stats.discards | 0-u64max[c][u] |
| LOCK2 | 0 | &wc->lock | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_writecache)->lock |
drivers/md/dm-writecache.c write_original_sector_seq_count() -> memory_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| DATA_SOURCE | 1 | e | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | 0 | &wc->lock |
drivers/md/dm-writecache.c writecache_flush_entry() -> memory_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| CAPPED_DATA | 0 | wc->seq_count | 1 |
| DATA_SOURCE | 0 | wc | $0 |
| DATA_SOURCE | 1 | e | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &wc->lock | |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_writecache)->lock |
drivers/md/dm-writecache.c writecache_free_entry() -> memory_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| BUF_SIZE | 0 | wc | (-1),16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| DATA_SOURCE | 1 | e | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wc->stats.discards | 0-u64max[c] |
| USER_DATA | 0 | wc->stats.discards | 0-u64max[c][u] |
| LOCK2 | 0 | &wc->lock | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_writecache)->lock |
drivers/md/dm-writecache.c writecache_resume() -> memory_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| PARAM_COMPARE | 0 | wc->data_device_sectors | == $0->dev->bdev->bd_nr_sectors |
| BIT_INFO | 0 | wc->tree | 0x0,0x7fffffffffffffff |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | 0 | &wc->lock | |
| TYPE_LOCK | (struct dm_writecache)->lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |