Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- block/bio.c
- drivers/md/bcache/journal.c
- drivers/md/bcache/request.c, line 847
- drivers/md/dm-vdo/data-vio.c, line 1568
- drivers/md/dm-vdo/vio.c, line 209
- drivers/md/raid1.c
- drivers/md/raid10.c
- fs/btrfs/bio.c, line 207
- fs/xfs/xfs_verify_media.c, line 345
Smatch caller information:
fs/xfs/xfs_verify_media.c xfs_verify_media() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | opf | 0 |
| DATA_SOURCE | 0 | bio | r bio_alloc |
| CAPABLE | 0 | 21 | |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-18446744073709551614[c] |
| USER_DATA | 0 | bio->bi_next->bi_max_vecs | 0-256[c] |
| UNITS | 1 | bdev | unit_byte |
drivers/md/bcache/request.c cached_dev_read_done() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 1-u64max |
| PARAM_VALUE | 2 | opf | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | bdev | unit_byte |
block/bio.c bio_reuse() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0-1 |
| PARAM_VALUE | 2 | opf | 1 |
| DATA_SOURCE | 0 | bio | $0 |
| DATA_SOURCE | 2 | opf | $1 |
| NOCHECK_CALL | |||
| UNITS | 1 | bdev | unit_byte |
drivers/md/bcache/journal.c journal_read_bucket() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | opf | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | (-1),136 |
| CAPPED_DATA | 0 | bio | 1 |
| NOCHECK_CALL |
drivers/md/bcache/journal.c journal_write_unlocked() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | opf | 399361 |
| BUF_SIZE | 0 | bio | 144 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &c->journal.lock |
drivers/md/raid1.c process_checks() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 6834099099447353344 |
| PARAM_VALUE | 2 | opf | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/raid1.c raid1_alloc_init_r1buf() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bdev | 0 |
| PARAM_VALUE | 2 | opf | 0 |
| NOCHECK_CALL |
drivers/md/raid10.c raid10_alloc_init_r10buf() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bdev | 0 |
| PARAM_VALUE | 2 | opf | 0 |
| NOCHECK_CALL |
drivers/md/raid10.c raid10_alloc_init_r10buf() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | bdev | 0 |
| PARAM_VALUE | 2 | opf | 0 |
| NOCHECK_CALL |
drivers/md/raid10.c sync_request_write() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 2494349085028626432 |
| PARAM_VALUE | 2 | opf | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-vdo/data-vio.c read_block() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | opf | 0,2048-538624 |
| CAPPED_DATA | 2 | opf | 1 |
| BIT_INFO | 2 | opf | 0x0,0x83800 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | bdev | unit_byte |
fs/btrfs/bio.c btrfs_end_repair_bio() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_pool | 2219661640141885440 |
| PARAM_VALUE | 1 | bdev | 0 |
| PARAM_VALUE | 2 | opf | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-vdo/vio.c vio_reset_bio_with_size() -> bio_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | opf | 0-1,2048-538624 |
| CAPPED_DATA | 2 | opf | 1 |
| DATA_SOURCE | 2 | opf | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | bdev | unit_byte |