Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 nvme_epf 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.bar 0
PARAM_VALUE 0 nvme_epf->ctrl.cap 0
PARAM_VALUE 0 nvme_epf->ctrl.cc 0
PARAM_VALUE 0 nvme_epf->ctrl.cq 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.csts 0
PARAM_VALUE 0 nvme_epf->ctrl.enabled 0
PARAM_VALUE 0 nvme_epf->ctrl.io_cqes 0
PARAM_VALUE 0 nvme_epf->ctrl.io_sqes 0
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.alloc 0
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.curr_nr 1-s32max
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.elements 1-u64max
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.free 0
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.min_nr 0
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.pool_data 0
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.wait.head.next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.wait.head.prev 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.iod_pool.wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.irq_lock.dep_map->name 0-255
PARAM_VALUE 0 nvme_epf->ctrl.irq_lock.first_waiter 0
PARAM_VALUE 0 nvme_epf->ctrl.irq_lock.magic 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.irq_lock.owner.counter 0
PARAM_VALUE 0 nvme_epf->ctrl.irq_vector_threshold 0
PARAM_VALUE 0 nvme_epf->ctrl.irq_vectors 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.link_up 0
PARAM_VALUE 0 nvme_epf->ctrl.mps 0
PARAM_VALUE 0 nvme_epf->ctrl.mps_mask 0
PARAM_VALUE 0 nvme_epf->ctrl.mps_shift 0
PARAM_VALUE 0 nvme_epf->ctrl.nr_queues 1-128
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->ctrl.irq_lock.magic 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->ctrl.mdts 0-2097152
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->ctrl.mps_shift 0,12-27
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->ctrl.nr_queues 0-128
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->ctrl.nvme_epf 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->epc_features 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->irq_type 0-2,4
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->mdts_kb 0-2048
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->msix_table_offset 0,5120
PARAM_VALUE 0 nvme_epf->ctrl.nvme_epf->nr_vectors 0-2048
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.cpu 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.timer.entry.next 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.timer.expires 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.timer.flags 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.timer.function 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.work.entry.next 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.work.entry.prev 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.work.func 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_cc.wq 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.cpu 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.timer.expires 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.timer.flags 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.timer.function 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.work.entry.next 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.work.entry.prev 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.work.func 0
PARAM_VALUE 0 nvme_epf->ctrl.poll_sqs.wq 0
PARAM_VALUE 0 nvme_epf->ctrl.port 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.sq 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.sq_ab 0
PARAM_VALUE 0 nvme_epf->ctrl.tctrl 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->aen_enabled 2304
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->async_events.next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->async_events.next->next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->async_events.prev 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->async_events.prev->next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->async_events.prev->prev 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->cap 0,16777216-u64max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->changed_ns_list 16,4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->cqs 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->ctrl_key 0,4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->ctrl_key->len 32,48,64
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->dh_gid 0
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->dh_tfm 0
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->drvdata 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->err_counter 0
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->host_key 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->host_key->len 32,48,64
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->lock.dep_map->name 0-255
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->lock.first_waiter 0
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->lock.magic 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->ops 4166078988315271168
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->pi_support 0
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->pr_log_mgr.lock.dep_map->name 0-255
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->pr_log_mgr.lock.magic 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->ref.refcount.refs.counter 1
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->sqs 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_children.first 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb 4096-ptr_max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->debugfs_dir->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys->ref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 nvme_epf->ctrl.tctrl->subsys_entry.next 4096-ptr_max
PARAM_VALUE 0 nvme_epf->epc_features 4096-ptr_max
PARAM_VALUE 0 nvme_epf->epf->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 nvme_epf->epf->dev.class 0,4096-ptr_max
PARAM_VALUE 0 nvme_epf->epf->dev.driver 0,4096-ptr_max
BUF_SIZE 0 nvme_epf s32min-(-2),1-s32max
BUF_SIZE 0 nvme_epf s32min-(-2),1-s32max
CAPPED_DATA 0 nvme_epf->portid 1
MEM_ZERO 0 &nvme_epf->ctrl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 nvme_epf unit_byte
LOCK2 &epf->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &epc->list_lock
TYPE_LOCK (struct pci_epf)->lock