Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvme/target/pci-epf.c nvmet_pci_epf_epc_deinit() -> nvmet_pci_epf_destroy_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
BUF_SIZE 0 ctrl 872
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &epc->list_lock
LOCK2 &epf->lock
TYPE_LOCK (struct pci_epc)->list_lock
TYPE_LOCK (struct pci_epf)->lock

drivers/nvme/target/pci-epf.c nvmet_pci_epf_epc_init() -> nvmet_pci_epf_destroy_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->bar 0
PARAM_VALUE 0 ctrl->cap 0
PARAM_VALUE 0 ctrl->cc 0
PARAM_VALUE 0 ctrl->cq 4096-ptr_max
PARAM_VALUE 0 ctrl->csts 0
PARAM_VALUE 0 ctrl->enabled 0
PARAM_VALUE 0 ctrl->io_cqes 0
PARAM_VALUE 0 ctrl->io_sqes 0
PARAM_VALUE 0 ctrl->iod_pool.alloc 0
PARAM_VALUE 0 ctrl->iod_pool.curr_nr 1-s32max
PARAM_VALUE 0 ctrl->iod_pool.elements 1-u64max
PARAM_VALUE 0 ctrl->iod_pool.free 0
PARAM_VALUE 0 ctrl->iod_pool.pool_data 0
PARAM_VALUE 0 ctrl->iod_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 ctrl->iod_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ctrl->irq_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->irq_lock.owner.counter 0
PARAM_VALUE 0 ctrl->irq_vectors 4096-ptr_max
PARAM_VALUE 0 ctrl->link_up 0
PARAM_VALUE 0 ctrl->mps 0
PARAM_VALUE 0 ctrl->mps_mask 0
PARAM_VALUE 0 ctrl->nr_queues 1-128
PARAM_VALUE 0 ctrl->nvme_epf 4096-ptr_max
PARAM_VALUE 0 ctrl->poll_cc.work.data.counter 0
PARAM_VALUE 0 ctrl->poll_cc.work.entry.next 0
PARAM_VALUE 0 ctrl->poll_cc.work.entry.prev 0
PARAM_VALUE 0 ctrl->poll_cc.work.func 0
PARAM_VALUE 0 ctrl->poll_sqs.work.data.counter 0
PARAM_VALUE 0 ctrl->poll_sqs.work.entry.next 0
PARAM_VALUE 0 ctrl->poll_sqs.work.entry.prev 0
PARAM_VALUE 0 ctrl->poll_sqs.work.func 0
PARAM_VALUE 0 ctrl->port 4096-ptr_max
PARAM_VALUE 0 ctrl->sq 4096-ptr_max
PARAM_VALUE 0 ctrl->sq_ab 0
PARAM_VALUE 0 ctrl->tctrl 4096-ptr_max
MEM_ZERO 0 ctrl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &epf->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epc->list_lock
TYPE_LOCK (struct pci_epf)->lock

drivers/nvme/target/pci-epf.c nvmet_pci_epf_unbind() -> nvmet_pci_epf_destroy_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epf->lock
HALF_LOCKED2 &epf->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct pci_epf)->lock