Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/md/dm-cache-target.c
- drivers/md/dm-crypt.c
- drivers/md/dm-delay.c, line 81
- drivers/md/dm-thin.c
- drivers/md/dm.c
Smatch caller information:
drivers/md/dm-cache-target.c accounted_request() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| DATA_SOURCE | 0 | clone | $1 |
| NOCHECK_CALL |
drivers/md/dm-cache-target.c invalidate_committed() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->bi_end_io | 3502486105687707648 |
| PARAM_VALUE | 0 | clone->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-cache-target.c process_bio() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| DATA_SOURCE | 0 | clone | $1 |
| BIT_INFO | 0 | clone->bi_opf | 0x0,0xfffbffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-cache-target.c process_discard_bio() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->bi_flags | 0-64511 |
| PARAM_VALUE | 0 | clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| DATA_SOURCE | 0 | clone | $1 |
| BIT_INFO | 0 | clone->bi_opf | 0x0,0xfffbffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-delay.c flush_bios() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| DATA_SOURCE | 0 | clone | $0 [m] |
| NOCHECK_CALL | |||
| UNITS | 0 | clone | unit_jiffy |
drivers/md/dm-thin.c issue() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->bi_flags | 0-64511 |
| PARAM_VALUE | 0 | clone->bi_opf | 131072-u32max |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| DATA_SOURCE | 0 | clone | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-thin.c process_deferred_bios() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| DATA_SOURCE | 0 | clone | r bio_list_pop |
| BIT_INFO | 0 | clone->bi_opf | 0x0,0xfffbffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm.c __map_bio() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| BUF_SIZE | 0 | clone | (-1),144 |
| BUF_SIZE | 0 | clone | (-1),144 |
| DATA_SOURCE | 0 | clone | $0 |
| NOSPEC | 0 | clone->bi_iter.bi_sector | |
| NOSPEC | 0 | clone->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | clone->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | clone->bi_iter.bi_size | 0[c] |
| HOST_DATA | 0 | clone->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | clone->bi_ioprio | 0-u16max |
| USER_DATA | 0 | clone->bi_iter.bi_sector | 0 |
| USER_DATA | 0 | clone->bi_iter.bi_size | 0 |
| USER_DATA | 0 | clone->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | clone->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | clone->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.c __send_empty_flush() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | clone->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | clone->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_disk->queue->blkg_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | clone->bi_cookie | u32max |
| PARAM_VALUE | 0 | clone->bi_crypt_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 0 | clone->bi_integrity | 0,4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | clone->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 0 | clone->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | clone->bi_iter.bi_sector | 0 |
| PARAM_VALUE | 0 | clone->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | clone->bi_next | 0 |
| PARAM_VALUE | 0 | clone->bi_opf | 0,65536-u32max |
| PARAM_VALUE | 0 | clone->bi_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_pool->bio_slab | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_private | 0 |
| PARAM_VALUE | 0 | clone->bi_status | 0 |
| PARAM_VALUE | 0 | clone->bi_vcnt | 0 |
| PARAM_VALUE | 0 | clone->issue_time_ns | 0 |
| PARAM_VALUE | 1 | tgt_clone | 0 |
| BUF_SIZE | 0 | clone | (-1),144 |
| BUF_SIZE | 0 | clone | (-1),144 |
| DATA_SOURCE | 0 | clone | r alloc_tio |
| NOSPEC | 0 | clone->bi_iter.bi_sector | |
| NOSPEC | 0 | clone->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | clone->bi_iter.bi_sector | 0 |
| HOST_DATA | 0 | clone->bi_iter.bi_size | 0[c] |
| HOST_DATA | 0 | clone->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | clone->bi_ioprio | 0-u16max |
| USER_DATA | 0 | clone->bi_iter.bi_sector | 0 |
| USER_DATA | 0 | clone->bi_iter.bi_size | 0 |
| USER_DATA | 0 | clone->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 0 | clone->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | clone->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-crypt.c kcryptd_crypt_write_io_submit() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-crypt.c kcryptd_io_read() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->__bi_cnt.counter | 1 |
| PARAM_VALUE | 1 | tgt_clone->__bi_nr_segments | u32max |
| PARAM_VALUE | 1 | tgt_clone->__bi_remaining.counter | 1 |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tgt_clone->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_cookie | u32max |
| PARAM_VALUE | 1 | tgt_clone->bi_crypt_context | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_end_io | 1100162144628105216 |
| PARAM_VALUE | 1 | tgt_clone->bi_flags | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_integrity | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_iocost_cost | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 1 | tgt_clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_status | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_write_hint | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_write_stream | 0 |
| PARAM_VALUE | 1 | tgt_clone->issue_time_ns | 0 |
| DATA_SOURCE | 1 | tgt_clone | r crypt_alloc_buffer |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | tgt_clone->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | tgt_clone->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-crypt.c kcryptd_io_read() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->bi_crypt_context | 0-1,4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->__bi_cnt.counter | 1 |
| PARAM_VALUE | 1 | tgt_clone->__bi_nr_segments | u32max |
| PARAM_VALUE | 1 | tgt_clone->__bi_remaining.counter | 1 |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tgt_clone->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_cookie | u32max |
| PARAM_VALUE | 1 | tgt_clone->bi_crypt_context | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_end_io | 1100162144628105216 |
| PARAM_VALUE | 1 | tgt_clone->bi_flags | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_integrity | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_iocost_cost | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_iter.bi_bvec_done | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_iter.bi_size | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 1 | tgt_clone->bi_next | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_opf | 0,65536-u32max |
| PARAM_VALUE | 1 | tgt_clone->bi_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | tgt_clone->bi_status | 0 |
| PARAM_VALUE | 1 | tgt_clone->bi_vcnt | 0 |
| PARAM_VALUE | 1 | tgt_clone->issue_time_ns | 0 |
| BUF_SIZE | 1 | tgt_clone->bi_pool | 624 |
| CAPPED_DATA | 1 | tgt_clone->bi_bdev | 1 |
| DATA_SOURCE | 1 | tgt_clone | r bio_alloc_clone |
| NOSPEC | 0 | clone->bi_iter.bi_sector | |
| NOSPEC | 0 | clone->bi_iter.bi_size | |
| NOSPEC | 1 | tgt_clone->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | clone->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | clone->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 1 | tgt_clone->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | tgt_clone->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 0 | clone->bi_ioprio | 0-u16max |
| USER_DATA | 0 | clone->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 0 | clone->bi_iter.bi_size | 0-u32max |
| USER_DATA | 1 | tgt_clone->bi_ioprio | 0-u16max |
| USER_DATA | 1 | tgt_clone->bi_iter.bi_size | 0 |
| USER_DATA | 1 | tgt_clone->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 1 | tgt_clone->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | tgt_clone->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-crypt.c kcryptd_io_write() -> dm_submit_bio_remap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |