Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kvm/lapic.c __start_apic_timer() -> restart_apic_timer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | apic | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->lapic_timer.pending.counter | 0 |
| PARAM_VALUE | 0 | apic->vcpu->kvm | 4096-ptr_max |
| CAPPED_DATA | 0 | apic->lapic_timer.timer.base | 1 |
| DATA_SOURCE | 0 | apic | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | apic->lapic_timer.tscdeadline | 0-u64max |
| HALF_LOCKED2 | &vcpu->mutex |
arch/x86/kvm/lapic.c kvm_lapic_expired_hv_timer() -> restart_apic_timer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | apic | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->lapic_timer.hv_timer_in_use | 0 |
| PARAM_VALUE | 0 | apic->lapic_timer.period | s64min-(-1),1-s64max |
| PARAM_VALUE | 0 | apic->lapic_timer.timer_advance_ns | 0-5000 |
| PARAM_VALUE | 0 | apic->lapic_timer.timer_mode | 131072 |
| PARAM_VALUE | 0 | apic->vcpu | 4096-ptr_max |
| CAPPED_DATA | 0 | apic->lapic_timer.timer_advance_ns | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
arch/x86/kvm/lapic.c kvm_lapic_reg_write() -> restart_apic_timer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | apic | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->lapic_timer.timer_mode | 0,131072-393216 |
| PARAM_VALUE | 0 | apic->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->vcpu->kvm | 4096-ptr_max |
| CAPPED_DATA | 0 | apic->lapic_timer.timer.base | 1 |
| CAPPED_DATA | 0 | &apic->lapic_timer.timer | 1 |
| DATA_SOURCE | 0 | apic | $0 |
| PARAM_COMPARE | 0 | &apic->lapic_timer.timer | != $0->lapic_timer.timer.base->running |
| NOCHECK_CALL |
arch/x86/kvm/lapic.c kvm_lapic_restart_hv_timer() -> restart_apic_timer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | apic | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->lapic_timer.hv_timer_in_use | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vcpu->mutex |
arch/x86/kvm/lapic.c kvm_lapic_switch_to_hv_timer() -> restart_apic_timer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | apic | 4096-ptr_max |
| PARAM_VALUE | 0 | apic->lapic_timer.hv_timer_in_use | 0 |
| PARAM_VALUE | 0 | apic->lapic_timer.timer.base->active.rb_root.rb_leftmost->prev | 0 |
| PARAM_VALUE | 0 | apic->lapic_timer.timer.is_queued | 1 |
| PARAM_VALUE | 0 | apic->lapic_timer.timer.node.expires | 0-s64max |
| PARAM_VALUE | 0 | apic->lapic_timer.timer_advance_ns | 0-5000 |
| PARAM_VALUE | 0 | apic->lapic_timer.timer_mode | 0,131072-393216 |
| PARAM_VALUE | 0 | apic->lapic_timer.timer_mode_mask | 0,131072,393216 |
| PARAM_VALUE | 0 | apic->pending_events | 1 |
| PARAM_VALUE | 0 | apic->sipi_vector | 0-u16max |
| PARAM_VALUE | 0 | apic->vcpu->arch.pv.pv_unhalted | 1 |
| PARAM_VALUE | 0 | apic->vcpu->kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode | 0-4294967295 |
| PARAM_VALUE | 0 | apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | apic->vcpu->ready | 1 |
| PARAM_VALUE | 0 | *apic->vcpu->kvm->arch.vioapic->irq_eoi | 0-4294967295 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 0 | apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 0 | apic->sipi_vector | 1-255[c] |
| LOCK2 | &vcpu->kvm->srcu | ||
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |