Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/nvme/host/core.c nvme_free_ctrl() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q 0,4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->callback_head.func 1-u64max
PARAM_VALUE 0 ctrl->admin_q->callback_head.next 0
PARAM_VALUE 0 ctrl->ana_log_buf 0
PARAM_VALUE 0 ctrl->ana_log_size 0
PARAM_VALUE 0 ctrl->cels.xa_head 0
PARAM_VALUE 0 ctrl->cels.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->fabrics_q 0,4096-ptr_max
PARAM_VALUE 0 ctrl->fabrics_q->callback_head.func 1-u64max
PARAM_VALUE 0 ctrl->fabrics_q->callback_head.next 0
PARAM_VALUE 0 ctrl->srcu.srcu_sup 0,4096-ptr_max
PARAM_VALUE 0 ctrl->subsys 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvme/host/core.c nvme_fw_act_work() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/host/core.c nvme_stop_ctrl() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
DATA_SOURCE 0 ctrl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ctrl unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/nvme/host/rdma.c nvme_rdma_error_recovery_work() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q 4096-ptr_max
PARAM_VALUE 0 ctrl->queue_count 0-s32max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/nvme/host/sysfs.c nvme_ctrl_dhchap_ctrl_secret_store() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 0 ctrl->opts->dhchap_ctrl_secret 1-u64max
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 nvme_ctrl_dhchap_secret_store() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 0 ctrl->opts->dhchap_secret 1-u64max
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/tcp.c nvme_tcp_error_recovery_work() -> nvme_auth_stop()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->lock.owner 0,(-1)
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->lock.owner_cpu 0,u32max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->sda_is_static 1
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_barrier_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_barrier_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_cb_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_cb_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_gp_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_gp_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_gp_seq 18446744073709551216
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_gp_seq_needed 0,4-u64max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_gp_seq_needed_exp 18446744073709551216
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_size_state 0-1,8
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_ssp 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_ssp->sda 1-u64max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->srcu_ssp->srcu_sup 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->work.work.entry.next 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->work.work.entry.prev 2076614606316732416
PARAM_VALUE 0 ctrl->admin_q->tag_set->srcu->srcu_sup->work.work.entry.prev->prev 2076614606316732416
PARAM_VALUE 0 ctrl->admin_q->timeout.entry.pprev 0
PARAM_VALUE 0 ctrl->admin_q->timeout.flags 0-4194302
PARAM_VALUE 0 ctrl->admin_q->timeout.function 0
PARAM_VALUE 0 ctrl->admin_q->timeout_work.lockdep_map->name 0-255
PARAM_VALUE 0 ctrl->admin_tagset 0,4096-ptr_max
PARAM_VALUE 0 ctrl->admin_tagset->tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 ctrl->async_event_work.lockdep_map->name 0-255
PARAM_VALUE 0 ctrl->ops->reg_read32 4096-ptr_max
PARAM_VALUE 0 ctrl->ops->reg_read64 4096-ptr_max
PARAM_VALUE 0 ctrl->ops->reg_write32 4096-ptr_max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 0 ctrl->queue_count 0-s32max
PARAM_VALUE 0 ctrl->tls_pskid 0
BUF_SIZE 0 ctrl 5640
CAPPED_DATA 0 ctrl->queue_count 1
CAPPED_DATA 0 &ctrl->async_event_work 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock