Searched refs:nested (Results 26 - 50 of 62) sorted by last modified time

123

/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c109 /* Should we be using the nested lpid */
110 if (vcpu->arch.nested)
111 lpid = vcpu->arch.nested->shadow_lpid;
793 bool kvmppc_hv_handle_set_rc(struct kvm *kvm, bool nested, bool writing, argument
809 if (nested)
1068 /* Also clear bit in ptes in shadow pgtable for nested guests */
1143 /* Also clear bit in ptes in shadow pgtable for nested guests */
1310 struct kvm_nested_guest *nested; local
1346 nested = NULL;
1352 if (nested) {
[all...]
H A Dbook3s_xive.c846 if (vcpu->arch.ceded || vcpu->arch.nested)
H A Dbook3s_hv_p9_entry.c48 * DAR, DSISR, and for nested HV, SPRGs must be set with MSR[RI]
137 if (!vcpu->arch.nested) {
201 if (!vcpu->arch.nested) {
303 struct kvm_nested_guest *nested = vcpu->arch.nested; local
307 lpid = nested ? nested->shadow_lpid : kvm->arch.lpid;
454 struct kvm_nested_guest *nested)
460 if (nested)
461 need_tlb_flush = &nested
453 check_need_tlb_flush(struct kvm *kvm, int pcpu, struct kvm_nested_guest *nested) argument
536 struct kvm_nested_guest *nested = vcpu->arch.nested; local
[all...]
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Ddebug.c370 bool nested; member in struct:txpwr_ent
387 { .nested = true, .ptr = __txpwr_ent_##_e, \
691 if (ent->nested) {
/linux-master/arch/x86/kvm/svm/
H A Dnested.c44 * TODO: track the cause of the nested page fault, and
62 u64 cr3 = svm->nested.ctl.nested_cr3;
77 return svm->nested.ctl.nested_cr3;
95 svm->nested.ctl.nested_cr3);
116 if (!(svm->nested.ctl.virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK))
135 g = &svm->nested.ctl;
157 * We want to see VMMCALLs from a nested guest only when Hyper-V L2 TLB
201 if (!svm->nested.force_msr_bitmap_recalc) {
202 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments;
206 (svm->nested
[all...]
H A Dhyperv.h18 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments;
24 hv_vcpu->nested.pa_page_gpa = hve->partition_assist_page;
25 hv_vcpu->nested.vm_id = hve->hv_vm_id;
26 hv_vcpu->nested.vp_id = hve->hv_vp_id;
32 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments;
/linux-master/arch/x86/include/asm/
H A Dptrace.h93 nested : 1, member in struct:fred_ss
/linux-master/tools/testing/selftests/kvm/lib/
H A Dmemstress.c160 * If using nested, allocate extra pages for the nested page tables and
163 if (args->nested)
185 if (args->nested)
224 if (args->nested) {
225 pr_info("Configuring vCPUs to run in L2 (nested).\n");
/linux-master/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c316 printf(" -n: Run the vCPUs in nested mode (L2)\n");
389 memstress_args.nested = true;
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_gen.h1268 struct nlattr *nested; local
1281 nested = nla_nest_start(skb, IPSET_ATTR_DATA);
1282 if (!nested)
1320 nla_nest_end(skb, nested);
1357 struct nlattr *atd, *nested; local
1390 nested = nla_nest_start(skb, IPSET_ATTR_DATA);
1391 if (!nested) {
1403 nla_nest_end(skb, nested);
H A Dip_set_list_set.c459 struct nlattr *nested; local
462 nested = nla_nest_start(skb, IPSET_ATTR_DATA);
463 if (!nested)
472 nla_nest_end(skb, nested);
484 struct nlattr *atd, *nested; local
502 nested = nla_nest_start(skb, IPSET_ATTR_DATA);
503 if (!nested)
510 nla_nest_end(skb, nested);
520 nla_nest_cancel(skb, nested);
H A Dip_set_bitmap_gen.h95 struct nlattr *nested; local
98 nested = nla_nest_start(skb, IPSET_ATTR_DATA);
99 if (!nested)
108 nla_nest_end(skb, nested);
207 struct nlattr *adt, *nested; local
229 nested = nla_nest_start(skb, IPSET_ATTR_DATA);
230 if (!nested) {
243 nla_nest_end(skb, nested);
253 nla_nest_cancel(skb, nested);
/linux-master/arch/x86/kvm/
H A Dhyperv.c165 * Valid vectors are 16-255, however, nested Hyper-V attempts to write
2033 * nested GPA when KVM is handling the call from L2 ('direct' TLB
2164 * The following check races with nested vCPUs entering/exiting
2173 if (!hv_v || hv_v->nested.vm_id != hv_vcpu->nested.vm_id)
2177 !hv_is_vp_in_sparse_set(hv_v->nested.vp_id, valid_bank_mask,
2383 kvm_read_guest(vcpu->kvm, to_hv_vcpu(vcpu)->nested.pa_page_gpa,
/linux-master/tools/perf/bench/
H A Depoll-wait.c105 static unsigned int nested = 0; variable
138 OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)"),
246 if (nested > EPOLL_MAXNESTS)
247 nested = EPOLL_MAXNESTS;
249 epollfdp = calloc(nested, sizeof(*epollfdp));
253 for (i = 0; i < nested; i++) {
262 for (i = nested - 1; i; i--) {
325 if (nested)
458 * Deal with nested epoll
[all...]
H A Depoll-ctl.c57 static unsigned int nested = 0; variable
79 OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)"),
105 if (nested > EPOLL_MAXNESTS)
106 nested = EPOLL_MAXNESTS;
107 printinfo("Nesting level(s): %d\n", nested);
109 epollfdp = calloc(nested, sizeof(int));
113 for (i = 0; i < nested; i++) {
122 for (i = nested - 1; i; i--) {
343 * Deal with nested epoll
[all...]
/linux-master/arch/riscv/kernel/
H A Dkernel_mode_vector.c190 #define riscv_v_start_kernel_context(nested) (-ENOENT)
209 bool nested = false; local
216 if (riscv_v_start_kernel_context(&nested)) {
221 if (!nested)
/linux-master/drivers/usb/fotg210/
H A Dfotg210-hcd.c3087 static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested) argument
3102 if (!nested) /* Avoid recursion */
/linux-master/arch/x86/kvm/vmx/
H A Dnested.h42 return to_vmx(vcpu)->nested.cached_vmcs12;
47 return to_vmx(vcpu)->nested.cached_shadow_vmcs12;
52 * in vmx_set_nested_state; if it is satisfied, the nested state must include
60 return vmx->nested.current_vmptr != -1ull ||
68 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid;
83 * Return the cr0/4 value that a nested guest would read. This is a combination
101 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low);
111 return to_vmx(vcpu)->nested.msrs.misc_low &
117 return to_vmx(vcpu)->nested
[all...]
H A Dhyperv.h27 return evmptr_is_valid(vmx->nested.hv_evmcs_vmptr);
37 return evmptr_is_set(vmx->nested.hv_evmcs_vmptr);
42 return vmx->nested.hv_evmcs;
52 to_vmx(vcpu)->nested.enlightened_vmcs_enabled;
H A Dhyperv.c9 #include "nested.h"
41 (!vcpu || to_vmx(vcpu)->nested.enlightened_vmcs_enabled))
203 vmx->nested.enlightened_vmcs_enabled = true;
215 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs;
/linux-master/arch/um/include/shared/
H A Dkern_util.h58 extern unsigned long from_irq_stack(int nested);
/linux-master/arch/powerpc/include/asm/
H A Dkvm_host.h42 * Limit the nested partition table to 4096 entries (because that's what
843 /* For support of nested guests */
844 struct kvm_nested_guest *nested; member in struct:kvmppc_slb::kvm_vcpu_arch
845 u64 nested_hfscr; /* HFSCR that the L1 requested for the nested guest */
848 /* For nested APIv2 guests*/
H A Dkvm_book3s_64.h20 * Structure for a nested guest, that is, for a guest that is managed by
24 struct kvm *l1_host; /* L1 VM that owns this nested guest */
26 int shadow_lpid; /* real lpid of this nested guest */
35 u8 radix; /* is this nested guest radix */
39 * We define a nested rmap entry as a single 64-bit quantity
49 /* Structure for a nested guest rmap entry */
56 * for_each_nest_rmap_safe - iterate over the list of nested rmap entries
71 * Note that the iterator below assumes that a nested rmap entry is always
135 if (vcpu->arch.nested)
136 radix = vcpu->arch.nested
[all...]
H A Dkvm_book3s.h200 extern bool kvmppc_hv_handle_set_rc(struct kvm *kvm, bool nested,
/linux-master/drivers/mtd/ubi/
H A Dwl.c590 * @nested: denotes whether the work_sem is already held
596 int vol_id, int lnum, int torture, bool nested)
615 if (nested)
647 static int ensure_wear_leveling(struct ubi_device *ubi, int nested);
1016 * @nested: set to non-zero if this function is called from UBI worker
1022 static int ensure_wear_leveling(struct ubi_device *ubi, int nested)
1074 if (nested)
595 schedule_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int vol_id, int lnum, int torture, bool nested) argument

Completed in 329 milliseconds

123