Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-pcache/cache_writeback.c last_kset_writeback() -> cache_encode_dirty_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->cache_info.n_segs | 1-u32max |
| PARAM_VALUE | 0 | cache->dirty_tail.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail.seg_off | 0 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cache->segments | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->wb_kset_onmedia_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->wb_kset_onmedia_buf->magic | 7451369025480052506 |
| PARAM_VALUE | 0 | cache->writeback_ctx.pending.counter | 0 |
| PARAM_VALUE | 0 | cache->writeback_errors.counter | 0 |
| PARAM_VALUE | 0 | cache->writeback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->writeback_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cache->writeback_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cache->writeback_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cache->writeback_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->writeback_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache->writeback_lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | cache->cache_info.n_segs | 1 |
| CAPPED_DATA | 0 | cache->wb_kset_onmedia_buf->crc | 1 |
| CAPPED_DATA | 0 | &cache->dirty_tail_lock | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &cache->dirty_tail_lock | |
| LOCK2 | 0 | &cache->writeback_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache)->dirty_tail_lock | ||
| TYPE_LOCK | (struct pcache_cache)->writeback_lock |
drivers/md/dm-pcache/cache_writeback.c writeback_ctx_end() -> cache_encode_dirty_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->backing_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->backing_dev->dm_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache->dirty_tail_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cache->writeback_ctx.ret | 0 |
| PARAM_VALUE | 0 | cache->writeback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->writeback_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cache->writeback_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cache->writeback_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cache->writeback_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->writeback_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache->writeback_lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | cache->writeback_ctx.advance | 1 |
| CAPPED_DATA | 0 | &cache->dirty_tail_lock | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &cache->dirty_tail_lock | |
| LOCK2 | 0 | &cache->writeback_lock | |
| TYPE_LOCK | (struct pcache_cache)->dirty_tail_lock | ||
| TYPE_LOCK | (struct pcache_cache)->writeback_lock |
drivers/md/dm-pcache/cache.c cache_tail_init() -> cache_encode_dirty_tail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->cache_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->cache_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->cache_dev->seg_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cache->cache_dev->seg_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cache->cache_dev->seg_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cache->cache_dev->seg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cache->cache_dev->seg_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cache->cache_info_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_tail.seg_off | 0 |
| PARAM_VALUE | 0 | cache->key_head.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->key_head.seg_off | 0 |
| PARAM_VALUE | 0 | cache->key_tail.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->key_tail.seg_off | 0 |
| PARAM_VALUE | 0 | cache->seg_map | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->segments | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 12160 |
| CAPPED_DATA | 0 | cache->cache_info.n_segs | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| BIT_INFO | 0 | cache->cache_info.flags | 0x0,0xfffffffd |
| NOCHECK_CALL |