Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-pcache/cache_req.c cache_write() -> cache_data_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | key->cache_tree | 4096-ptr_max |
| PARAM_VALUE | 1 | key->len | 1-4194304 |
| BUF_SIZE | 1 | key->cache_tree | (-1),224 |
| CAPPED_DATA | 1 | key->len | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | key | r cache_key_alloc |
| NOSPEC | 1 | key->len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | key->len | 1-4194304[c] |
| HOST_DATA | 1 | key->off | 4194304[c] |
| USER_DATA | 1 | key->len | 1-4194304[c] |
| USER_DATA | 1 | key->off | 4194304[c] |
| NO_OVERFLOW_SIMPLE | 1 | key->cache_tree->key_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | key->cache_tree->n_subtrees | |
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-pcache/cache_req.c miss_read_end_req() -> cache_data_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | key->cache_subtree | 4096-ptr_max |
| PARAM_VALUE | 1 | key->cache_subtree->tree_lock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache_subtree->tree_lock | ||
| TYPE_LOCK | (struct pcache_cache_subtree)->tree_lock |