Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/raid1.c raid1_read_request() -> read_balance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->bios | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->master_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->state | 0 |
| PARAM_VALUE | 2 | max_sectors | 3865257437376614400 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 1 | r1_bio->master_bio | (-1)-0,4,24,32,64,144-s32max |
| BUF_SIZE | 1 | r1_bio->mddev | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | r1_bio | $3 [m] |
| NOSPEC | 1 | r1_bio->master_bio->bi_iter.bi_sector | |
| NOSPEC | 1 | r1_bio->master_bio->bi_iter.bi_size | |
| NOSPEC | 1 | r1_bio->sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | r1_bio->master_bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 1 | r1_bio->master_bio->bi_iter.bi_size | 512-4294966272[c] |
| HOST_DATA | 1 | r1_bio->master_bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 1 | r1_bio->sector | 0-u64max |
| USER_DATA | 1 | r1_bio->master_bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | r1_bio->master_bio->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 1 | r1_bio->master_bio->bi_iter.bi_size | 512-4294966272 |
| USER_DATA | 1 | r1_bio->master_bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | r1_bio->sector | 0-u64max |
drivers/md/raid10.c raid10_read_request() -> read_balance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->resync_lock.seqcount.seqcount.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | r1_bio | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | r1_bio->state | 0 |
| PARAM_VALUE | 2 | max_sectors | 4599992910480367616 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 1 | r1_bio->master_bio | (-1)-0,4,24,32,64,144-s32max |
| BUF_SIZE | 1 | r1_bio->mddev | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | r1_bio | $2 |
| STR_LEN | 1 | r1_bio->master_bio->bi_private | (-1) |
| NOSPEC | 1 | r1_bio->master_bio->bi_iter.bi_sector | |
| NOSPEC | 1 | r1_bio->master_bio->bi_iter.bi_size | |
| NOSPEC | 1 | r1_bio->sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | r1_bio->master_bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 1 | r1_bio->master_bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 1 | r1_bio->master_bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 1 | r1_bio->sector | 0-u64max |
| USER_DATA | 1 | r1_bio->master_bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | r1_bio->master_bio->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 1 | r1_bio->master_bio->bi_iter.bi_size | 0-u32max |
| USER_DATA | 1 | r1_bio->master_bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | r1_bio->sector | 0-u64max |
drivers/md/raid10.c reshape_request() -> read_balance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->barrier | (-2147483646)-511 |
| PARAM_VALUE | 0 | conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->nr_pending.counter | 0 |
| PARAM_VALUE | 0 | conf->resync_lock.seqcount.seqcount.dep_map->name | 0-255 |
| 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 |
| PARAM_VALUE | 1 | r1_bio->remaining.counter | 0 |
| PARAM_VALUE | 1 | r1_bio->state | 0 |
| PARAM_VALUE | 2 | max_sectors | 7048292664212254720 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 1 | r1_bio | r raid10_alloc_init_r10buf |