Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-snap.c snapshot_map() -> io_overlaps_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 1 | bio | (-1),144 |
| BUF_SIZE | 1 | bio | (-1),144 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| DATA_SOURCE | 1 | bio | $1 |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 1 | bio->bi_iter.bi_sector | |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | bio->bi_iter.bi_sector | 0-u64max[c] |
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0-u64max[c] |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | 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() -> io_overlaps_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->store | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 0 | s | 16,40-s32max |
| BUF_SIZE | 1 | bio | (-1),144 |
| BUF_SIZE | 1 | bio | (-1),144 |
| CAPPED_DATA | 0 | &s->lock | 1 |
| DATA_SOURCE | 1 | bio | $1 |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 1 | bio->bi_iter.bi_sector | |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | bio->bi_iter.bi_sector | 0-u64max[c] |
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_sector | 0-u64max[c] |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | 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 |