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_init() -> backing_dev_req_init()

Type Parameter Key Value
PARAM_VALUE 0 backing_req 1-u64max
PARAM_VALUE 1 opts 3352135846689247232
PARAM_VALUE 1 opts->end_fn 4662064682944466944
PARAM_VALUE 1 opts->gfp_mask 0
PARAM_VALUE 1 opts->kmem.backing_off 0
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->priv_data 0
PARAM_VALUE 1 opts->type 1
DATA_SOURCE 0 backing_req $1
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cache_subtree->tree_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pcache_cache_subtree)->tree_lock

drivers/md/dm-pcache/backing_dev.c backing_dev_req_create() -> backing_dev_req_init()

Type Parameter Key Value
PARAM_VALUE 0 backing_req 4096-ptr_max
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_req r backing_dev_req_alloc
DATA_SOURCE 1 opts $1
NOCHECK_CALL
LOCK2 &cache->writeback_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pcache_cache)->writeback_lock