Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/md/dm-crypt.c
- drivers/md/dm-flakey.c, line 435
- drivers/md/dm-integrity.c
- drivers/md/dm-snap.c, line 2673
- drivers/md/dm-writecache.c
- drivers/md/dm-zoned-target.c, line 670
- drivers/md/dm.c, line 1356
Smatch caller information:
drivers/md/dm-zoned-target.c dmz_map() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| DATA_SOURCE | 0 | bio | $1 |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 1 | n_sectors | 0-u32max[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | n_sectors | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-snap.c origin_map() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 1 | n_sectors | 0-8388606 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| CAPPED_DATA | 1 | n_sectors | 1 |
| DATA_SOURCE | 0 | bio | $1 |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 1 | n_sectors | 0-8388606[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | n_sectors | 0-8388606[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c writecache_bio_copy_ssd() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 1 | n_sectors | 0-8388607 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_size | 1 |
| DATA_SOURCE | 0 | bio | $1 |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_size | 0[c] |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | &wc->lock | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_writecache)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c writecache_map_read() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 1 | n_sectors | 0-8388607 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_sector | 1 |
| DATA_SOURCE | 0 | bio | $1 |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| USER_DATA | 0 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0-u32max |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | &wc->lock | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_writecache)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-writecache.c writecache_map_remap_origin() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 1 | n_sectors | 0-8388606 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| CAPPED_DATA | 1 | n_sectors | 1 |
| DATA_SOURCE | 0 | bio | $1 |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_size | 0 |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| UNITS | 1 | n_sectors | unit_byte |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | &wc->lock | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_writecache)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-integrity.c dm_integrity_map() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| DATA_SOURCE | 0 | bio | $1 |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0[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 |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| UNITS | 1 | n_sectors | unit_byte |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-integrity.c dm_integrity_map_inline() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | n_sectors | 1-8388606 |
| CAPPED_DATA | 1 | n_sectors | 1 |
| DATA_SOURCE | 0 | bio | r dm_bio_from_per_bio_data |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfffbffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-crypt.c crypt_map() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 1 | n_sectors | 0-8388606 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| CAPPED_DATA | 1 | n_sectors | 1 |
| DATA_SOURCE | 0 | bio | $1 |
| DATA_SOURCE | 1 | n_sectors | r get_max_request_sectors |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xf7fbffff |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0[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 |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-crypt.c crypt_map() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 1 | n_sectors | 0-8388606 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| CAPPED_DATA | 1 | n_sectors | 1 |
| DATA_SOURCE | 0 | bio | $1 |
| BIT_INFO | 0 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0,512-4294966784[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 |
| USER_DATA | 0 | bio->bi_iter.bi_size | 0,512-4294966784[c] |
| USER_DATA | 0 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-flakey.c clone_bio() -> dm_accept_partial_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 4194305-u32max |
| PARAM_VALUE | 1 | n_sectors | 8192 |
| BUF_SIZE | 0 | bio | (-1),144 |
| BUF_SIZE | 0 | bio | (-1),144 |
| DATA_SOURCE | 0 | bio | $2 |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 4194305-u32max[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 | 4194305-u32max |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |