Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/dm-pcache/cache.h
- drivers/md/dm-pcache/cache_gc.c
- drivers/md/dm-pcache/cache_key.c
- drivers/md/dm-pcache/cache_writeback.c
Smatch caller information:
drivers/md/dm-pcache/cache_key.c cache_key_data_crc() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 4096-ptr_max |
| PARAM_VALUE | 0 | pos->cache_seg | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cache_subtree->tree_lock | ||
| HALF_LOCKED2 | &kset->kset_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-pcache/cache_key.c cache_replay() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 6157038726018416640 |
| PARAM_VALUE | 0 | pos->cache_seg | 4096-ptr_max |
| BUF_SIZE | 0 | pos | 16 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-pcache/cache_key.c cache_verify_dirty_tail() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 5349008258904653824 |
| PARAM_VALUE | 0 | pos->cache_seg | 4096-ptr_max |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-pcache/cache_key.c get_key_head_addr() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 4096-ptr_max |
| PARAM_VALUE | 0 | pos->cache_seg | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache->key_head_lock | ||
| LOCK2 | &kset->kset_lock | ||
| HALF_LOCKED2 | &cache_subtree->tree_lock | ||
| TYPE_LOCK | (struct pcache_cache)->key_head_lock | ||
| TYPE_LOCK | (struct pcache_cache_kset)->kset_lock |
drivers/md/dm-pcache/cache_writeback.c cache_key_writeback() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 4096-ptr_max |
| PARAM_VALUE | 0 | pos->cache_seg | 4096-ptr_max |
| BUF_SIZE | 0 | pos | 16 |
| LOCK2 | &cache->writeback_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache)->writeback_lock |
drivers/md/dm-pcache/cache_writeback.c is_cache_clean() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 4847649631839784960 |
| DATA_SOURCE | 0 | pos | $1 |
| LOCK2 | &cache->writeback_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache)->writeback_lock |
drivers/md/dm-pcache/cache_gc.c need_gc() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 269650705525288960 |
| DATA_SOURCE | 0 | pos | $1 |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-pcache/cache_gc.c need_gc() -> cache_pos_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pos | 8133516313690644480 |
| DATA_SOURCE | 0 | pos | $2 |
| HALF_LOCKED2 | &pool->lock |