Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/nvme/target/loop.c nvme_loop_create_ctrl() -> nvme_init_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 2 ops 4320474984001560576
PARAM_VALUE 3 quirks 0
DATA_SOURCE 1 dev $0
LOCK2 global &nvmf_dev_mutex

drivers/nvme/host/fc.c nvme_fc_alloc_ctrl() -> nvme_init_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->cntlid u16max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 2 ops 4596163503174680576
PARAM_VALUE 3 quirks 0
DATA_SOURCE 1 dev $0
NO_OVERFLOW_SIMPLE 0 ctrl->queue_count
LOCK2 global &nvmf_dev_mutex

drivers/nvme/host/rdma.c nvme_rdma_alloc_ctrl() -> nvme_init_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 2 ops 6763907134574174208
PARAM_VALUE 3 quirks 0
DATA_SOURCE 1 dev $0
NO_OVERFLOW_SIMPLE 0 ctrl->queue_count
LOCK2 global &nvmf_dev_mutex

drivers/nvme/host/pci.c nvme_pci_alloc_dev() -> nvme_init_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 2 ops 8348334002635730944
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/nvme/host/apple.c apple_nvme_alloc() -> nvme_init_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->admin_tagset 4096-ptr_max
PARAM_VALUE 0 ctrl->tagset 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
PARAM_VALUE 1 dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 1 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 1 dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dev->dma_pools.next->next 4096-ptr_max
PARAM_VALUE 1 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 dev->kobj.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 dev->kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 1 dev->links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 1 dev->power.entry.next->prev 4096-ptr_max
PARAM_VALUE 2 ops 8869523428125134848
PARAM_VALUE 3 quirks 131074
BUF_SIZE 1 dev 1616
CAPPED_DATA 1 dev 1
MEM_ZERO 0 ctrl
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/host/tcp.c nvme_tcp_alloc_ctrl() -> nvme_init_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->opts 4096-ptr_max
PARAM_VALUE 2 ops 5485917755407257600
PARAM_VALUE 3 quirks 0
DATA_SOURCE 1 dev $0
NO_OVERFLOW_SIMPLE 0 ctrl->queue_count
LOCK2 global &nvmf_dev_mutex