Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-pcache/cache_key.c cache_key_decode() -> cache_data_crc_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache->data_heads | (-1),16 |
| BUF_SIZE | 0 | cache->ksets | (-1),5408 |
| CAPPED_DATA | 0 | cache->cache_info.n_segs | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| NO_OVERFLOW_SIMPLE | 0 | cache->n_ksets | |
| NO_OVERFLOW_SIMPLE | 0 | cache->req_key_tree.cache->n_ksets | |
| NO_OVERFLOW_SIMPLE | 0 | cache->req_key_tree.cache->req_key_tree.n_subtrees | |
| NO_OVERFLOW_SIMPLE | 0 | cache->req_key_tree.key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | cache->req_key_tree.n_subtrees | |
| HALF_LOCKED2 | 0 | &cache->writeback_lock |
drivers/md/dm-pcache/cache_key.c cache_key_encode() -> cache_data_crc_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| DATA_SOURCE | 0 | cache | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache_subtree->tree_lock | ||
| LOCK2 | &kset->kset_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache_kset)->kset_lock | ||
| TYPE_LOCK | (struct pcache_cache_subtree)->tree_lock |
drivers/md/dm-pcache/dm_pcache.c dm_pcache_status() -> cache_data_crc_on()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache | 12160 |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |