Home
last modified time | relevance | path

Searched refs:index (Results 1 – 23 of 23) sorted by relevance

/illumos-kvm/linux/include-compat/asm-x86/
H A Dmsidef.h53 #define MSI_ADDR_IR_INDEX1(index) ((index & 0x8000) >> 13) argument
54 #define MSI_ADDR_IR_INDEX2(index) ((index & 0x7fff) << 5) argument
/illumos-kvm/
H A Dkvm_msidef.h77 #define MSI_ADDR_IR_INDEX1(index) ((index & 0x8000) >> 13) argument
78 #define MSI_ADDR_IR_INDEX2(index) ((index & 0x7fff) << 5) argument
H A Dkvm_ioapic.c120 unsigned index; in ioapic_write_indirect() local
137 index = (ioapic->ioregsel - 0x10) >> 1; in ioapic_write_indirect()
139 if (index >= IOAPIC_NUM_PINS) in ioapic_write_indirect()
142 e = &ioapic->redirtbl[index]; in ioapic_write_indirect()
157 kvm_fire_mask_notifiers(ioapic->kvm, index, mask_after); in ioapic_write_indirect()
160 ioapic->irr & (1 << index)) in ioapic_write_indirect()
161 ioapic_service(ioapic, index); in ioapic_write_indirect()
H A Dkvm_paging_tmpl.h88 FNAME(cmpxchg_gpte)(struct kvm *kvm, gfn_t table_gfn, unsigned index, in FNAME()
98 ret = CMPXCHG(&table[index], orig_pte, new_pte); in FNAME()
132 unsigned index, pt_access, pte_access; in FNAME() local
152 index = PT_INDEX(addr, walker->level); in FNAME()
156 pte_gpa += index * sizeof (pt_element_t); in FNAME()
185 index, pte, pte|PT_ACCESSED_MASK)) in FNAME()
223 ret = FNAME(cmpxchg_gpte)(vcpu->kvm, table_gfn, index, pte, in FNAME()
H A Dkvm_cache_regs.c57 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read() argument
64 return (vcpu->arch.pdptrs[index]); in kvm_pdptr_read()
H A Dkvm_mmu.c123 unsigned index; member
875 unsigned int index; in kvm_mmu_update_unsync_bitmap() local
878 index = spte - sp->spt; in kvm_mmu_update_unsync_bitmap()
1028 unsigned index; in kvm_mmu_lookup_page() local
1032 index = kvm_page_table_hashfn(gfn); in kvm_mmu_lookup_page()
1173 unsigned index; in kvm_mmu_get_page() local
1190 index = kvm_page_table_hashfn(gfn); in kvm_mmu_get_page()
1269 PAGESHIFT)) + iterator->index; in shadow_walk_okay()
1447 unsigned index; in kvm_mmu_unprotect_page() local
1597 unsigned index; in kvm_unsync_page() local
[all …]
H A Dkvm_vmx.c125 unsigned index; member
1045 int save_nmsrs, index; in setup_msrs() local
1051 if (index >= 0) in setup_msrs()
1052 move_msr_up(vmx, index, save_nmsrs++); in setup_msrs()
1054 if (index >= 0) in setup_msrs()
1057 if (index >= 0) in setup_msrs()
1060 if (index >= 0 && vmx->rdtscp_enabled) in setup_msrs()
1072 if (index >= 0 && update_transition_efer(vmx, index)) in setup_msrs()
1073 move_msr_up(vmx, index, save_nmsrs++); in setup_msrs()
2564 uint32_t index = vmx_msr_index[i]; in vmx_vcpu_setup() local
[all …]
H A Dkvm_x86.h145 uint32_t index; member
182 uint32_t index; member
H A Dkvm_x86.c1480 unsigned index, uint64_t *data)) in __msr_io() argument
1696 entry->index = index; in do_cpuid_1_ent()
1758 do_cpuid_1_ent(entry, function, index); in do_cpuid_ent()
3088 uint32_t function, uint32_t index) in is_matching_cpuid_entry() argument
3092 if ((e->flags & KVM_CPUID_FLAG_SIGNIFCANT_INDEX) && e->index != index) in is_matching_cpuid_entry()
3141 uint32_t function, index; in kvm_emulate_cpuid() local
3815 uint16_t index = selector >> 3; in load_guest_segment_descriptor() local
3822 if (dtable.limit < index * 8 + 7) { in load_guest_segment_descriptor()
3827 addr = dtable.base + index * 8; in load_guest_segment_descriptor()
3843 uint16_t index = selector >> 3; in save_guest_segment_descriptor() local
[all …]
H A Dkvm_x86host.h886 void kvm_define_shared_msr(unsigned index, uint32_t msr);
887 void kvm_set_shared_msr(struct kvm_vcpu *, unsigned index, uint64_t val,
/illumos-kvm/linux/x86/
H A Dmmutrace.h100 TP_PROTO(unsigned long table_gfn, unsigned index, unsigned size),
101 TP_ARGS(table_gfn, index, size),
109 + index * size;
118 TP_PROTO(unsigned long table_gfn, unsigned index, unsigned size),
119 TP_ARGS(table_gfn, index, size),
127 + index * size;
H A Dioapic.c159 unsigned index; in ioapic_write_indirect() local
176 index = (ioapic->ioregsel - 0x10) >> 1; in ioapic_write_indirect()
178 ioapic_debug("change redir index %x val %x\n", index, val); in ioapic_write_indirect()
179 if (index >= IOAPIC_NUM_PINS) in ioapic_write_indirect()
181 e = &ioapic->redirtbl[index]; in ioapic_write_indirect()
194 kvm_fire_mask_notifiers(ioapic->kvm, index, mask_after); in ioapic_write_indirect()
196 && ioapic->irr & (1 << index)) in ioapic_write_indirect()
197 ioapic_service(ioapic, index); in ioapic_write_indirect()
H A Dpaging_tmpl.h82 gfn_t table_gfn, unsigned index, in FNAME()
92 ret = CMPXCHG(&table[index], orig_pte, new_pte); in FNAME()
121 unsigned index, pt_access, pte_access; in FNAME() local
145 index = PT_INDEX(addr, walker->level); in FNAME()
149 pte_gpa += index * sizeof(pt_element_t); in FNAME()
178 trace_kvm_mmu_set_accessed_bit(table_gfn, index, in FNAME()
182 index, pte, pte|PT_ACCESSED_MASK)) in FNAME()
219 trace_kvm_mmu_set_dirty_bit(table_gfn, index, sizeof(pte)); in FNAME()
221 ret = FNAME(cmpxchg_gpte)(vcpu->kvm, table_gfn, index, pte, in FNAME()
H A Dassigned-dev.c79 int i, index; in find_index_from_host_irq() local
84 index = -1; in find_index_from_host_irq()
87 index = i; in find_index_from_host_irq()
90 if (index < 0) { in find_index_from_host_irq()
95 return index; in find_index_from_host_irq()
136 int index = find_index_from_host_irq(assigned_dev, irq); in kvm_assigned_dev_intr() local
137 if (index < 0) in kvm_assigned_dev_intr()
139 assigned_dev->guest_msix_entries[index].flags |= in kvm_assigned_dev_intr()
H A Dkvm_cache_regs.h37 static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read() argument
43 return vcpu->arch.pdptrs[index]; in kvm_pdptr_read()
H A Dvmx.c149 unsigned index; member
984 int save_nmsrs, index; in setup_msrs() local
992 if (index >= 0) in setup_msrs()
993 move_msr_up(vmx, index, save_nmsrs++); in setup_msrs()
995 if (index >= 0) in setup_msrs()
998 if (index >= 0) in setup_msrs()
1001 if (index >= 0 && vmx->rdtscp_enabled) in setup_msrs()
1013 if (index >= 0 && update_transition_efer(vmx, index)) in setup_msrs()
1014 move_msr_up(vmx, index, save_nmsrs++); in setup_msrs()
2490 u32 index = vmx_msr_index[i]; in vmx_vcpu_setup() local
[all …]
H A Dmmu.c209 unsigned index; member
1078 unsigned int index; in kvm_mmu_update_unsync_bitmap() local
1081 index = spte - sp->spt; in kvm_mmu_update_unsync_bitmap()
1223 unsigned index; in kvm_mmu_lookup_page() local
1229 index = kvm_page_table_hashfn(gfn); in kvm_mmu_lookup_page()
1365 unsigned index; in kvm_mmu_get_page() local
1380 index = kvm_page_table_hashfn(gfn); in kvm_mmu_get_page()
1606 unsigned index; in kvm_mmu_unprotect_page() local
1629 unsigned index; in mmu_unshadow() local
1790 unsigned index; in kvm_unsync_page() local
[all …]
H A Dx86.h37 u32 function, u32 index);
H A Dx86.c1495 unsigned index, u64 *data)) in __msr_io() argument
1519 unsigned index, u64 *data), in msr_io() argument
1830 u32 index) in do_cpuid_1_ent() argument
1833 entry->index = index; in do_cpuid_1_ent()
4092 u32 function, u32 index) in is_matching_cpuid_entry() argument
4096 if ((e->flags & KVM_CPUID_FLAG_SIGNIFCANT_INDEX) && e->index != index) in is_matching_cpuid_entry()
4143 u32 function, index; in kvm_emulate_cpuid() local
4745 u16 index = selector >> 3; in load_guest_segment_descriptor() local
4756 addr = dtable.base + index * 8; in load_guest_segment_descriptor()
4770 u16 index = selector >> 3; in save_guest_segment_descriptor() local
[all …]
/illumos-kvm/linux/usr/include/asm-x86/
H A Dkvm.h147 __u32 index; member
185 __u32 index; member
/illumos-kvm/sys/
H A Dkvm_x86.h145 uint32_t index; member
182 uint32_t index; member
/illumos-kvm/linux/include/asm-x86/
H A Dkvm.h187 __u32 index; member
225 __u32 index; member
H A Dkvm_host.h866 void kvm_define_shared_msr(unsigned index, u32 msr);
867 void kvm_set_shared_msr(unsigned index, u64 val, u64 mask);

Completed in 63 milliseconds