Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-snap.c snapshot_map() -> remap_exception()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 0 | s->valid | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 2 | bio->bi_next | 0 |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 2 | bio | (-1),144 |
| BUF_SIZE | 2 | bio | (-1),144 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CAPPED_DATA | 1 | e->old_chunk | 1 |
| CAPPED_DATA | 3 | chunk | 1 |
| CAPPED_DATA | 3 | chunk | 1 |
| DATA_SOURCE | 1 | e | r dm_lookup_exception |
| DATA_SOURCE | 2 | bio | $1 |
| DATA_SOURCE | 3 | chunk | r sector_to_chunk |
| BIT_INFO | 2 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 2 | bio->bi_iter.bi_sector | |
| NOSPEC | 2 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 2 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 3 | chunk | 0[c] |
| USER_DATA | 2 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 2 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 3 | chunk | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | lock.complete_slot | ||
| LOCK2 | lock.pending_slot | ||
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_snapshot)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-snap.c snapshot_map() -> remap_exception()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 0 | s->valid | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 2 | bio->bi_next | 0 |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 2 | bio | (-1),144 |
| BUF_SIZE | 2 | bio | (-1),144 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CAPPED_DATA | 1 | e->old_chunk | 1 |
| CAPPED_DATA | 3 | chunk | 1 |
| CAPPED_DATA | 3 | chunk | 1 |
| DATA_SOURCE | 1 | e | r dm_lookup_exception |
| DATA_SOURCE | 2 | bio | $1 |
| DATA_SOURCE | 3 | chunk | r sector_to_chunk |
| BIT_INFO | 2 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 2 | bio->bi_iter.bi_sector | |
| NOSPEC | 2 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 2 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 3 | chunk | 0[c] |
| USER_DATA | 2 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 2 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 3 | chunk | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | lock.complete_slot | ||
| LOCK2 | lock.pending_slot | ||
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_snapshot)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-snap.c snapshot_map() -> remap_exception()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | s->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 0 | s->valid | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 2 | bio->bi_next | 0 |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 2 | bio | (-1),144 |
| BUF_SIZE | 2 | bio | (-1),144 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| DATA_SOURCE | 2 | bio | $1 |
| DATA_SOURCE | 3 | chunk | r sector_to_chunk |
| BIT_INFO | 2 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 2 | bio->bi_iter.bi_sector | |
| NOSPEC | 2 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | e->old_chunk | 0[c] |
| HOST_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 2 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 3 | chunk | 0[c] |
| USER_DATA | 1 | e->old_chunk | 0[c] |
| USER_DATA | 2 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 2 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 3 | chunk | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | lock.complete_slot | ||
| LOCK2 | lock.pending_slot | ||
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_snapshot)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-snap.c snapshot_merge_map() -> remap_exception()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | s->lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | s->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | s->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | s->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | s->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 0 | s->valid | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 2 | bio->bi_next | 0 |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 2 | bio | (-1),144 |
| BUF_SIZE | 2 | bio | (-1),144 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| CAPPED_DATA | 1 | e->old_chunk | 1 |
| CAPPED_DATA | 3 | chunk | 1 |
| CAPPED_DATA | 3 | chunk | 1 |
| DATA_SOURCE | 1 | e | r dm_lookup_exception |
| DATA_SOURCE | 2 | bio | $1 |
| DATA_SOURCE | 3 | chunk | r sector_to_chunk |
| BIT_INFO | 2 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 2 | bio->bi_iter.bi_sector | |
| NOSPEC | 2 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| HOST_DATA | 2 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HOST_DATA | 3 | chunk | 0[c] |
| USER_DATA | 2 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 2 | bio->bi_iter.bi_sector | 0 |
| USER_DATA | 2 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 2 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 3 | chunk | 0[c] |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 2 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &s->lock | |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct dm_snapshot)->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |