Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-raid.c raid_ctr() -> _get_reshape_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| BUF_SIZE | 0 | rs | 5776-201328 |
| BUF_SIZE | 0 | rs | 5776-201328 |
| CAPPED_DATA | 0 | rs->raid_disks | 1 |
| CAPPED_DATA | 0 | rs->raid_type->parity_devs | 1 |
| CAPPED_DATA | 0 | rs->ti->begin | 1 |
| DATA_SOURCE | 0 | rs | r raid_set_alloc |
| STR_LEN | 0 | rs->ti->error | 13 |
| TERMINATED | 0 | rs->ti->error | 1 |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | rs->ti->len | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid.c rs_set_dev_and_array_sectors() -> _get_reshape_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| BUF_SIZE | 0 | rs | 16,40-s32max |
| BUF_SIZE | 0 | rs | 16,40-s32max |
| DATA_SOURCE | 0 | rs | $0 |
| STR_LEN | 0 | rs->ti->error | (-1),13 |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | rs->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | rs->ti->len | |
| HALF_LOCKED2 | &mddev->reconfig_mutex |
drivers/md/dm-raid.c rs_set_dev_and_array_sectors() -> _get_reshape_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| BUF_SIZE | 0 | rs | 16,40-s32max |
| BUF_SIZE | 0 | rs | 16,40-s32max |
| DATA_SOURCE | 0 | rs | $0 |
| STR_LEN | 0 | rs->ti->error | (-1),13 |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.bio_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.io_clone_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | rs->md.sync_set.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | rs->ti->begin | |
| NO_OVERFLOW_SIMPLE | 0 | rs->ti->len | |
| HALF_LOCKED2 | &mddev->reconfig_mutex |
drivers/md/dm-raid.c rs_setup_reshape() -> _get_reshape_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| BUF_SIZE | 0 | rs | 16,40-s32max |
| BUF_SIZE | 0 | rs | 16,40-s32max |
| DATA_SOURCE | 0 | rs | $0 |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |