Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/md.c hot_add_disk() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | super_format | (-1) |
| PARAM_VALUE | 2 | super_minor | 0 |
| DATA_SOURCE | 0 | newdev | $1 |
drivers/md/md.c md_add_new_disk() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 1 | super_format | unit_array_size |
| LOCK2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c md_add_new_disk() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 1 | super_format | unit_array_size |
| LOCK2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c md_add_new_disk() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | super_format | (-1) |
| PARAM_VALUE | 2 | super_minor | (-1) |
| LOCK2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c md_autostart_arrays() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | super_format | 0 |
| PARAM_VALUE | 2 | super_minor | 90 |
| UNITS | 0 | newdev | unit_array_size |
drivers/md/md.c new_dev_store() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | newdev | 0-u32max |
| UNITS | 1 | super_format | unit_array_size |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->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 new_dev_store() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | super_format | (-2) |
| PARAM_VALUE | 2 | super_minor | (-1) |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | newdev | 0-u32max |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->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 new_dev_store() -> md_import_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | super_format | (-1) |
| PARAM_VALUE | 2 | super_minor | (-1) |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | newdev | 0-u32max |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |