Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-vdo/indexer/volume.c donate_index_page_locked() -> put_page_in_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 2 | page | 4096-ptr_max |
| PARAM_VALUE | 2 | page->last_used | 0 |
| PARAM_VALUE | 2 | page->read_pending | 1 |
| DATA_SOURCE | 1 | physical_page | r map_to_physical_page |
| DATA_SOURCE | 2 | page | r select_victim_in_cache |
| NO_OVERFLOW_SIMPLE | 2 | page->physical_page | |
| LOCK2 | &volume->read_threads_mutex | ||
| TYPE_LOCK | (struct volume)->read_threads_mutex |
drivers/md/dm-vdo/indexer/volume.c process_entry() -> put_page_in_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 2 | page | 4096-ptr_max |
| PARAM_VALUE | 2 | page->last_used | 0 |
| PARAM_VALUE | 2 | page->read_pending | 1 |
| DATA_SOURCE | 2 | page | r select_victim_in_cache |
| NO_OVERFLOW_SIMPLE | 2 | page->physical_page | |
| LOCK2 | &volume->read_threads_mutex | ||
| TYPE_LOCK | (struct volume)->read_threads_mutex |
drivers/md/dm-vdo/indexer/volume.c read_page_locked() -> put_page_in_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->index | 4096-ptr_max |
| PARAM_VALUE | 2 | page | 4096-ptr_max |
| PARAM_VALUE | 2 | page->last_used | 0 |
| PARAM_VALUE | 2 | page->read_pending | 1 |
| DATA_SOURCE | 1 | physical_page | $1 |
| DATA_SOURCE | 2 | page | r select_victim_in_cache |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | cache->cache_slots | |
| NO_OVERFLOW_SIMPLE | 0 | cache->indexable_pages | |
| NO_OVERFLOW_SIMPLE | 0 | cache->zone_count | |
| NO_OVERFLOW_SIMPLE | 2 | page->physical_page | |
| LOCK2 | &volume->read_threads_mutex | ||
| TYPE_LOCK | (struct volume)->read_threads_mutex |