Defined in 1 files as a function:
Referenced in 5 files:
- drivers/block/drbd/drbd_actlog.c, line 164
- drivers/block/drbd/drbd_bitmap.c
- drivers/block/drbd/drbd_int.h, line 1501
- drivers/block/drbd/drbd_receiver.c
- drivers/block/drbd/drbd_req.c, line 1171
Smatch caller information:
drivers/block/drbd/drbd_bitmap.c bm_page_io_async() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_io_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_io_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_pages | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.meta_dev_idx | (-3)-(-1) |
| PARAM_VALUE | 1 | type | 0-1 |
| FUZZY_MAX | 1 | type | 1 |
| HARD_MAX | 1 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/block/drbd/drbd_bitmap.c drbd_bm_resize() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->backing_bdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->md_io.current_use | 2322461615860039680 |
| PARAM_VALUE | 0 | device->md_io.in_use.counter | 0-s32max |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 7 |
| BUF_SIZE | 0 | device->ldev | (-1),208 |
| BUF_SIZE | 0 | device->resync | (-1),176 |
| BUF_SIZE | 0 | device->rs_plan_s | (-1),12-s32max |
| CAPPED_DATA | 0 | device | 1 |
| CAPPED_DATA | 0 | device->state.disk | 1 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex |
drivers/block/drbd/drbd_actlog.c _drbd_md_sync_page_io() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_io.done | 0 |
| PARAM_VALUE | 0 | device->md_io.error | (-19) |
| PARAM_VALUE | 0 | device->md_io.page | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-1 |
| 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 |
| DATA_SOURCE | 0 | device | $0 |
| FUZZY_MAX | 1 | type | 1 |
| 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 |
| HARD_MAX | 1 | type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| UNITS | 0 | device | unit_byte |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | 0 | device->state_mutex |
drivers/block/drbd/drbd_receiver.c drbd_alloc_peer_req() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 1 | type | 8 |
| CAPPED_DATA | 0 | device->state.disk | 1 |
drivers/block/drbd/drbd_receiver.c drbd_submit_bio_noacct() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2-5 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | type | $1 |
drivers/block/drbd/drbd_receiver.c read_in_block() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 9 |
drivers/block/drbd/drbd_req.c drbd_submit_req_private_bio() -> drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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->read_requests.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_last_sect_ev | 0 |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 0 | device->write_requests.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4-6 |
| FUZZY_MAX | 1 | type | 6 |
| BIT_INFO | 1 | type | 0x4,0x7 |
| HARD_MAX | 1 | type | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | device | unit_byte |
| HALF_LOCKED2 | &pool->lock |