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 pcache_cache_flush() -> cache_kset_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->n_ksets | 1-u32max |
| PARAM_VALUE | 1 | kset | 4096-ptr_max |
| PARAM_VALUE | 1 | kset->kset_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | cache | (-1),12160 |
| BUF_SIZE | 0 | cache | (-1),12160 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | kset | r get_kset |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &kset->kset_lock | |
| TYPE_LOCK | (struct pcache_cache_kset)->kset_lock |
drivers/md/dm-pcache/cache_key.c cache_key_append() -> cache_kset_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | kset | 4096-ptr_max |
| PARAM_VALUE | 1 | kset->kset_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | kset->kset_onmedia.data | 4096-ptr_max |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | kset | r get_kset |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache_subtree->tree_lock | ||
| LOCK2 | 1 | &kset->kset_lock | |
| TYPE_LOCK | (struct pcache_cache_kset)->kset_lock | ||
| TYPE_LOCK | (struct pcache_cache_subtree)->tree_lock |
drivers/md/dm-pcache/cache_key.c kset_flush_fn() -> cache_kset_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | kset | 4096-ptr_max |
| PARAM_VALUE | 1 | kset->kset_lock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 1 | &kset->kset_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pcache_cache_kset)->kset_lock |