Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
arch/x86/kvm/hyperv.c kvm_hv_send_ipi_to_many() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 1-u64max |
| PARAM_VALUE | 1 | irq | 7417175481559384064 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0 |
| PARAM_VALUE | 1 | irq->dest_id | 0 |
| PARAM_VALUE | 1 | irq->level | 0 |
| PARAM_VALUE | 1 | irq->trig_mode | 0 |
| PARAM_VALUE | 1 | irq->vector | 16-255 |
| PARAM_VALUE | 2 | rtc_status | 0 |
| NOCHECK_CALL |
arch/x86/kvm/hyperv.c stimer_notify_direct() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | irq | 3039960074241466368 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0 |
| PARAM_VALUE | 1 | irq->dest_id | 0 |
| PARAM_VALUE | 1 | irq->level | 0 |
| PARAM_VALUE | 1 | irq->trig_mode | 0 |
| PARAM_VALUE | 1 | irq->vector | 0,237 |
| PARAM_VALUE | 2 | rtc_status | 0 |
| DATA_SOURCE | 0 | vcpu | r hv_stimer_to_vcpu |
| PREEMPT_ADD | |||
| LOCK2 | &vcpu->kvm->srcu | ||
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/lapic.c __kvm_irq_delivery_to_apic() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 1 | irq | 1741795460819484672,1775682656858537984,2697334043373514752,3239531051779031040,7831262306935701504,8538076257860067328 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0,257-1792 |
| PARAM_VALUE | 1 | irq->dest_mode | 0,2048 |
| PARAM_VALUE | 1 | irq->msi_redir_hint | 0 |
| PARAM_VALUE | 1 | irq->shorthand | 0,524288,786432 |
| PARAM_VALUE | 1 | irq->trig_mode | 0-1,32768 |
| PARAM_VALUE | 1 | irq->vector | 0-255 |
| PARAM_VALUE | 2 | rtc_status | 0,4096-ptr_max |
| PARAM_VALUE | 2 | *rtc_status->vectors | 0-255 |
| DATA_SOURCE | 1 | irq | $2 |
| DATA_SOURCE | 2 | rtc_status | $3 |
| FUZZY_MAX | 1 | irq->delivery_mode | 0 |
| NOSPEC | 1 | irq->dest_id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | irq->delivery_mode | 0,257-1792[c] |
| USER_DATA | 1 | irq->dest_id | 0-u32max[c] |
| USER_DATA | 1 | irq->dest_mode | 0,2048[c] |
| USER_DATA | 1 | irq->level | 0-1 |
| USER_DATA | 1 | irq->shorthand | 0,524288,786432[c] |
| USER_DATA | 1 | irq->trig_mode | 0,32768[c] |
| USER_DATA | 1 | irq->vector | 0-255[c] |
| HALF_LOCKED2 | &ioapic->lock |
arch/x86/kvm/lapic.c __kvm_irq_delivery_to_apic() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 1 | irq | 1741795460819484672,1775682656858537984,2697334043373514752,3239531051779031040,7831262306935701504,8538076257860067328 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0,256-1792 |
| PARAM_VALUE | 1 | irq->dest_mode | 0,2048 |
| PARAM_VALUE | 1 | irq->msi_redir_hint | 0 |
| PARAM_VALUE | 1 | irq->shorthand | 0,262145-786432 |
| PARAM_VALUE | 1 | irq->trig_mode | 0-1,32768 |
| PARAM_VALUE | 1 | irq->vector | 0-255 |
| PARAM_VALUE | 2 | rtc_status | 0,4096-ptr_max |
| DATA_SOURCE | 1 | irq | $2 |
| DATA_SOURCE | 2 | rtc_status | $3 |
| FUZZY_MAX | 1 | irq->delivery_mode | 0 |
| NOSPEC | 1 | irq->dest_id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | irq->delivery_mode | 0,256-1792[c] |
| USER_DATA | 1 | irq->dest_id | 0-u32max[c] |
| USER_DATA | 1 | irq->dest_mode | 0,2048[c] |
| USER_DATA | 1 | irq->level | 0-1 |
| USER_DATA | 1 | irq->shorthand | 0,524288,786432[c] |
| USER_DATA | 1 | irq->trig_mode | 0,32768[c] |
| USER_DATA | 1 | irq->vector | 0-255[c] |
| HALF_LOCKED2 | &ioapic->lock |
arch/x86/kvm/lapic.c __kvm_irq_delivery_to_apic_fast() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | irq | 1741795460819484672,1775682656858537984,2051271080863625216,2697334043373514752,3239531051779031040,6628077712945061888,7831262306935701504,8538076257860067328 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0,256-1792 |
| PARAM_VALUE | 1 | irq->dest_mode | 0,2048 |
| PARAM_VALUE | 1 | irq->msi_redir_hint | 0 |
| PARAM_VALUE | 1 | irq->shorthand | 262144 |
| PARAM_VALUE | 1 | irq->trig_mode | 0-1,32768 |
| PARAM_VALUE | 1 | irq->vector | 0-255 |
| PARAM_VALUE | 2 | rtc_status | 0,4096-ptr_max |
| DATA_SOURCE | 1 | irq | $2 |
| DATA_SOURCE | 2 | rtc_status | $4 |
| NOSPEC | 1 | irq->dest_id | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | irq->delivery_mode | 0,256-1792[c] |
| USER_DATA | 1 | irq->dest_id | 0-u32max[c] |
| USER_DATA | 1 | irq->dest_mode | 0,2048[c] |
| USER_DATA | 1 | irq->level | 0-1 |
| USER_DATA | 1 | irq->trig_mode | 0,32768[c] |
| USER_DATA | 1 | irq->vector | 0-255[c] |
arch/x86/kvm/lapic.c __kvm_irq_delivery_to_apic_fast() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | irq | 1741795460819484672,1775682656858537984,2051271080863625216,2697334043373514752,3239531051779031040,6628077712945061888,7831262306935701504,8538076257860067328 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0,256-1792 |
| PARAM_VALUE | 1 | irq->dest_mode | 0,2048 |
| PARAM_VALUE | 1 | irq->msi_redir_hint | 0 |
| PARAM_VALUE | 1 | irq->shorthand | 0 |
| PARAM_VALUE | 1 | irq->trig_mode | 0-1,32768 |
| PARAM_VALUE | 1 | irq->vector | 0-255 |
| PARAM_VALUE | 2 | rtc_status | 0,4096-ptr_max |
| DATA_SOURCE | 1 | irq | $2 |
| DATA_SOURCE | 2 | rtc_status | $4 |
| NOSPEC | 1 | irq->dest_id | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | irq->delivery_mode | 0,256-1792[c] |
| USER_DATA | 1 | irq->dest_id | 0-u32max[c] |
| USER_DATA | 1 | irq->dest_mode | 0,2048[c] |
| USER_DATA | 1 | irq->level | 0-1 |
| USER_DATA | 1 | irq->shorthand | 0[c] |
| USER_DATA | 1 | irq->trig_mode | 0,32768[c] |
| USER_DATA | 1 | irq->vector | 0-255[c] |
| LOCK2 | rcu_read |
arch/x86/kvm/lapic.c __pv_send_ipi() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | irq | 6932446891343921152 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0,256-1792 |
| PARAM_VALUE | 1 | irq->dest_id | 0 |
| PARAM_VALUE | 1 | irq->trig_mode | 0,32768 |
| PARAM_VALUE | 1 | irq->vector | 0-255 |
| PARAM_VALUE | 2 | rtc_status | 0 |
| DATA_SOURCE | 1 | irq | $2 |
| LOCK2 | rcu_read |
arch/x86/kvm/x86.c kvm_arch_async_page_present() -> kvm_apic_set_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apf.data.memslot | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apf.pageready_pending | 1 |
| PARAM_VALUE | 0 | vcpu->async_pf.lock.rlock.dep_map->name | 0-255 |
| 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->run->debug.arch.exception | 1,3 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.flags | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.insn_size | 1-255 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.ndata | 6,8,10,12 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.suberror | 1 |
| PARAM_VALUE | 0 | vcpu->run->hypercall.ret | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | vcpu->run->internal.ndata | 0,2,4-5 |
| PARAM_VALUE | 0 | vcpu->run->internal.suberror | 1-4 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.flags | 0,8 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.size | 4096 |
| PARAM_VALUE | 0 | vcpu->run->mmio.is_write | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->mmio.len | 0-8 |
| PARAM_VALUE | 0 | vcpu->run->system_event.ndata | 0-1,16 |
| PARAM_VALUE | 0 | vcpu->run->system_event.type | 2-3,6-7 |
| PARAM_VALUE | 1 | irq | 4662769236179693568 |
| PARAM_VALUE | 1 | irq->delivery_mode | 0 |
| PARAM_VALUE | 1 | irq->dest_id | 0 |
| PARAM_VALUE | 1 | irq->level | 0 |
| PARAM_VALUE | 1 | irq->trig_mode | 0 |
| PARAM_VALUE | 1 | irq->vector | 0-u16max |
| PARAM_VALUE | 2 | rtc_status | 0 |
| BUF_SIZE | 0 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | vcpu | $0 |
| NOSPEC | 0 | vcpu->arch.mmio_gfn | |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 0 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 0 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 0 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 0 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 0 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 0 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 0 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->run->io.size | |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 0 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 0 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 0 | &vcpu->mutex |