Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/drbd/drbd_bitmap.c drbd_insert_fault() -> _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->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.meta_dev_idx | (-3)-0 |
| PARAM_VALUE | 1 | type | 0-1,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 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | type | $1 |
| 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 |
drivers/block/drbd/drbd_actlog.c drbd_insert_fault() -> _drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_bits | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_dev_capacity | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 0-4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_number_of_pages | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_pages | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_set | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_task | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_why | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->bm_words | 0-s64max |
| PARAM_VALUE | 0 | device->bitmap->n_bitmap_hints | 0-4294967295 |
| 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 |
| CAPPED_DATA | 0 | device->bitmap->bm_number_of_pages | 1 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 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->bm_io_work.why | (-1) |
| 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 | |
| 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_insert_fault() -> _drbd_insert_fault()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2-5,8-9 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | type | $1 |
drivers/block/drbd/drbd_req.c drbd_insert_fault() -> _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 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | type | $1 |
| BIT_INFO | 1 | type | 0x4,0x7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | device | unit_byte |
| HALF_LOCKED2 | &pool->lock |