Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/md/dm-vdo/indexer/index-session.c
- drivers/md/dm-vdo/indexer/index.c
- drivers/md/dm-vdo/indexer/volume.c
Smatch caller information:
drivers/md/dm-vdo/indexer/volume.c enqueue_page_read() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| NOCHECK_CALL | |||
| LOCK2 | &volume->read_threads_mutex | ||
| TYPE_LOCK | (struct volume)->read_threads_mutex |
drivers/md/dm-vdo/indexer/volume.c wait_to_reserve_read_queue_entry() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | &volume->read_threads_mutex | ||
| TYPE_LOCK | (struct volume)->read_threads_mutex |
drivers/md/dm-vdo/indexer/index.c check_for_suspend() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &index->load_context->mutex | ||
| TYPE_LOCK | (struct index_load_context)->mutex |
drivers/md/dm-vdo/indexer/index.c close_chapters() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| NOCHECK_CALL | |||
| LOCK2 | &writer->mutex | ||
| TYPE_LOCK | (struct chapter_writer)->mutex |
drivers/md/dm-vdo/indexer/index.c finish_previous_chapter() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| NOCHECK_CALL | |||
| LOCK2 | &writer->mutex | ||
| TYPE_LOCK | (struct chapter_writer)->mutex |
drivers/md/dm-vdo/indexer/index.c uds_wait_for_idle_index() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &writer->mutex | ||
| TYPE_LOCK | (struct chapter_writer)->mutex |
drivers/md/dm-vdo/indexer/index-session.c suspend_rebuild() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &session->load_context.mutex | ||
| TYPE_LOCK | (struct index_load_context)->mutex |
drivers/md/dm-vdo/indexer/index-session.c uds_close_index() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &index_session->request_mutex | ||
| TYPE_LOCK | (struct uds_index_session)->request_mutex |
drivers/md/dm-vdo/indexer/index-session.c uds_destroy_index_session() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &index_session->request_mutex | ||
| TYPE_LOCK | (struct uds_index_session)->request_mutex |
drivers/md/dm-vdo/indexer/index-session.c uds_destroy_index_session() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &index_session->request_mutex | ||
| TYPE_LOCK | (struct uds_index_session)->request_mutex |
drivers/md/dm-vdo/indexer/index-session.c uds_suspend_index_session() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &session->request_mutex | ||
| TYPE_LOCK | (struct uds_index_session)->request_mutex |
drivers/md/dm-vdo/indexer/index-session.c wait_for_no_requests_in_progress() -> uds_wait_cond()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cv | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex | 4096-ptr_max |
| PARAM_VALUE | 1 | mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | mutex->wait_lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &index_session->request_mutex | ||
| TYPE_LOCK | (struct uds_index_session)->request_mutex |