Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/drbd/drbd_bitmap.c bm_rw() -> drbd_chk_io_error_()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 1 | error | 1 |
| PARAM_VALUE | 2 | forcedetach | 2 |
| PARAM_VALUE | 3 | where | 1352182889816522752 |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->p_uuid | (-1),8 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| BUF_SIZE | 3 | where | 6 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | (-1),6,12,19,23,26-27,29,31-32 |
| STR_LEN | 0 | device | (-1),6,12,19,23,26-27,29,31-32 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| UNITS | 0 | device | unit_byte |
| HALF_LOCKED2 | 0 | device->state_mutex |
drivers/block/drbd/drbd_actlog.c __al_write_transaction() -> drbd_chk_io_error_()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log | 4096-ptr_max |
| PARAM_VALUE | 0 | device->al_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->al_tr_cycle | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->n_bitmap_hints | 0-64 |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.meta_dev_idx | (-3)-(-1) |
| PARAM_VALUE | 0 | device->ldev->md_bdev | 1-u64max |
| PARAM_VALUE | 0 | device->md_io.current_use | 2322461615860039680,8027704850769805312 |
| PARAM_VALUE | 0 | device->md_io.done | 0 |
| PARAM_VALUE | 0 | device->md_io.error | (-19) |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ov_last_oos_size | 0 |
| PARAM_VALUE | 0 | device->ov_last_oos_start | 0 |
| PARAM_VALUE | 0 | device->ov_start_sector | 0,8-18446744073709551608 |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pending_bitmap_io.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->resync_timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_last_sect_ev | 0 |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 1 | error | 1 |
| PARAM_VALUE | 2 | forcedetach | 2 |
| PARAM_VALUE | 3 | where | 4880687688036601856 |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| BUF_SIZE | 3 | where | 23 |
| CAPPED_DATA | 0 | device->al_tr_cycle | 1 |
| CAPPED_DATA | 0 | device->state.disk | 1 |
| CAPPED_DATA | 0 | &device->act_log->to_be_changed | 1 |
| DATA_SOURCE | 0 | device | $0 |
| FUZZY_MAX | 0 | device->al_tr_cycle | 0 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| PARAM_COMPARE | 0 | device->act_log->nr_elements | >= $0->al_tr_cycle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| UNITS | 0 | device | unit_byte |
drivers/block/drbd/drbd_actlog.c wait_until_done_or_force_detached() -> drbd_chk_io_error_()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 1 | error | 1 |
| PARAM_VALUE | 2 | forcedetach | 3 |
| PARAM_VALUE | 3 | where | 2161112022469652480 |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->p_uuid | (-1),8 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| BUF_SIZE | 3 | where | 34 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | (-1),6,8,11-12,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device | (-1),6,8,11-12,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device->bm_io_work.why | (-1) |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| UNITS | 0 | device | unit_byte |
| HALF_LOCKED2 | 0 | device->state_mutex |
drivers/block/drbd/drbd_main.c drbd_md_write() -> drbd_chk_io_error_()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.meta_dev_idx | (-3)-(-1) |
| PARAM_VALUE | 0 | device->ldev->md.uuid | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md_bdev | 1-u64max |
| PARAM_VALUE | 0 | device->md_io.done | 0 |
| PARAM_VALUE | 0 | device->md_io.error | (-19) |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ov_last_oos_size | 0 |
| PARAM_VALUE | 0 | device->ov_last_oos_start | 0 |
| PARAM_VALUE | 0 | device->ov_start_sector | 0,8-18446744073709551608 |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->resync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_last_sect_ev | 0 |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 1 | error | 1 |
| PARAM_VALUE | 2 | forcedetach | 2 |
| PARAM_VALUE | 3 | where | 4759746365326442496 |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->p_uuid | (-1),8 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| BUF_SIZE | 3 | where | 14 |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | (-1),8,11-12,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device | (-1),8,11-12,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | 0 | device->state_mutex |