Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/md/dm-cache-target.c
- drivers/md/dm-clone-target.c, line 833
- drivers/md/dm-kcopyd.c
- drivers/md/dm-raid1.c, line 374
- drivers/md/dm-snap.c
- drivers/md/dm-thin.c, line 1351
- drivers/md/dm-vdo/dm-vdo-target.c, line 2695
- drivers/md/dm-writecache.c, line 1929
- drivers/md/dm-zoned-reclaim.c, line 173
Smatch caller information:
drivers/md/dm-kcopyd.c dm_kcopyd_zero() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 0 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 0 | kc | (-1),560 |
| BUF_SIZE | 0 | kc | (-1),560 |
| BUF_SIZE | 6 | context | (-1),4,8-s32max |
| BUF_SIZE | 6 | context | (-1),4,8-s32max |
| DATA_SOURCE | 0 | kc | $0 |
| DATA_SOURCE | 2 | num_dests | $1 |
| DATA_SOURCE | 3 | dests | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| DATA_SOURCE | 5 | fn | $4 |
| DATA_SOURCE | 6 | context | $5 |
| NOSPEC | 3 | dests->sector | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | dests->sector | 0-u64max[c] |
| USER_DATA | 3 | dests->sector | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | kc->io_client->pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | kc->job_pool.min_nr | |
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-cache-target.c copy() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 1301758533358788608 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 5696811926160322560 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | 88 |
| NOCHECK_CALL |
drivers/md/dm-cache-target.c copy() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 5696811926160322560 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 1301758533358788608 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | 88 |
| NOCHECK_CALL |
drivers/md/dm-zoned-reclaim.c dmz_reclaim_copy() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 772126587947401216 |
| PARAM_VALUE | 1 | from->count | 8-17179869176 |
| PARAM_VALUE | 1 | from->sector | 0,8-18446744073709551608 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 3235745271008772096 |
| PARAM_VALUE | 3 | dests->count | 8-17179869176 |
| PARAM_VALUE | 3 | dests->sector | 0,8-18446744073709551608 |
| PARAM_VALUE | 4 | flags | 0,4 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| BIT_INFO | 4 | flags | 0x0,0x4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-clone-target.c hydration_copy() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 4029173944812539904 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 6938003163836424192 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-snap.c snapshot_merge_next_chunks() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 8780825680621432832 |
| PARAM_VALUE | 1 | from->count | 0-u32max |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 7498508767495811072 |
| PARAM_VALUE | 3 | dests->bdev | 4096-ptr_max |
| PARAM_VALUE | 3 | dests->count | 0-u32max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | (-1),4,8-s32max |
| DATA_SOURCE | 6 | context | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-snap.c start_copy() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 2783002724143607808 |
| PARAM_VALUE | 1 | from->bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | from->count | 0-u32max |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 4521498899035865088 |
| PARAM_VALUE | 3 | dests->count | 0-u32max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | global &_origins_lock |
drivers/md/dm-vdo/dm-vdo-target.c copy_partition() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 8391417063946776576 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | (-1),4,8-s32max |
| DATA_SOURCE | 6 | context | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-thin.c schedule_copy() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 8933063214070763520 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 3253471634098241536 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-writecache.c __writecache_writeback_ssd() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 1099012469652291584 |
| PARAM_VALUE | 2 | num_dests | 1 |
| PARAM_VALUE | 3 | dests | 259119183158681600 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | r mempool_alloc_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-raid1.c recover() -> dm_kcopyd_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 4350624816637239296 |
| PARAM_VALUE | 3 | dests | 3249121255080599552 |
| PARAM_VALUE | 4 | flags | 0,2 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 3 | dests | 192 |
| CAPPED_DATA | 2 | num_dests | 1 |
| DATA_SOURCE | 6 | context | $1 |
| BIT_INFO | 4 | flags | 0x0,0x2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |