Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/raid1.c end_sync_read() -> update_head_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| DATA_SOURCE | 1 | r1_bio | r get_resync_r1bio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | disk | unit_byte |
drivers/md/raid1.c find_bio_disk() -> update_head_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 0-s32max |
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev->private | 4096-ptr_max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| DATA_SOURCE | 1 | r1_bio | $0 |
| STR_LEN | 0 | disk | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 1 | r1_bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid1.c raid1_end_read_request() -> update_head_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev->private | 4096-ptr_max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| STR_LEN | 0 | disk | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 1 | r1_bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | disk | unit_byte |
drivers/md/raid10.c find_bio_disk() -> update_head_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 0-s32max |
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev | 4096-ptr_max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| DATA_SOURCE | 1 | r1_bio | $1 |
| STR_LEN | 0 | disk | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 1 | r1_bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | disk | unit_byte |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid10.c raid10_end_read_request() -> update_head_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->devs | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev | 4096-ptr_max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| BUF_SIZE | 1 | r1_bio | (-1)-s32max |
| STR_LEN | 0 | disk | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 1 | r1_bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | disk | unit_byte |