Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/dm-pcache/cache_key.c cache_key_alloc() -> cache_key_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache_tree | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 1-u64max |
| BUF_SIZE | 0 | cache_tree | (-1),224 |
| BUF_SIZE | 0 | cache_tree | (-1),224 |
| DATA_SOURCE | 0 | cache_tree | $0 |
| DATA_SOURCE | 1 | key | r mempool_alloc_noprof |
| MEM_ZERO | 1 | key | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cache_tree->key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | cache_tree->n_subtrees | |
| HALF_LOCKED2 | &cache->writeback_lock | ||
| HALF_LOCKED2 | &cache_subtree->tree_lock |
drivers/md/dm-pcache/cache_gc.c pcache_cache_gc_fn() -> cache_key_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache_tree | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 194387841164607488 |
| PARAM_VALUE | 1 | key->cache_tree | 0 |
| PARAM_VALUE | 1 | key->list_node.next | 0 |
| PARAM_VALUE | 1 | key->list_node.prev | 0 |
| PARAM_VALUE | 1 | key->ref.refcount.refs.counter | 0 |
| BUF_SIZE | 1 | key | 104 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | key->cache_tree->key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | key->cache_tree->n_subtrees | |
| HALF_LOCKED2 | &pool->lock |