Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-raid.c do_table_event() -> rs_set_rdev_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| CAPPED_DATA | 0 | rs->md.array_sectors | 1 |
| CAPPED_DATA | 0 | rs->md.raid_disks | 1 |
| CAPPED_DATA | 0 | rs->raid_disks | 1 |
| PARAM_COMPARE | 0 | rs->array_sectors | > $0->md.array_sectors |
| PARAM_COMPARE | 0 | rs->md.raid_disks | == $0->raid_disks |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-raid.c raid_preresume() -> rs_set_rdev_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 |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-raid.c raid_preresume() -> rs_set_rdev_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 |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-raid.c rs_set_dev_and_array_sectors() -> rs_set_rdev_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 |
| NOCHECK_CALL | |||
| 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 |