Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 6 files as a member:
- drivers/md/bcache/bcache.h, line 274 (as a member)
- drivers/md/bcache/bcache.h, line 544 (as a member)
- drivers/md/raid1.h, line 99 (as a member)
- drivers/md/raid10.h, line 93 (as a member)
- drivers/md/raid5.h, line 672 (as a member)
- include/linux/blkdev.h, line 165 (as a member)
Defined in 1 files as a function:
Referenced in 15 files:
- block/bio.c, line 1978
- block/blk-merge.c
- block/genhd.c
- drivers/md/bcache/request.c
- drivers/md/bcache/super.c
- drivers/md/dm.c, line 1017
- drivers/md/raid1.c
- drivers/md/raid10.c
- drivers/md/raid5.c
- fs/btrfs/bio.c, line 87
- fs/iomap/ioend.c, line 493
- fs/xfs/xfs_buf.c, line 1312
- fs/xfs/xfs_log.c, line 1620
- fs/xfs/xfs_zone_gc.c, line 823
- include/linux/bio.h, line 346
Smatch caller information:
fs/iomap/ioend.c iomap_split_ioend() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 2-u32max |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| PARAM_VALUE | 2 | gfp | 3136 |
| PARAM_VALUE | 3 | bs | 8257214338293764096 |
| BUF_SIZE | 0 | bio | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_log.c xlog_write_iclog() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 8633221898245201920 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 2 | gfp | 3072 |
| PARAM_VALUE | 3 | bs | 1237167795584647168 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iclog->ic_sema | ||
| HALF_LOCKED2 | &log->l_icloglock | ||
| TYPE_LOCK | (struct xlog_in_core)->ic_sema |
drivers/md/bcache/request.c bio_next_split() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | sectors | 0-8388606 |
| PARAM_VALUE | 2 | gfp | 3072 |
| PARAM_VALUE | 3 | bs | 4096-ptr_max |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 3 | bs | (-1),624 |
| BUF_SIZE | 3 | bs | (-1),624 |
| CAPPED_DATA | 1 | sectors | 1 |
| DATA_SOURCE | 0 | bio | $0 |
| DATA_SOURCE | 1 | sectors | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| DATA_SOURCE | 3 | bs | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | sectors | unit_byte |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_split_write() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_blkg | 0 |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_io_vec | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| PARAM_VALUE | 2 | gfp | 3136 |
| PARAM_VALUE | 3 | bs | 4096-ptr_max |
| MEM_ZERO | 0 | bio |
block/blk-merge.c bio_submit_split_bioset() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | gfp | 3072 |
| PARAM_VALUE | 3 | bs | 4096-ptr_max |
| BUF_SIZE | 0 | bio | (-1)-0,4,24,32,64,144-s32max |
| BUF_SIZE | 0 | bio | (-1)-0,4,24,32,64,144-s32max |
| BUF_SIZE | 0 | bio->bi_pool | (-1),624 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| DATA_SOURCE | 0 | bio | $0 |
| DATA_SOURCE | 1 | sectors | $1 |
| DATA_SOURCE | 3 | bs | $2 |
| STR_LEN | 0 | bio->bi_private | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-18446744073709551614 |
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-u16max[c] |
| HOST_DATA | 1 | sectors | 0-s32max[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0-u32max |
| USER_DATA | 0 | bio->bi_max_vecs | 0-u16max[c] |
| USER_DATA | 0 | bio->bi_next->bi_ioprio | 0-u16max[c] |
| USER_DATA | 0 | bio->bi_next->bi_max_vecs | 0-256[c] |
| USER_DATA | 1 | sectors | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_io_vec | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_max_vecs | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| UNITS | 0 | bio | unit_jiffy |
| UNITS | 1 | sectors | unit_byte |
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |
fs/xfs/xfs_buf.c xfs_buf_submit_bio() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 2686881732786139136 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3136 |
| PARAM_VALUE | 3 | bs | 1237167795584647168 |
| DATA_SOURCE | 0 | bio | r bio_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bp->b_sema |
drivers/md/raid10.c raid10_handle_discard() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->mq_kobj->release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->mq_kobj->release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->mq_kobj->release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->zone_wplugs_worker->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->zone_wplugs_worker->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->mq_kobj->release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->mq_kobj->release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->mq_kobj->release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->stats->accounting | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_end_io | 57454840631967744,3905977605003870208 |
| PARAM_VALUE | 2 | gfp | 3072 |
| PARAM_VALUE | 3 | bs | 4096-ptr_max |
| BUF_SIZE | 0 | bio | (-1)-0,4,24,32,64,144-s32max |
| BUF_SIZE | 0 | bio | (-1)-0,4,24,32,64,144-s32max |
| DATA_SOURCE | 0 | bio | $1 |
| STR_LEN | 0 | bio->bi_private | (-1) |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-s32max[c] |
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0-u32max |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | bio->bi_next->bi_ioprio | 0-u16max[c] |
| USER_DATA | 0 | bio->bi_next->bi_max_vecs | 0-256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_io_vec | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_max_vecs | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid10.c raid10_handle_discard() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->mq_kobj->release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->mq_kobj->release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->mq_kobj->release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->zone_wplugs_worker->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->zone_wplugs_worker->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->mq_kobj->release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->mq_kobj->release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->mq_kobj->release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->stats->accounting | s32min-s32max |
| PARAM_VALUE | 0 | bio->bi_end_io | 57454840631967744,3905977605003870208 |
| PARAM_VALUE | 2 | gfp | 3072 |
| PARAM_VALUE | 3 | bs | 4096-ptr_max |
| BUF_SIZE | 0 | bio | (-1)-0,4,24,32,64,144-s32max |
| BUF_SIZE | 0 | bio | (-1)-0,4,24,32,64,144-s32max |
| DATA_SOURCE | 0 | bio | $1 |
| STR_LEN | 0 | bio->bi_private | (-1) |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-s32max[c] |
| HOST_DATA | 0 | bio->bi_iter.bi_bvec_done | 1-s32max[c] |
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_bvec_done | 0-s32max[c] |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0-u32max |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | bio->bi_next->bi_ioprio | 0-u16max[c] |
| USER_DATA | 0 | bio->bi_next->bi_max_vecs | 0-256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_io_vec | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_max_vecs | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |
fs/btrfs/bio.c btrfs_split_bio() -> bio_split()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 1-u32max |
| PARAM_VALUE | 1 | sectors | 0-8388607 |
| PARAM_VALUE | 2 | gfp | 3136 |
| PARAM_VALUE | 3 | bs | 6602129852488675328 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |