Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/block/drbd/drbd_nl.c drbd_determine_dev_size() -> drbd_bm_resize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| 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 | 2 | set_new_bits | 0-1 |
| 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 |
| CAPPED_DATA | 1 | capacity | 1 |
| CAPPED_DATA | 1 | capacity | 1 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | capacity | r drbd_new_dev_size |
| FUZZY_MAX | 2 | set_new_bits | 1 |
| STR_LEN | 0 | device->resync->name | (-1),6 |
| HARD_MAX | 2 | set_new_bits | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | device->act_log->nr_elements | |
| NO_OVERFLOW_SIMPLE | 0 | device->resync->nr_elements | |
| UNITS | 1 | capacity | unit_byte |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex |
drivers/block/drbd/drbd_main.c drbd_device_cleanup() -> drbd_bm_resize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->al_writ_cnt | 0 |
| PARAM_VALUE | 0 | device->bitmap | 1-u64max |
| PARAM_VALUE | 0 | device->bm_writ_cnt | 0 |
| PARAM_VALUE | 0 | device->p_size | 0 |
| PARAM_VALUE | 0 | device->read_cnt | 0 |
| PARAM_VALUE | 0 | device->recv_cnt | 0 |
| PARAM_VALUE | 0 | device->rs_failed | 0 |
| PARAM_VALUE | 0 | device->rs_last_events | 0 |
| PARAM_VALUE | 0 | device->rs_last_sect_ev | 0 |
| PARAM_VALUE | 0 | device->rs_mark_left | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_mark_time | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_start | 0 |
| PARAM_VALUE | 0 | device->rs_total | 0 |
| PARAM_VALUE | 0 | device->send_cnt | 0 |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0->bd_nr_sectors | 0-18014398509481983 |
| PARAM_VALUE | 0 | device->vdisk->part0->bd_size_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->writ_cnt | 0 |
| PARAM_VALUE | 1 | capacity | 0 |
| PARAM_VALUE | 2 | set_new_bits | 1 |
| DATA_SOURCE | 0 | device | $0 |
| NOCHECK_CALL |