Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-pcache/cache_req.c cache_copy_to_req_bio() -> segment_copy_to_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | segment | 4096-ptr_max |
| BUF_SIZE | 0 | segment | 32 |
| DATA_SOURCE | 2 | data_len | $3 |
| DATA_SOURCE | 4 | bio_off | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | data_off | unit_byte |
| UNITS | 2 | data_len | unit_byte |
| LOCK2 | &cache_seg->gen_lock | ||
| LOCK2 | &cache_subtree->tree_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache_segment)->gen_lock | ||
| TYPE_LOCK | (struct pcache_cache_subtree)->tree_lock |