Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/md.c chunk_size_store() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers->check_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mddev->ro | 0 |
| DATA_SOURCE | 0 | mddev | $0 |
| CAPABLE | 0 | 21 | |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mddev->new_chunk_sectors | s32min-s32max |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &mddev->reconfig_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c layout_store() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers->check_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mddev->ro | 0 |
| DATA_SOURCE | 0 | mddev | $0 |
| CAPABLE | 0 | 21 | |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mddev->new_layout | |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &mddev->reconfig_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c md_choose_sync_action() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers->check_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mddev->reshape_position | 0-18446744073709551614 |
| PARAM_VALUE | 0 | mddev->ro | 0 |
| DATA_SOURCE | 0 | mddev | $0 |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| LOCK2 | 0 | &mddev->reconfig_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c mddev_start_reshape() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->gendisk->part0->bd_device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mddev->gendisk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | mddev->gendisk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mddev->gendisk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mddev->gendisk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mddev->gendisk->queue_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers->check_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->pers->start_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->pers->sync_request | 1-u64max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mddev->reshape_position | 0-18446744073709551614 |
| DATA_SOURCE | 0 | mddev | $0 |
| CAPABLE | 0 | 21 | |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &mddev->reconfig_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c update_array_info() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->chunk_sectors | (-4194304)-4194303 |
| PARAM_VALUE | 0 | mddev->ctime | 0-4294967295 |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers->check_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->persistent | 0-1 |
| CAPPED_DATA | 0 | mddev->chunk_sectors | 1 |
| CAPPED_DATA | 0 | mddev->ctime | 1 |
| CAPPED_DATA | 0 | mddev->level | 1 |
| CAPPED_DATA | 0 | mddev->major_version | 1 |
| CAPPED_DATA | 0 | mddev->minor_version | 1 |
| CAPPED_DATA | 0 | mddev->persistent | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| USER_DATA | 0 | mddev->new_layout | s32min-s32max |
drivers/md/md.c update_raid_disks() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->max_disks | 0,2-s32max |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->pers->check_reshape | 1-u64max |
| PARAM_VALUE | 0 | mddev->reshape_position | u64max |
| PARAM_VALUE | 0 | mddev->ro | 0 |
| DATA_SOURCE | 0 | mddev | $0 |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cinfo->recv_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &mddev->reconfig_mutex |
drivers/md/dm-raid.c raid_ctr() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->degraded | 0 |
| PARAM_VALUE | 0 | mddev->level | 1,4-6,10 |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->reshape_position | u64max |
| CONTAINER | 0 | -120-8+0 | $(-1) |
| NO_OVERFLOW_SIMPLE | 0 | mddev->bio_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | mddev->bio_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | mddev->io_clone_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | mddev->io_clone_set.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | mddev->sync_set.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | mddev->sync_set.bvec_pool.min_nr | |
| LOCK2 | &rs->md.reconfig_mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/dm-raid.c rs_start_reshape() -> (struct md_personality)->check_reshape()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->bitmap_info.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mddev->bitmap_info.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mddev->pers | 4096-ptr_max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mddev->reconfig_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | mddev | 4112 |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |