Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-snap-persistent.c area_io() -> chunk_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 3 | opf | 0,393217,395265 |
| PARAM_VALUE | 4 | metadata | 0 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 1 | area | 512-s32max |
| DATA_SOURCE | 0 | ps | $0 |
| DATA_SOURCE | 2 | chunk | r area_location |
| DATA_SOURCE | 3 | opf | $1 |
| HARD_MAX | 3 | opf | 395265 |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-snap-persistent.c read_header() -> chunk_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->area | 1-u64max |
| PARAM_VALUE | 0 | ps->header_area | 1-u64max |
| PARAM_VALUE | 0 | ps->io_client | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->io_client->bios.back_pad | 0,64 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->bios.bio_pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->bios.bvec_pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->bios.front_pad | 0 |
| PARAM_VALUE | 0 | ps->io_client->bios.rescue_list.head | 0 |
| PARAM_VALUE | 0 | ps->io_client->bios.rescue_list.tail | 0 |
| PARAM_VALUE | 0 | ps->io_client->pool.alloc | 7276475779886346240 |
| PARAM_VALUE | 0 | ps->io_client->pool.curr_nr | 1-s32max |
| PARAM_VALUE | 0 | ps->io_client->pool.free | 8263660038527102976 |
| PARAM_VALUE | 0 | ps->io_client->pool.min_nr | 1-1024 |
| PARAM_VALUE | 0 | ps->store | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->store->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | ps->zero_area | 1-u64max |
| PARAM_VALUE | 1 | area | 1-u64max |
| PARAM_VALUE | 2 | chunk | 0 |
| PARAM_VALUE | 3 | opf | 0 |
| PARAM_VALUE | 4 | metadata | 1 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps->io_client | 824 |
| BUF_SIZE | 1 | area | 512-s32max |
| CAPPED_DATA | 0 | ps->area | 1 |
| DATA_SOURCE | 0 | ps | $0 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-snap-persistent.c write_header() -> chunk_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->header_area | 4096-ptr_max |
| PARAM_VALUE | 0 | ps->store | 4096-ptr_max |
| PARAM_VALUE | 1 | area | 4096-ptr_max |
| PARAM_VALUE | 2 | chunk | 0 |
| PARAM_VALUE | 3 | opf | 1 |
| PARAM_VALUE | 4 | metadata | 1 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps->callbacks | (-1)-0,512-s32max |
| BUF_SIZE | 1 | area | 512-s32max |
| DATA_SOURCE | 0 | ps | $0 |
| MEM_ZERO | 0 | ps->header_area | |
| MEM_ZERO | 1 | area | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ps->exceptions_per_area | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->bios.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->bios.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->bios.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ps->store->chunk_size | |
| HALF_LOCKED2 | &s->lock |
drivers/md/dm-snap-persistent.c zero_disk_area() -> chunk_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ps | 4096-ptr_max |
| PARAM_VALUE | 3 | opf | 1 |
| PARAM_VALUE | 4 | metadata | 0 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps | 8,104 |
| BUF_SIZE | 0 | ps->callbacks | (-1)-0,512-s32max |
| BUF_SIZE | 1 | area | 512-s32max |
| CAPPED_DATA | 0 | ps->exceptions_per_area | 1 |
| DATA_SOURCE | 0 | ps | $0 |
| NO_OVERFLOW_SIMPLE | 0 | ps->exceptions_per_area | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->bios.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->bios.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->bios.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | ps->io_client->pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ps->store->chunk_size | |
| HALF_LOCKED2 | &pool->lock |