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_req.c cache_miss_req_alloc() -> backing_dev_req_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opts | 2005363929378422784 |
| PARAM_VALUE | 1 | opts->end_fn | 0 |
| PARAM_VALUE | 1 | opts->gfp_mask | 3072,10240 |
| PARAM_VALUE | 1 | opts->kmem.data | 0 |
| PARAM_VALUE | 1 | opts->kmem.len | 0 |
| PARAM_VALUE | 1 | opts->kmem.opf | 0 |
| PARAM_VALUE | 1 | opts->req.len | 0 |
| PARAM_VALUE | 1 | opts->type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cache_subtree->tree_lock |
drivers/md/dm-pcache/backing_dev.c backing_dev_req_create() -> backing_dev_req_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opts | 1236921631793963008 |
| PARAM_VALUE | 1 | opts->end_fn | 7483665835646779392 |
| PARAM_VALUE | 1 | opts->gfp_mask | 3072 |
| PARAM_VALUE | 1 | opts->kmem.data | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->kmem.opf | 1 |
| PARAM_VALUE | 1 | opts->priv_data | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->req.len | 0 |
| PARAM_VALUE | 1 | opts->req.req_off | 0 |
| PARAM_VALUE | 1 | opts->req.upper_req | 0 |
| PARAM_VALUE | 1 | opts->type | 2 |
| DATA_SOURCE | 0 | backing_dev | $0 |
| DATA_SOURCE | 1 | opts | $1 |
| LOCK2 | &cache->writeback_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache)->writeback_lock |