Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kvm/regs.c kvm_arch_vcpu_ioctl_set_sregs() -> __set_sregs()

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.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
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->kvm->online_vcpus.counter (-2147483647)-s32max
PARAM_VALUE 0 vcpu->kvm->vm_dead 0
PARAM_VALUE 0 vcpu->mutex.dep_map->name 0-255
PARAM_VALUE 0 vcpu->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vcpu->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 vcpu->mutex.wait_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->vcpu_idx s32min-2147483646
PARAM_VALUE 1 sregs 1-ptr_max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 1 sregs 312
CAPPED_DATA 0 vcpu 1
CAPPED_DATA 0 vcpu->kvm->mm 1
CAPPED_DATA 0 vcpu->vcpu_idx 1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 sregs $1
USER_DATA 1 sregs->apic_base 0-u64max
USER_DATA 1 sregs->cr0 0-u64max
USER_DATA 1 sregs->cr2 0-u64max
USER_DATA 1 sregs->cr3 0-u64max
USER_DATA 1 sregs->cr4 0-u64max
USER_DATA 1 sregs->cr8 0-u64max
USER_DATA 1 sregs->cs.avl 0-255
USER_DATA 1 sregs->cs.base 0-u64max
USER_DATA 1 sregs->cs.db 0-255
USER_DATA 1 sregs->cs.dpl 0-255
USER_DATA 1 sregs->cs.g 0-255
USER_DATA 1 sregs->cs.l 0-255
USER_DATA 1 sregs->cs.limit 0-u32max
USER_DATA 1 sregs->cs.padding 0-255
USER_DATA 1 sregs->cs.present 0-255
USER_DATA 1 sregs->cs.s 0-255
USER_DATA 1 sregs->cs.selector 0-u16max
USER_DATA 1 sregs->cs.type 0-255
USER_DATA 1 sregs->cs.unusable 0-255
USER_DATA 1 sregs->ds.avl 0-255
USER_DATA 1 sregs->ds.base 0-u64max
USER_DATA 1 sregs->ds.db 0-255
USER_DATA 1 sregs->ds.dpl 0-255
USER_DATA 1 sregs->ds.g 0-255
USER_DATA 1 sregs->ds.l 0-255
USER_DATA 1 sregs->ds.limit 0-u32max
USER_DATA 1 sregs->ds.padding 0-255
USER_DATA 1 sregs->ds.present 0-255
USER_DATA 1 sregs->ds.s 0-255
USER_DATA 1 sregs->ds.selector 0-u16max
USER_DATA 1 sregs->ds.type 0-255
USER_DATA 1 sregs->ds.unusable 0-255
USER_DATA 1 sregs->efer 0-u64max
USER_DATA 1 sregs->es.avl 0-255
USER_DATA 1 sregs->es.base 0-u64max
USER_DATA 1 sregs->es.db 0-255
USER_DATA 1 sregs->es.dpl 0-255
USER_DATA 1 sregs->es.g 0-255
USER_DATA 1 sregs->es.l 0-255
USER_DATA 1 sregs->es.limit 0-u32max
USER_DATA 1 sregs->es.padding 0-255
USER_DATA 1 sregs->es.present 0-255
USER_DATA 1 sregs->es.s 0-255
USER_DATA 1 sregs->es.selector 0-u16max
USER_DATA 1 sregs->es.type 0-255
USER_DATA 1 sregs->es.unusable 0-255
USER_DATA 1 sregs->fs.avl 0-255
USER_DATA 1 sregs->fs.base 0-u64max
USER_DATA 1 sregs->fs.db 0-255
USER_DATA 1 sregs->fs.dpl 0-255
USER_DATA 1 sregs->fs.g 0-255
USER_DATA 1 sregs->fs.l 0-255
USER_DATA 1 sregs->fs.limit 0-u32max
USER_DATA 1 sregs->fs.padding 0-255
USER_DATA 1 sregs->fs.present 0-255
USER_DATA 1 sregs->fs.s 0-255
USER_DATA 1 sregs->fs.selector 0-u16max
USER_DATA 1 sregs->fs.type 0-255
USER_DATA 1 sregs->fs.unusable 0-255
USER_DATA 1 sregs->gdt.base 0-u64max
USER_DATA 1 sregs->gdt.limit 0-u16max
USER_DATA 1 sregs->gs.avl 0-255
USER_DATA 1 sregs->gs.base 0-u64max
USER_DATA 1 sregs->gs.db 0-255
USER_DATA 1 sregs->gs.dpl 0-255
USER_DATA 1 sregs->gs.g 0-255
USER_DATA 1 sregs->gs.l 0-255
USER_DATA 1 sregs->gs.limit 0-u32max
USER_DATA 1 sregs->gs.padding 0-255
USER_DATA 1 sregs->gs.present 0-255
USER_DATA 1 sregs->gs.s 0-255
USER_DATA 1 sregs->gs.selector 0-u16max
USER_DATA 1 sregs->gs.type 0-255
USER_DATA 1 sregs->gs.unusable 0-255
USER_DATA 1 sregs->idt.base 0-u64max
USER_DATA 1 sregs->idt.limit 0-u16max
USER_DATA 1 sregs->ldt.avl 0-255
USER_DATA 1 sregs->ldt.base 0-u64max
USER_DATA 1 sregs->ldt.db 0-255
USER_DATA 1 sregs->ldt.dpl 0-255
USER_DATA 1 sregs->ldt.g 0-255
USER_DATA 1 sregs->ldt.l 0-255
USER_DATA 1 sregs->ldt.limit 0-u32max
USER_DATA 1 sregs->ldt.padding 0-255
USER_DATA 1 sregs->ldt.present 0-255
USER_DATA 1 sregs->ldt.s 0-255
USER_DATA 1 sregs->ldt.selector 0-u16max
USER_DATA 1 sregs->ldt.type 0-255
USER_DATA 1 sregs->ldt.unusable 0-255
USER_DATA 1 sregs->ss.avl 0-255
USER_DATA 1 sregs->ss.base 0-u64max
USER_DATA 1 sregs->ss.db 0-255
USER_DATA 1 sregs->ss.dpl 0-255
USER_DATA 1 sregs->ss.g 0-255
USER_DATA 1 sregs->ss.l 0-255
USER_DATA 1 sregs->ss.limit 0-u32max
USER_DATA 1 sregs->ss.padding 0-255
USER_DATA 1 sregs->ss.present 0-255
USER_DATA 1 sregs->ss.s 0-255
USER_DATA 1 sregs->ss.selector 0-u16max
USER_DATA 1 sregs->ss.type 0-255
USER_DATA 1 sregs->ss.unusable 0-255
USER_DATA 1 sregs->tr.avl 0-255
USER_DATA 1 sregs->tr.base 0-u64max
USER_DATA 1 sregs->tr.db 0-255
USER_DATA 1 sregs->tr.dpl 0-255
USER_DATA 1 sregs->tr.g 0-255
USER_DATA 1 sregs->tr.l 0-255
USER_DATA 1 sregs->tr.limit 0-u32max
USER_DATA 1 sregs->tr.padding 0-255
USER_DATA 1 sregs->tr.present 0-255
USER_DATA 1 sregs->tr.s 0-255
USER_DATA 1 sregs->tr.selector 0-u16max
USER_DATA 1 sregs->tr.type 0-255
USER_DATA 1 sregs->tr.unusable 0-255
USER_PTR 1 sregs
USER_PTR 1 sregs->interrupt_bitmap
LOCK2 0 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/kvm/regs.c kvm_run_sync_regs_from_user() -> __set_sregs()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->____srcu_idx 0-1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.flags 0-4294967295
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_mode_mask 131072,393216
PARAM_VALUE 0 vcpu->arch.apic->sipi_vector 0-u16max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->arch.pv.pv_unhalted 1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->ready 1
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.guest_fpu.fpstate->in_use 1
PARAM_VALUE 0 vcpu->arch.mp_state s32min-0,2-s32max
PARAM_VALUE 0 vcpu->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->online_vcpus.counter (-2147483647)-s32max
PARAM_VALUE 0 vcpu->kvm->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 0 vcpu->mutex.dep_map->name 0-255
PARAM_VALUE 0 vcpu->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vcpu->mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vcpu->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->mutex.wait_lock.raw_lock.val.counter 0-s32max
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->run 4096-ptr_max
PARAM_VALUE 0 vcpu->run->flags 0
PARAM_VALUE 0 vcpu->vcpu_idx s32min-2147483646
PARAM_VALUE 1 sregs 8115926193485189120
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
CAPPED_DATA 0 vcpu 1
CAPPED_DATA 0 vcpu->kvm->mm 1
CAPPED_DATA 0 vcpu->kvm->srcu.srcu_ctrp 1
CAPPED_DATA 0 vcpu->vcpu_idx 1
DATA_SOURCE 0 vcpu $0
BIT_INFO 0 vcpu->run->kvm_dirty_regs 0x2,0xfffffffffffffffe
LOCK2 0 &vcpu->kvm->srcu
LOCK2 0 &vcpu->mutex
TYPE_LOCK (struct kvm)->srcu
TYPE_LOCK (struct kvm_vcpu)->mutex