Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-target.c overwrite() -> remap_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 0 |
| PARAM_VALUE | 0 | cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3502486105687707648 |
| PARAM_VALUE | 1 | bio->bi_private | 4096-ptr_max |
| NOCHECK_CALL |
drivers/md/dm-cache-target.c process_flush_bio() -> remap_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->deferred_bios.head | 0 |
| PARAM_VALUE | 0 | cache->deferred_bios.tail | 0 |
| PARAM_VALUE | 0 | cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| PARAM_VALUE | 2 | cblock | 0 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | bio | $1 |
| BIT_INFO | 1 | bio->bi_opf | 0x40000,0xffffffffffffffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-cache-target.c remap_to_cache_dirty() -> remap_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->dirty_bitset | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 0-1,3-u32max |
| PARAM_VALUE | 0 | cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->need_tick_bio | 0 |
| PARAM_VALUE | 0 | cache->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->policy->lookup | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->prison | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->prison->cell_pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | cache->prison->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 1 | bio | (-1),144 |
| BUF_SIZE | 1 | bio | (-1),144 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | bio | $1 |
| DATA_SOURCE | 2 | cblock | $3 |
| NOSPEC | 1 | bio->bi_iter.bi_sector | |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_sector | 0 |
| 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 |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-cache-target.c remap_to_origin_and_cache() -> remap_to_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->bs.rescue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->dirty_bitset | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 1 |
| PARAM_VALUE | 0 | cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cache->origin_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->policy->lookup | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->prison | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->prison->cell_pool.curr_nr | s32min-s32max |
| PARAM_VALUE | 0 | cache->prison->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_crypt_context | 0-1,4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 1 | bio | (-1),144 |
| BUF_SIZE | 1 | bio | (-1),144 |
| CAPPED_DATA | 0 | &cache->bs | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | bio | $1 |
| DATA_SOURCE | 2 | cblock | $3 |
| NOSPEC | 1 | bio->bi_iter.bi_sector | |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_sector | 0 |
| 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 |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| HALF_LOCKED2 | &md->io_barrier |