Defined in 1 files as a function:
Referenced in 5 files:
- drivers/md/md.c, line 9359
- drivers/md/raid0.c, line 590
- drivers/md/raid1.c
- drivers/md/raid10.c
- drivers/md/raid5.c
Smatch caller information:
drivers/md/md.c md_submit_discard_bio() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | sector | 0-18446744073709551614 |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | mddev | $0 |
| NOSPEC | 2 | sector | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-s32max[c] |
| HOST_DATA | 1 | bio->bi_iter.bi_sector | s64min-s64max |
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0-4294967295[c] |
| HOST_DATA | 2 | sector | 0-18446744073709551614 |
| USER_DATA | 1 | bio->bi_iter.bi_sector | s64min-s64max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0-4294967295[c] |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | bio->bi_next->bi_max_vecs | 0-256[c] |
| USER_DATA | 2 | sector | 0-18446744073709551614 |
| UNITS | 2 | sector | unit_byte |
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid1.c raid1_read_request() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_opf | 0,256-u32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | bio->bi_pool | (-1),624 |
| CAPPED_DATA | 0 | &mddev->bio_set | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| DATA_SOURCE | 1 | bio | r bio_alloc_clone |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xffdfffff |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| NOSPEC | 2 | sector | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 2 | sector | 0-u64max |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 2 | sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 2 | sector | unit_byte |
drivers/md/raid1.c raid1_write_request() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_opf | 0,256-u32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | bio->bi_pool | (-1),624 |
| CAPPED_DATA | 0 | &mddev->bio_set | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xffdfffff |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| NOSPEC | 2 | sector | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 2 | sector | 0-u64max |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 2 | sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 2 | sector | unit_byte |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid0.c raid0_map_submit_bio() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | sector | 0-18446744073709551614 |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | mddev | $0 |
| DATA_SOURCE | 1 | bio | $1 [m] |
| STR_LEN | 1 | bio->bi_private | (-1) |
| NOSPEC | 2 | sector | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-u64max |
| HOST_DATA | 2 | sector | 0-18446744073709551614 |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_next->bi_ioprio | 0-u16max[c] |
| USER_DATA | 1 | bio->bi_next->bi_max_vecs | 0-256[c] |
| USER_DATA | 2 | sector | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_io_vec | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_next->bi_max_vecs | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bio.bi_max_vecs | |
| UNITS | 2 | sector | unit_byte |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | 1 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid5.c ops_run_io() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3608341124620181504,7180974628691574784 |
| BUF_SIZE | 1 | bio | 144 |
| BIT_INFO | 1 | bio->bi_end_io | 0x2203622090410000,0x73b7f762dd6b6000 |
| NOCHECK_CALL |
drivers/md/raid5.c ops_run_io() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 7180974628691574784 |
| BUF_SIZE | 1 | bio | 144 |
| NOCHECK_CALL |
drivers/md/raid5.c raid5_read_one_chunk() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 2755585972245508096 |
| PARAM_VALUE | 2 | sector | 0 |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | bio->bi_pool | (-1),624 |
| CAPPED_DATA | 0 | &mddev->bio_set | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| DATA_SOURCE | 1 | bio | r bio_alloc_clone |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 2 | sector | unit_byte |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &raid_bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid10.c raid10_read_request() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_opf | 0,256-u32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | bio->bi_pool | (-1),624 |
| CAPPED_DATA | 0 | &mddev->bio_set | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| DATA_SOURCE | 1 | bio | r bio_alloc_clone |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xffdfffff |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| NOSPEC | 2 | sector | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 2 | sector | 0-u64max |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 2 | sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 0 | mddev | unit_byte |
| UNITS | 2 | sector | unit_byte |
drivers/md/raid10.c raid10_write_one_disk() -> mddev_trace_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_opf | 0,256-u32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mddev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | bio->bi_pool | (-1),624 |
| CAPPED_DATA | 0 | mddev | 1 |
| CAPPED_DATA | 0 | mddev->private->copies | 1 |
| CAPPED_DATA | 0 | &mddev->bio_set | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| DATA_SOURCE | 1 | bio | r bio_alloc_clone |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xffdfffff |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| NOSPEC | 2 | sector | |
| NOSPEC | 2 | sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 2 | sector | 0[c] |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 2 | sector | 0[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 2 | sector | unit_byte |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |