Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/raid1.c raid1_add_disk() -> raid1_add_conf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->mirrors | 4096-ptr_max |
| PARAM_VALUE | 1 | rdev | 4096-ptr_max |
| PARAM_VALUE | 2 | disk | 0-s32max |
| PARAM_VALUE | 3 | replacement | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 1 | rdev | (-1),760 |
| BUF_SIZE | 1 | rdev | (-1),760 |
| CAPPED_DATA | 2 | disk | 1 |
| DATA_SOURCE | 1 | rdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | rdev->bdev_file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | rdev->bdev_file->f_inode->i_size | |
| UNITS | 2 | disk | unit_byte |
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/md/raid1.c raid1_add_disk() -> raid1_add_conf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->mirrors | 4096-ptr_max |
| PARAM_VALUE | 1 | rdev | 4096-ptr_max |
| PARAM_VALUE | 2 | disk | 0-s32max |
| PARAM_VALUE | 3 | replacement | 1 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 1 | rdev | (-1),760 |
| BUF_SIZE | 1 | rdev | (-1),760 |
| CAPPED_DATA | 2 | disk | 1 |
| DATA_SOURCE | 1 | rdev | $1 |
| FUZZY_MAX | 2 | disk | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | rdev->bdev_file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | rdev->bdev_file->f_inode->i_size | |
| UNITS | 2 | disk | unit_byte |
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/md/raid1.c setup_conf() -> raid1_add_conf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->mirrors | 16,4096-ptr_max |
| PARAM_VALUE | 0 | conf->raid_disks | (-2147483647)-s32max |
| PARAM_VALUE | 1 | rdev | 4096-ptr_max |
| PARAM_VALUE | 1 | rdev->raid_disk | 0-2147483646 |
| PARAM_VALUE | 2 | disk | 0-2147483646 |
| BUF_SIZE | 0 | conf | 1216 |
| BUF_SIZE | 0 | conf->barrier | 0-u64max |
| BUF_SIZE | 0 | conf->mirrors | 0-u64max |
| BUF_SIZE | 0 | conf->nr_pending | 0-u64max |
| BUF_SIZE | 0 | conf->nr_queued | 0-u64max |
| BUF_SIZE | 0 | conf->nr_waiting | 0-u64max |
| BUF_SIZE | 0 | conf->r1bio_pool | (-1),200 |
| CAPPED_DATA | 2 | disk | 1 |
| DATA_SOURCE | 0 | conf | r _kzalloc_noprof |
| PARAM_COMPARE | 0 | conf->raid_disks | > $2 |
| PARAM_COMPARE | 2 | disk | < $0->raid_disks |
| NO_OVERFLOW_SIMPLE | 0 | conf->r1bio_pool->min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | conf->raid_disks | |
| UNITS | 2 | disk | unit_byte |