Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvme/host/pci.c nvme_reset_prepare() -> nvme_disable_prepare_reset()

Type Parameter Key Value
PARAM_VALUE 1 shutdown 0
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/nvme/host/pci.c nvme_shutdown() -> nvme_disable_prepare_reset()

Type Parameter Key Value
PARAM_VALUE 1 shutdown 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
LOCK2 &dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex

drivers/nvme/host/pci.c nvme_simple_suspend() -> nvme_disable_prepare_reset()

Type Parameter Key Value
PARAM_VALUE 1 shutdown 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/host/pci.c nvme_suspend() -> nvme_disable_prepare_reset()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->last_ps u32max
PARAM_VALUE 1 shutdown 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

drivers/nvme/host/pci.c nvme_suspend() -> nvme_disable_prepare_reset()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ctrl.admin_q 0,4096-ptr_max
PARAM_VALUE 0 dev->ctrl.admin_q->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->ctrl.admin_q->timeout.entry.pprev 0
PARAM_VALUE 0 dev->ctrl.admin_q->timeout.flags 0-4194302
PARAM_VALUE 0 dev->ctrl.admin_q->timeout.function 0
PARAM_VALUE 0 dev->ctrl.admin_q->timeout_work.lockdep_map->name 0-255
PARAM_VALUE 0 dev->ctrl.npss 1-255
PARAM_VALUE 0 dev->ctrl.srcu.dep_map->name 0-255
PARAM_VALUE 0 dev->ctrl.srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 dev->ctrl.state 1
PARAM_VALUE 1 shutdown 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
BIT_INFO 0 dev->ctrl.quirks 0x0,0xfffffffffffffbff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte