Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-writecache.c writecache_flush_thread() -> writecache_discard()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wc | 4096-ptr_max |
| PARAM_VALUE | 0 | wc->flush_list.head->bi_next | 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 |
| DATA_SOURCE | 0 | wc | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | 0 | &wc->lock | |
| TYPE_LOCK | (struct dm_writecache)->lock |
drivers/md/dm-writecache.c writecache_map_discard() -> writecache_discard()
| 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 | 0 | wc->pmem_mode | 1 |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| BUF_SIZE | 0 | wc | 16,40-s32max |
| DATA_SOURCE | 0 | wc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | 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 |