Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-pcache/cache_key.c cache_key_decode() -> cache_key_data_crc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_pos.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_pos.cache_seg->segment.data_size | 1-u32max |
| PARAM_VALUE | 0 | key->cache_tree | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_tree->n_subtrees | 0-1 |
| PARAM_VALUE | 0 | key->len | 1-u32max |
| PARAM_VALUE | 0 | key->list_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list_node.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | key | (-1),104 |
| BUF_SIZE | 0 | key | (-1),104 |
| BUF_SIZE | 0 | key->cache_tree | (-1),224 |
| DATA_SOURCE | 0 | key | $2 |
| NO_OVERFLOW_SIMPLE | 0 | key->cache_tree->key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | key->cache_tree->n_subtrees | |
| HALF_LOCKED2 | &cache->writeback_lock |
drivers/md/dm-pcache/cache_key.c cache_key_decode() -> cache_key_data_crc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_pos.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_pos.cache_seg->segment.data_size | 1-u32max |
| PARAM_VALUE | 0 | key->cache_tree | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_tree->n_subtrees | 0-1 |
| PARAM_VALUE | 0 | key->len | 1-u32max |
| PARAM_VALUE | 0 | key->list_node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list_node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | key->list_node.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | key | (-1),104 |
| BUF_SIZE | 0 | key | (-1),104 |
| BUF_SIZE | 0 | key->cache_tree | (-1),224 |
| DATA_SOURCE | 0 | key | $2 |
| NO_OVERFLOW_SIMPLE | 0 | key->cache_tree->key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | key->cache_tree->n_subtrees | |
| HALF_LOCKED2 | &cache->writeback_lock |
drivers/md/dm-pcache/cache_key.c cache_key_encode() -> cache_key_data_crc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_pos.cache_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | key->cache_subtree | 4096-ptr_max |
| PARAM_VALUE | 0 | key->len | 1-u32max |
| BUF_SIZE | 0 | key->cache_tree | (-1),224 |
| CAPPED_DATA | 0 | key->len | 1 |
| DATA_SOURCE | 0 | key | $2 |
| NOSPEC | 0 | key->len | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | key->len | 1-4194304[c] |
| HOST_DATA | 0 | key->off | 4194304[c] |
| USER_DATA | 0 | key->len | 1-4194304[c] |
| USER_DATA | 0 | key->off | 4194304[c] |
| NO_OVERFLOW_SIMPLE | 0 | key->cache_tree->key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | key->cache_tree->n_subtrees | |
| 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 |