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() -> init_chapter_index_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | volume | 4096-ptr_max |
| PARAM_VALUE | 0 | volume->client->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->client->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | volume->geometry.index_pages_per_chapter | 1-u32max |
| PARAM_VALUE | 0 | volume->index_page_map | 4096-ptr_max |
| PARAM_VALUE | 0 | volume->read_threads_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | volume->read_threads_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | volume->read_threads_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | volume->read_threads_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 4 | chapter_index_page | 4096-ptr_max |
| CAPPED_DATA | 0 | volume->page_cache.cache_slots | 1 |
| CAPPED_DATA | 3 | index_page_number | 1 |
| DATA_SOURCE | 0 | volume | $0 |
| DATA_SOURCE | 2 | chapter | $1 |
| DATA_SOURCE | 3 | index_page_number | $2 |
| LOCK2 | 0 | &volume->read_threads_mutex | |
| TYPE_LOCK | (struct volume)->read_threads_mutex |
drivers/md/dm-vdo/indexer/volume.c initialize_index_page() -> init_chapter_index_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | volume | 4096-ptr_max |
| PARAM_VALUE | 0 | volume->client->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | volume->client->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | volume->client->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | volume->client->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | volume->client->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->geometry.index_pages_per_chapter | 1-u32max |
| PARAM_VALUE | 0 | volume->read_threads_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | volume->read_threads_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | volume->read_threads_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->read_threads_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | volume->read_threads_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 4 | chapter_index_page | 4096-ptr_max |
| CAPPED_DATA | 0 | volume->geometry.index_pages_per_chapter | 1 |
| CAPPED_DATA | 0 | volume->page_cache.cache_slots | 1 |
| CAPPED_DATA | 3 | index_page_number | 1 |
| DATA_SOURCE | 0 | volume | $0 |
| DATA_SOURCE | 2 | chapter | r map_to_chapter_number |
| DATA_SOURCE | 3 | index_page_number | r map_to_page_number |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | volume->client->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | volume->client->slab_buffer->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | volume->page_cache.cache_slots | |
| NO_OVERFLOW_SIMPLE | 0 | volume->page_cache.indexable_pages | |
| NO_OVERFLOW_SIMPLE | 0 | volume->page_cache.zone_count | |
| LOCK2 | 0 | &volume->read_threads_mutex | |
| TYPE_LOCK | (struct volume)->read_threads_mutex |
drivers/md/dm-vdo/indexer/volume.c uds_read_chapter_index_from_volume() -> init_chapter_index_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | volume | 4096-ptr_max |
| PARAM_VALUE | 0 | volume->client->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | volume->client->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | volume->geometry.index_pages_per_chapter | 1-u32max |
| PARAM_VALUE | 0 | volume->sparse_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.lock.first_waiter->up | 1 |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.lock.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.lock.lock.owner | (-1) |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.lock.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.thread_count | 1-16 |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.wait.first_waiter->up | 1 |
| PARAM_VALUE | 0 | volume->sparse_cache->begin_update_barrier.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index_page | 0-ptr_max |
| PARAM_VALUE | 4 | chapter_index_page | 4096-ptr_max |
| CAPPED_DATA | 3 | index_page_number | 1 |
| DATA_SOURCE | 0 | volume | $0 |
| DATA_SOURCE | 1 | index_page | r dm_bufio_read |