Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/block/drbd/drbd_receiver.c
- drivers/block/drbd/drbd_req.c, line 1432
- drivers/block/drbd/drbd_req.h
- drivers/block/drbd/drbd_worker.c, line 284
Smatch caller information:
drivers/block/drbd/drbd_main.c _req_mod() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | m | 330807997364953088 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |
| LOCK2 | irq | ||
| HALF_LOCKED2 | &connection->resource->req_lock | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_receiver.c fail_postponed_requests() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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 | m | 820207227139108864 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_receiver.c req_mod() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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 | 1 | m | 8961586008754790400 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |
drivers/block/drbd/drbd_receiver.c validate_req_change_req_state() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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 | 1 | m | 3394005987010129920 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| NOCHECK_CALL |
drivers/block/drbd/drbd_req.c _req_mod() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | m | 6852914555379494912 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| BUF_SIZE | 0 | device | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | device | s32min-(-1),1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |
| LOCK2 | &resource->req_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_req.c drbd_send_and_submit() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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 | 1 | m | 8905399553569796096 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| BUF_SIZE | 0 | device | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | device | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/block/drbd/drbd_worker.c drbd_request_endio() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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 | 1 | m | 2389988586778112000 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |
drivers/block/drbd/drbd_worker.c req_mod() -> complete_master_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 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 | 1 | m | 570962483467636736 |
| PARAM_VALUE | 1 | m->bio | 4096-ptr_max |
| NOCHECK_CALL | |||
| UNITS | 0 | device | unit_byte |