Documented in 1 files:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/md/dm-vdo/block-map.c, line 1242
- drivers/md/dm-vdo/completion.h, line 140
- drivers/md/dm-vdo/data-vio.c, line 860
- drivers/md/dm-vdo/flush.c
- drivers/md/dm-vdo/recovery-journal.c, line 624
- drivers/md/dm-vdo/repair.c, line 802
- drivers/md/dm-vdo/slab-depot.c
- drivers/md/dm-vdo/vdo.c
Smatch caller information:
drivers/md/dm-vdo/vdo.c make_thread_read_only() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 0 | completion->parent | 0,4096-ptr_max |
| PARAM_VALUE | 4 | parent | 1-u64max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion->parent | (-1),8-s32max |
| DATA_SOURCE | 0 | completion | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->geometry.index_config.mem | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->states.vdo.config.physical_blocks | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.bio_thread_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.hash_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.logical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.physical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.thread_count |
drivers/md/dm-vdo/vdo.c make_thread_read_only() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 0 | completion->parent | 0,4096-ptr_max |
| PARAM_VALUE | 4 | parent | 0 |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion->parent | (-1),8-s32max |
| DATA_SOURCE | 0 | completion | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->geometry.index_config.mem | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->states.vdo.config.physical_blocks | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.bio_thread_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.hash_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.logical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.physical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.thread_count |
drivers/md/dm-vdo/vdo.c make_thread_read_only() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 0 | completion->parent | 0,4096-ptr_max |
| PARAM_VALUE | 3 | callback_thread_id | 0-254 |
| PARAM_VALUE | 4 | parent | 0 |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion->parent | (-1),8-s32max |
| CAPPED_DATA | 3 | callback_thread_id | 1 |
| DATA_SOURCE | 0 | completion | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->geometry.index_config.mem | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->states.vdo.config.physical_blocks | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.bio_thread_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.hash_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.logical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.physical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.thread_count |
drivers/md/dm-vdo/slab-depot.c apply_journal_entries() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion->parent | (-1),8-s32max |
| BUF_SIZE | 4 | parent | (-1),8-s32max |
| BUF_SIZE | 4 | parent | (-1),8-s32max |
| DATA_SOURCE | 0 | completion | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->geometry.index_config.mem | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->states.vdo.config.physical_blocks | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.bio_thread_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.hash_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.logical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.physical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.thread_count |
drivers/md/dm-vdo/slab-depot.c apply_to_slabs() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 4 | parent | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/slab-depot.c scrub_next_slab() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| BUF_SIZE | 0 | completion | 72 |
| BUF_SIZE | 4 | parent | 4,8-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/slab-depot.c vdo_prepare_completion_for_requeue() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 4 | parent | 0 |
| DATA_SOURCE | 0 | completion | $0 |
| DATA_SOURCE | 1 | callback | $1 |
| DATA_SOURCE | 2 | error_handler | $2 |
| DATA_SOURCE | 3 | callback_thread_id | $3 |
| DATA_SOURCE | 4 | parent | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/recovery-journal.c initialize_lock_counter() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 0 | completion->complete | 0 |
| PARAM_VALUE | 0 | completion->error_handler | 0 |
| PARAM_VALUE | 0 | completion->parent | 0 |
| PARAM_VALUE | 0 | completion->result | 0 |
| PARAM_VALUE | 4 | parent | 4096-ptr_max |
| DATA_SOURCE | 4 | parent | $0 |
| MEM_ZERO | 0 | completion | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/action-manager.c vdo_prepare_completion_for_requeue() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| DATA_SOURCE | 0 | completion | $0 |
| DATA_SOURCE | 1 | callback | $1 |
| DATA_SOURCE | 2 | error_handler | $2 |
| DATA_SOURCE | 3 | callback_thread_id | $3 |
| DATA_SOURCE | 4 | parent | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/block-map.c vdo_get_page() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 0 | completion->complete | 0 |
| PARAM_VALUE | 0 | completion->error_handler | 0 |
| PARAM_VALUE | 0 | completion->parent | 0 |
| PARAM_VALUE | 0 | completion->result | 0 |
| PARAM_VALUE | 4 | parent | 4096-ptr_max |
| BUF_SIZE | 0 | completion | 72 |
| BUF_SIZE | 4 | parent | (-1),8-s32max |
| BUF_SIZE | 4 | parent | (-1),8-s32max |
| DATA_SOURCE | 1 | callback | $5 |
| DATA_SOURCE | 2 | error_handler | $6 |
| DATA_SOURCE | 4 | parent | $4 |
| MEM_ZERO | 0 | completion | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->geometry.index_config.mem | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->states.vdo.config.physical_blocks | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.bio_thread_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.hash_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.logical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.physical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.thread_count |
drivers/md/dm-vdo/flush.c launch_flush() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 4 | parent | 0 |
| BUF_SIZE | 0 | completion | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-vdo/flush.c vdo_complete_flush() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 4 | parent | 0 |
| BUF_SIZE | 0 | completion | 72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/repair.c add_slab_journal_entries() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion | (-1),4,8-s32max |
| BUF_SIZE | 0 | completion->parent | (-1),8-s32max |
| BUF_SIZE | 4 | parent | (-1),8-s32max |
| DATA_SOURCE | 0 | completion | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->geometry.index_config.mem | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->states.vdo.config.physical_blocks | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.bio_thread_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.hash_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.logical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.physical_zone_count | |
| NO_OVERFLOW_SIMPLE | 0 | completion->vdo->thread_config.thread_count |
drivers/md/dm-vdo/data-vio.c make_data_vio_pool() -> vdo_prepare_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | completion | 4096-ptr_max |
| PARAM_VALUE | 0 | completion->complete | 0 |
| PARAM_VALUE | 0 | completion->error_handler | 0 |
| PARAM_VALUE | 0 | completion->parent | 0 |
| PARAM_VALUE | 0 | completion->result | 0 |
| PARAM_VALUE | 4 | parent | 0 |
| MEM_ZERO | 0 | completion | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->type_lock |