Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/nvme/host/apple.c
- drivers/nvme/host/core.c
- drivers/nvme/host/fc.c
- drivers/nvme/host/multipath.c, line 1015
- drivers/nvme/host/sysfs.c
Smatch caller information:
drivers/nvme/host/fc.c nvme_fc_ctrl_connectivity_loss() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rport->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct nvme_fc_rport)->lock |
drivers/nvme/host/fc.c nvme_fc_error_recovery() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/nvme/host/core.c nvme_handle_aer_persistent_error() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->driver | 0,4096-ptr_max |
| DATA_SOURCE | 0 | ctrl | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &queue->send_mutex |
drivers/nvme/host/core.c nvme_keep_alive_work() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->admin_q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ctrl->ctratt | 64-u32max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->driver | 0,4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/host/core.c nvme_reset_ctrl_sync() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctrl | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/nvme/host/sysfs.c tls_configured_key_store() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts->concat | 1 |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctrl | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/host/sysfs.c tls_configured_key_store() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->host_key | 1-u64max |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts->concat | 1 |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctrl | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/host/sysfs.c tls_configured_key_store() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->host_key | 1-u64max |
| PARAM_VALUE | 0 | ctrl->opts | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->opts->concat | 1 |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctrl | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/host/apple.c apple_nvme_probe() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->admin_q | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->cdev.count | 0-1 |
| PARAM_VALUE | 0 | ctrl->cdev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctrl->cdev.kobj.ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | ctrl->cdev.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->cdev.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->cdev.ops | 4355003461846011904 |
| PARAM_VALUE | 0 | ctrl->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->fault_inject.dont_retry | 1 |
| PARAM_VALUE | 0 | ctrl->fault_inject.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->fault_inject.status | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ctrl->cdev.count |
drivers/nvme/host/apple.c apple_nvme_resume() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/apple.c apple_nvme_rtkit_crashed() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/host/apple.c apple_nvme_timeout() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->admin_q | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ctrl_config | 0,2-u32max |
| PARAM_VALUE | 0 | ctrl->state | 1 |
| PARAM_VALUE | 0 | ctrl->tagset | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &khd->lock |
drivers/nvme/host/multipath.c nvme_anatt_timeout() -> nvme_reset_ctrl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->device->driver | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |