Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.is_queued 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.expires 0-s64max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode 0,131072-393216
PARAM_VALUE 0 vcpu->arch.emulate_ctxt 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.emulate_ctxt->ops 1333444639635091456
PARAM_VALUE 0 vcpu->arch.emulate_ctxt->vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate 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 16,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.mcg_cap 32
PARAM_VALUE 0 vcpu->arch.mci_ctl2_banks 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.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->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->arch.wbinvd_dirty_mask 1-u64max
PARAM_VALUE 0 vcpu->arch.xen.poll_evtchn 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.lockdep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.active 0
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.gpa u64max
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.kvm->max_vcpus (-2147483647)-s32max
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.lock.magic 3736018669
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.refresh_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.refresh_lock.magic 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.runstate2_cache.uhva 18379471554275704832,18446612682070032384
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.gpa u64max
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.kvm->max_vcpus (-2147483647)-s32max
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.lock.magic 3736018669
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.refresh_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.refresh_lock.magic 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.uhva 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->arch.xen.runstate_cache.valid 0
PARAM_VALUE 0 vcpu->arch.xen.timer._softexpires 0
PARAM_VALUE 0 vcpu->arch.xen.timer.base 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.timer.function 1-u64max
PARAM_VALUE 0 vcpu->arch.xen.timer.is_hard 0
PARAM_VALUE 0 vcpu->arch.xen.timer.is_lazy 0
PARAM_VALUE 0 vcpu->arch.xen.timer.is_queued 0
PARAM_VALUE 0 vcpu->arch.xen.timer.is_rel 0
PARAM_VALUE 0 vcpu->arch.xen.timer.is_soft 0
PARAM_VALUE 0 vcpu->arch.xen.timer.node.expires 0
PARAM_VALUE 0 vcpu->arch.xen.timer.node.node.next 0
PARAM_VALUE 0 vcpu->arch.xen.timer.node.node.prev 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_id u32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.active 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.gpa u64max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.kvm->max_vcpus (-2147483647)-s32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.lock.magic 3736018669
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.refresh_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.refresh_lock.magic 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.uhva 18379471554275704832,18446612682070032384
PARAM_VALUE 0 vcpu->arch.xen.vcpu_info_cache.valid 0
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.gpa u64max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->max_vcpus (-2147483647)-s32max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.lock.magic 3736018669
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->arch.xen.vcpu_time_info_cache.refresh_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.refresh_lock.magic 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.xen.vcpu_time_info_cache.uhva 18379471554275704832,18446612682070032384
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 0
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.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->arch.max_vcpu_ids 1-u32max
PARAM_VALUE 0 vcpu->kvm->arch.noncoherent_dma_count.counter 0-1
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->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
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
BUF_SIZE 0 vcpu->arch.mci_ctl2_banks 8
CAPPED_DATA 0 vcpu 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
MEM_ZERO 0 &vcpu->arch.pmu
MEM_ZERO 0 &vcpu->arch.xen.timer
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->arch.xen.runstate2_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.vm_type 0-6
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.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.vm_type 0-6
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.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.vm_type 0-6
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.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.vm_type 0-6
USER_DATA 0 vcpu->vcpu_id 1-16383[c]

arch/x86/kvm/x86.c kvm_arch_vcpu_ioctl() -> kvm_set_tsc_khz()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.is_queued 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.expires 0-s64max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode 0,131072-393216
PARAM_VALUE 0 vcpu->arch.guest_tsc_protected 0
PARAM_VALUE 0 vcpu->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->arch.noncoherent_dma_count.counter 0-1
PARAM_VALUE 0 vcpu->preempt_notifier.link->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
CAPPED_DATA 0 vcpu 1
USER_DATA 1 user_tsc_khz 1-u32max
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex