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_actlog.c drbd_try_rs_begin_io() -> drbd_rs_should_slow_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer_device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->rs_plan_s->head_index | 0-2147483646 |
| PARAM_VALUE | 0 | peer_device->device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | *peer_device->device->rs_plan_s->values | s32min-s32max |
| PARAM_VALUE | 1 | sector | 0-18446744073709551614 |
| PARAM_VALUE | 2 | throttle_if_app_is_waiting | 1 |
| CAPPED_DATA | 1 | sector | 1 |
| CAPPED_DATA | 1 | sector | 1 |
| DATA_SOURCE | 0 | peer_device | $0 |
| DATA_SOURCE | 1 | sector | $1 |
| UNITS | 1 | sector | unit_byte |
drivers/block/drbd/drbd_receiver.c receive_DataRequest() -> drbd_rs_should_slow_down()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer_device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->connection | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->read_ee.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->read_ee.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->read_ee.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer_device->device->state.disk | 1-15 |
| PARAM_VALUE | 0 | peer_device->device->state.peer | 0,2-3 |
| PARAM_VALUE | 0 | peer_device->device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | peer_device->device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | *peer_device->connection->data.socket->sk->sk_backlog.head->dev->name | 0-255 |
| PARAM_VALUE | 2 | throttle_if_app_is_waiting | 0 |
| CAPPED_DATA | 0 | peer_device->device->state.disk | 1 |
| DATA_SOURCE | 0 | peer_device | r conn_peer_device |
| UNITS | 1 | sector | unit_byte |