Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kvm/x86.c kvm_arch_vcpu_create() -> kvm_mmu_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic 0,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_advance_ns 0-5000
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode 0,131072-393216
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode_mask 131072,393216
PARAM_VALUE 0 vcpu->arch.emulate_ctxt 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate 0,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->is_guest 1
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->is_valloc 1
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->regs.fxsave.cwd 895
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->regs.fxsave.mxcsr 8064
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->regs.xsave.header.xcomp_bv 9223372036854775808-9223372036855439103
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->user_xfeatures 0-656127
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->xfd 0,262144
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->xfeatures 0-663295
PARAM_VALUE 0 vcpu->arch.guest_fpu.uabi_size 4096-u32max
PARAM_VALUE 0 vcpu->arch.guest_fpu.xfeatures 0-663295
PARAM_VALUE 0 vcpu->arch.guest_mmu->pae_root 0
PARAM_VALUE 0 vcpu->arch.guest_mmu->prev_roots 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.guest_mmu.mirror_root_hpa u64max
PARAM_VALUE 0 vcpu->arch.guest_mmu.pae_root 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->arch.guest_mmu.root.hpa u64max
PARAM_VALUE 0 vcpu->arch.guest_mmu.root.pgd 0
PARAM_VALUE 0 vcpu->arch.guest_mmu.w 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.hv_root_tdp u64max
PARAM_VALUE 0 vcpu->arch.last_vmentry_cpu (-1)
PARAM_VALUE 0 vcpu->arch.mce_banks 0,16,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.mci_ctl2_banks 0,16,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.mmu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.mmu_page_header_cache.gfp_zero 256
PARAM_VALUE 0 vcpu->arch.mmu_pte_list_desc_cache.gfp_zero 256
PARAM_VALUE 0 vcpu->arch.mmu_shadow_page_cache.gfp_zero 256
PARAM_VALUE 0 vcpu->arch.mmu_shadow_page_cache.init_value 9223372036854775808
PARAM_VALUE 0 vcpu->arch.mp_state 0-1
PARAM_VALUE 0 vcpu->arch.pending_external_vector (-1)
PARAM_VALUE 0 vcpu->arch.pio_data 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->arch.pmu.__reprogram_pmi.counter 0
PARAM_VALUE 0 vcpu->arch.pmu.available_event_types 0
PARAM_VALUE 0 vcpu->arch.pmu.ds_area 0
PARAM_VALUE 0 vcpu->arch.pmu.event_count 0
PARAM_VALUE 0 vcpu->arch.pmu.fixed_ctr_ctrl 0
PARAM_VALUE 0 vcpu->arch.pmu.fixed_ctr_ctrl_hw 0
PARAM_VALUE 0 vcpu->arch.pmu.fixed_ctr_ctrl_rsvd 0
PARAM_VALUE 0 vcpu->arch.pmu.global_ctrl 0
PARAM_VALUE 0 vcpu->arch.pmu.global_ctrl_rsvd 0
PARAM_VALUE 0 vcpu->arch.pmu.global_status 0
PARAM_VALUE 0 vcpu->arch.pmu.global_status_rsvd 0
PARAM_VALUE 0 vcpu->arch.pmu.host_cross_mapped_mask 0
PARAM_VALUE 0 vcpu->arch.pmu.need_cleanup 0
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_fixed_counters 0
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0
PARAM_VALUE 0 vcpu->arch.pmu.pebs_data_cfg 0
PARAM_VALUE 0 vcpu->arch.pmu.pebs_data_cfg_rsvd 0
PARAM_VALUE 0 vcpu->arch.pmu.pebs_enable 0
PARAM_VALUE 0 vcpu->arch.pmu.pebs_enable_rsvd 0
PARAM_VALUE 0 vcpu->arch.pmu.raw_event_mask 0
PARAM_VALUE 0 vcpu->arch.pmu.reserved_bits 0
PARAM_VALUE 0 vcpu->arch.pmu.version 0
PARAM_VALUE 0 vcpu->arch.preempted_in_kernel 0
PARAM_VALUE 0 vcpu->arch.pv_time.active 0
PARAM_VALUE 0 vcpu->arch.pv_time.gpa u64max
PARAM_VALUE 0 vcpu->arch.pv_time.kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pv_time.kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->arch.pv_time.kvm->max_vcpus (-2147483647)-s32max
PARAM_VALUE 0 vcpu->arch.pv_time.lock.magic 3736018669
PARAM_VALUE 0 vcpu->arch.pv_time.lock.owner (-1)
PARAM_VALUE 0 vcpu->arch.pv_time.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->arch.pv_time.pfn 9218868437227405312
PARAM_VALUE 0 vcpu->arch.pv_time.refresh_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.pv_time.refresh_lock.magic 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pv_time.uhva 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->arch.pv_time.valid 0
PARAM_VALUE 0 vcpu->arch.root_mmu->pae_root 0
PARAM_VALUE 0 vcpu->arch.root_mmu->prev_roots 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.root_mmu.mirror_root_hpa u64max
PARAM_VALUE 0 vcpu->arch.root_mmu.pae_root 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->arch.root_mmu.root.hpa u64max
PARAM_VALUE 0 vcpu->arch.root_mmu.root.pgd 0
PARAM_VALUE 0 vcpu->arch.root_mmu.w 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.done.next 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.done.next->next 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.done.prev 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.done.prev->next 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.done.prev->prev 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.queue.next 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.queue.next->next 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.queue.prev 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.queue.prev->next 4096-ptr_max
PARAM_VALUE 0 vcpu->async_pf.queue.prev->prev 4096-ptr_max
PARAM_VALUE 0 vcpu->cpu (-1)
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.created_mediated_pmu 1
PARAM_VALUE 0 vcpu->kvm->arch.enable_pmu 0
PARAM_VALUE 0 vcpu->kvm->arch.max_vcpu_ids 1-u32max
PARAM_VALUE 0 vcpu->kvm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->kvm->max_vcpus (-2147483647)-s32max
PARAM_VALUE 0 vcpu->kvm->vm_dead 0
PARAM_VALUE 0 vcpu->last_used_slot 0
PARAM_VALUE 0 vcpu->pid 0
PARAM_VALUE 0 vcpu->pid_lock.magic 3736018669
PARAM_VALUE 0 vcpu->pid_lock.owner (-1)
PARAM_VALUE 0 vcpu->pid_lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->preempt_notifier.link.next 0
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 0
PARAM_VALUE 0 vcpu->preempt_notifier.ops 3720806332002312192
PARAM_VALUE 0 vcpu->preempt_notifier.ops->sched_in 0,9110675458964602880
PARAM_VALUE 0 vcpu->preempt_notifier.ops->sched_out 0,435091332528357376
PARAM_VALUE 0 vcpu->preempted 0
PARAM_VALUE 0 vcpu->ready 0
PARAM_VALUE 0 vcpu->run 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->spin_loop.dy_eligible 0
PARAM_VALUE 0 vcpu->spin_loop.in_spin_loop 0
PARAM_VALUE 0 vcpu->vcpu_id 0-16383
PARAM_VALUE 0 vcpu->vcpu_idx (-1)
PARAM_VALUE 0 vcpu->wait.task 0
PARAM_VALUE 0 *vcpu->arch.apf.gfns (-1)
PARAM_VALUE 0 *vcpu->stats_id 0-255
BUF_SIZE 0 vcpu->arch.mce_banks 8,u64max
BUF_SIZE 0 vcpu->arch.mci_ctl2_banks 8,u64max
CAPPED_DATA 0 vcpu->arch.apic 1
CAPPED_DATA 0 vcpu->arch.emulate_ctxt 1
CAPPED_DATA 0 vcpu->arch.mce_banks 1
CAPPED_DATA 0 vcpu->arch.mci_ctl2_banks 1
CAPPED_DATA 0 vcpu->arch.pio_data 1
CAPPED_DATA 0 vcpu->vcpu_id 1
DATA_SOURCE 0 vcpu $0
NOSPEC 0 vcpu->vcpu_id
MEM_ZERO 0 vcpu->arch.regs_avail
MEM_ZERO 0 vcpu->arch.regs_dirty
NOCHECK_CALL
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.vm_type 0-7
USER_DATA 0 vcpu->vcpu_id 1-16383[c]

arch/x86/kvm/x86.c kvm_arch_vcpu_destroy() -> kvm_mmu_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic 0,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate 0,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.guest_mmu->pae_root 0
PARAM_VALUE 0 vcpu->arch.hyperv 0
PARAM_VALUE 0 vcpu->arch.mmio_gva 0
PARAM_VALUE 0 vcpu->arch.pmu.fixed_ctr_ctrl 0
PARAM_VALUE 0 vcpu->arch.pmu.fixed_ctr_ctrl_hw 0
PARAM_VALUE 0 vcpu->arch.pmu.global_ctrl 0
PARAM_VALUE 0 vcpu->arch.pmu.global_status 0
PARAM_VALUE 0 vcpu->arch.pmu.need_cleanup 0
PARAM_VALUE 0 vcpu->arch.pv_time.active 0
PARAM_VALUE 0 vcpu->arch.pv_time.khva 0
PARAM_VALUE 0 vcpu->arch.pv_time.kvm->gpc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.pv_time.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.pv_time.lock.owner (-1)
PARAM_VALUE 0 vcpu->arch.pv_time.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->arch.pv_time.pfn 9218868437227405312
PARAM_VALUE 0 vcpu->arch.pv_time.valid 0
PARAM_VALUE 0 vcpu->arch.root_mmu->pae_root 0
PARAM_VALUE 0 vcpu->arch.time 0
PARAM_VALUE 0 vcpu->arch.xen.poll_timer.entry.pprev 0
PARAM_VALUE 0 vcpu->arch.xen.poll_timer.flags 0-4194302
PARAM_VALUE 0 vcpu->arch.xen.poll_timer.function 0
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.active 0
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.khva 0
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.kvm->gpc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.lock.owner (-1)
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.pfn 9218868437227405312
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.valid 0
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.active 0
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.khva 0
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.kvm->gpc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.lock.owner (-1)
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.pfn 9218868437227405312
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.valid 0
PARAM_VALUE 0 vcpu->arch.xen.timer_expires 0
PARAM_VALUE 0 vcpu->arch.xen.timer_pending.counter 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.active 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.khva 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.kvm->gpc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.lock.owner (-1)
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.pfn 9218868437227405312
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.valid 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->gpc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.lock.owner (-1)
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.pfn 9218868437227405312
PARAM_VALUE 0 vcpu->async_pf.queued 0
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vcpu->kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 0 vcpu->kvm->mmu_lock.owner (-1)
PARAM_VALUE 0 vcpu->kvm->mmu_lock.raw_lock.wlocked 0
PARAM_VALUE 0 vcpu->kvm->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.ops->sched_in 0,9110675458964602880
PARAM_VALUE 0 vcpu->preempt_notifier.ops->sched_out 0,435091332528357376
CAPPED_DATA 0 vcpu 1
CAPPED_DATA 0 vcpu->arch.apic 1
CAPPED_DATA 0 vcpu->arch.emulate_ctxt 1
CAPPED_DATA 0 vcpu->arch.mce_banks 1
CAPPED_DATA 0 vcpu->arch.mci_ctl2_banks 1
CAPPED_DATA 0 vcpu->arch.wbinvd_dirty_mask 1
CAPPED_DATA 0 vcpu->kvm->srcu.srcu_ctrp 1
CAPPED_DATA 0 vcpu->kvm->srcu.srcu_reader_flavor 1
DATA_SOURCE 0 vcpu $0
NOSPEC 0 vcpu->dirty_ring.index
NOSPEC 0 vcpu->vcpu_id
MEM_ZERO 0 vcpu->arch.pmu.pmc_has_mode_specific_enables
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 vcpu->arch.l1_tsc_offset 0-u64max
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.vm_type 0-5
USER_DATA 0 vcpu->arch.tsc_offset 0-u64max
USER_DATA 0 vcpu->arch.virtual_tsc_khz 1-u32max
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.noncoherent_dma_count.counter 0
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.pre_fault_allowed 1[c]
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.vm_type 0-1
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.noncoherent_dma_count.counter 0
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.pre_fault_allowed 1[c]
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.vm_type 0-1
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.noncoherent_dma_count.counter 0
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.pre_fault_allowed 1[c]
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.vm_type 0-1
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.noncoherent_dma_count.counter 0
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.pre_fault_allowed 1[c]
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.vm_type 0-1
USER_DATA 0 vcpu->dirty_ring.index 1-16383[c]
USER_DATA 0 vcpu->vcpu_id 1-16383[c]
LOCK2 0 &vcpu->kvm->srcu
TYPE_LOCK (struct kvm)->srcu