Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-writecache.c init_memory() -> write_original_sector_seq_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->entries | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->n_blocks | 1-140737488355327 |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | original_sector | u64max |
| PARAM_VALUE | 3 | seq_count | u64max |
| DATA_SOURCE | 0 | wc | $0 |
| NOCHECK_CALL |
drivers/md/dm-writecache.c writecache_bio_copy_ssd() -> write_original_sector_seq_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->error | 0 |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wc->pmem_mode | 0 |
| PARAM_VALUE | 0 | wc->tree.rb_node | 1-u64max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| DATA_SOURCE | 1 | e | r writecache_pop_from_freelist |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | original_sector | unit_byte |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &wc->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_writecache)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c writecache_map_write() -> write_original_sector_seq_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->error | 0 |
| PARAM_VALUE | 0 | wc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wc->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| DATA_SOURCE | 1 | e | r writecache_pop_from_freelist |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | original_sector | unit_byte |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &wc->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_writecache)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |