Home
last modified time | relevance | path

Searched refs:pv_ops (Results 1 – 14 of 14) sorted by relevance

/linux/arch/x86/hyperv/
H A Dhv_spinlock.c81 pv_ops.lock.queued_spin_lock_slowpath = __pv_queued_spin_lock_slowpath; in hv_init_spinlocks()
82 pv_ops.lock.queued_spin_unlock = PV_CALLEE_SAVE(__pv_queued_spin_unlock); in hv_init_spinlocks()
83 pv_ops.lock.wait = hv_qlock_wait; in hv_init_spinlocks()
84 pv_ops.lock.kick = hv_qlock_kick; in hv_init_spinlocks()
85 pv_ops.lock.vcpu_is_preempted = PV_CALLEE_SAVE(hv_vcpu_is_preempted); in hv_init_spinlocks()
/linux/Documentation/translations/zh_CN/virt/
H A Dparavirt_ops.rst22 (hypervisor,下文简称超级管理器),需要不同的二进制内核,这个限制已经被pv_ops
23 除了。Linux pv_ops是一个虚拟化API,它能够支持不同的管理程序。它允许每个管理程序
27 pv_ops提供了一组函数指针,代表了与低级关键指令和各领域高级功能相对应的操作。
30 pv_ops操作被分为三类:
/linux/arch/x86/xen/
H A Dspinlock.c138 pv_ops.lock.queued_spin_lock_slowpath = __pv_queued_spin_lock_slowpath; in xen_init_spinlocks()
139 pv_ops.lock.queued_spin_unlock = in xen_init_spinlocks()
141 pv_ops.lock.wait = xen_qlock_wait; in xen_init_spinlocks()
142 pv_ops.lock.kick = xen_qlock_kick; in xen_init_spinlocks()
143 pv_ops.lock.vcpu_is_preempted = PV_CALLEE_SAVE(xen_vcpu_stolen); in xen_init_spinlocks()
H A Dirq.c43 static const typeof(pv_ops) xen_irq_ops __initconst = {
57 pv_ops.irq = xen_irq_ops.irq; in xen_init_irq_ops()
H A Denlighten_pv.c1142 pv_ops.irq.save_fl = __PV_IS_CALLEE_SAVE(xen_save_fl_direct); in xen_setup_vcpu_info_placement()
1143 pv_ops.irq.irq_disable = __PV_IS_CALLEE_SAVE(xen_irq_disable_direct); in xen_setup_vcpu_info_placement()
1144 pv_ops.irq.irq_enable = __PV_IS_CALLEE_SAVE(xen_irq_enable_direct); in xen_setup_vcpu_info_placement()
1145 pv_ops.mmu.read_cr2 = __PV_IS_CALLEE_SAVE(xen_read_cr2_direct); in xen_setup_vcpu_info_placement()
1153 static const typeof(pv_ops) xen_cpu_ops __initconst = {
1302 pv_ops.cpu.write_gdt_entry = xen_write_gdt_entry_boot; in xen_setup_gdt()
1303 pv_ops.cpu.load_gdt = xen_load_gdt_boot; in xen_setup_gdt()
1307 pv_ops.cpu.write_gdt_entry = xen_write_gdt_entry; in xen_setup_gdt()
1308 pv_ops.cpu.load_gdt = xen_load_gdt; in xen_setup_gdt()
1351 pv_ops.cpu = xen_cpu_ops.cpu; in xen_start_kernel()
H A Dmmu_pv.c1266 pv_ops.mmu.set_pte = __xen_set_pte; in xen_pagetable_init()
2154 pv_ops.mmu.set_pte = xen_set_pte; in xen_post_allocator_init()
2155 pv_ops.mmu.set_pmd = xen_set_pmd; in xen_post_allocator_init()
2156 pv_ops.mmu.set_pud = xen_set_pud; in xen_post_allocator_init()
2157 pv_ops.mmu.set_p4d = xen_set_p4d; in xen_post_allocator_init()
2161 pv_ops.mmu.alloc_pte = xen_alloc_pte; in xen_post_allocator_init()
2162 pv_ops.mmu.alloc_pmd = xen_alloc_pmd; in xen_post_allocator_init()
2163 pv_ops.mmu.release_pte = xen_release_pte; in xen_post_allocator_init()
2164 pv_ops.mmu.release_pmd = xen_release_pmd; in xen_post_allocator_init()
2165 pv_ops.mmu.alloc_pud = xen_alloc_pud; in xen_post_allocator_init()
[all …]
H A Dmmu_hvm.c65 pv_ops.mmu.exit_mmap = xen_hvm_exit_mmap; in xen_hvm_init_mmu_ops()
/linux/Documentation/virt/
H A Dparavirt_ops.rst9 different hypervisors; this restriction was removed with pv_ops.
10 Linux pv_ops is a virtualization API which enables support for different
15 pv_ops provides a set of function pointers which represent operations
17 functionalities in various areas. pv_ops allows for optimizations at run
21 pv_ops operations are classified into three categories:
/linux/tools/objtool/
H A Dobjtool.c120 if (!f->pv_ops) { in objtool_pv_add()
137 list_add(&func->pv_target, &f->pv_ops[idx].targets); in objtool_pv_add()
138 f->pv_ops[idx].clean = false; in objtool_pv_add()
H A Dcheck.c600 const char *pv_ops; in init_pv_ops() local
607 file->pv_ops = NULL; in init_pv_ops()
614 file->pv_ops = calloc(sizeof(struct pv_state), nr); in init_pv_ops()
615 if (!file->pv_ops) in init_pv_ops()
619 INIT_LIST_HEAD(&file->pv_ops[idx].targets); in init_pv_ops()
621 for (idx = 0; (pv_ops = pv_ops_tables[idx]); idx++) in init_pv_ops()
622 add_pv_ops(file, pv_ops); in init_pv_ops()
3309 if (file->pv_ops[idx].clean) in pv_call_dest()
3312 file->pv_ops[idx].clean = true; in pv_call_dest()
3314 list_for_each_entry(target, &file->pv_ops[idx].targets, pv_target) { in pv_call_dest()
[all …]
/linux/arch/x86/kernel/
H A Dparavirt-spinlocks.c20 return pv_ops.lock.queued_spin_unlock.func == in pv_is_native_spin_unlock()
32 return pv_ops.lock.vcpu_is_preempted.func == in pv_is_native_vcpu_is_preempted()
/linux/tools/objtool/include/objtool/
H A Dobjtool.h39 struct pv_state *pv_ops; member
/linux/arch/x86/include/asm/
H A Dgsseg.h48 pv_ops.cpu.load_gs_index = native_lkgs; in lkgs_init()
/linux/arch/x86/kernel/cpu/
H A Dvmware.c340 pv_ops.cpu.io_delay = paravirt_nop; in vmware_paravirt_ops_setup()