Searched refs:nested (Results 1 - 25 of 62) sorted by last modified time

123

/linux-master/rust/
H A DMakefile286 -mno-pointers-to-nested-functions -mno-string \
/linux-master/net/wireless/
H A Dnl80211.c2239 struct nlattr *nested, *nested_akms; local
2246 nested = nla_nest_start(msg, NL80211_ATTR_IFTYPE_AKM_SUITES);
2247 if (!nested)
2269 nla_nest_end(msg, nested);
2813 struct nlattr *nested; local
2815 nested = nla_nest_start_noflag(msg,
2817 if (!nested)
2825 nla_nest_end(msg, nested);
2830 struct nlattr *nested; local
2832 nested
2867 struct nlattr *nested; local
2891 struct nlattr *nested_ext_capab, *nested; local
18100 struct nlattr *nested; local
18206 struct nlattr *nested; local
[all...]
/linux-master/include/net/
H A Dsock.h1957 int __sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested,
1960 const int nested)
1962 return __sk_receive_skb(sk, skb, nested, 1, true);
1959 sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested) argument
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.h117 * for correct emulation of VMX (i.e., nested VMX) on this vcpu.
175 * is delayed until L1 actually attempts to run a nested VM.
223 * userspace restores MSRs before nested state. If userspace restores
224 * MSRs after nested state, the snapshot holds garbage, but KVM can't
291 * non-nested (L1) guest, it always points to vmcs01. For a nested
331 /* Support for a guest hypervisor (nested VMX) */
332 struct nested_vmx nested; member in struct:vcpu_vmx
H A Dvmx.c63 #include "nested.h"
116 * If nested=1, nested virtualization is supported, i.e., guests may use
117 * VMX and be a hypervisor for its own guests. If nested=0, guests may not
120 static bool __read_mostly nested = 1; variable
121 module_param(nested, bool, 0444);
298 * order to protect against KSM in the nested
893 /* When we are running a nested L2 guest and L1 specified for it a
1306 if (vmx->nested.need_vmcs12_to_shadow_sync)
1442 * performs IBPB on nested V
[all...]
H A Dnested.c13 #include "nested.h"
183 to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true;
196 if (vmx->nested.current_vmptr == INVALID_GPA &&
207 pr_debug_ratelimited("nested vmx abort, indicator %d\n", indicator);
224 vmx->nested.need_vmcs12_to_shadow_sync = false;
234 kvm_vcpu_unmap(vcpu, &vmx->nested.hv_evmcs_map, true);
235 vmx->nested.hv_evmcs = NULL;
238 vmx->nested.hv_evmcs_vmptr = EVMPTR_INVALID;
241 hv_vcpu->nested.pa_page_gpa = INVALID_GPA;
242 hv_vcpu->nested
[all...]
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c195 * Use nested page tables by default. Note, NPT may get forced off by
201 /* allow nested virtualization in KVM/SVM */
202 static int nested = true; variable
203 module_param(nested, int, 0444);
319 * Free the nested guest state, unless we are in SMM.
320 * In this case we will return to the nested guest
484 /* Use _safe variants to not break nested virtualization */
802 * For non-nested case:
806 * For nested case:
810 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested
[all...]
H A Dsvm.h169 * we cannot inject a nested vmexit yet. */
238 struct svm_nested_state nested; member in struct:vcpu_svm
449 (svm->nested.ctl.int_ctl & V_GIF_ENABLE_MASK);
458 return svm->nested.vmcb02.ptr;
495 return svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE;
501 (svm->nested.ctl.int_ctl & V_NMI_ENABLE_MASK);
563 /* nested.c */
566 #define NESTED_EXIT_DONE 1 /* Exit caused nested vmexit */
573 return is_guest_mode(vcpu) && (svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK);
578 return vmcb12_is_intercept(&svm->nested
[all...]
/linux-master/arch/x86/kvm/
H A DMakefile19 vmx/nested.o vmx/posted_intr.o
24 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o \
/linux-master/arch/x86/include/asm/
H A Dkvm_host.h320 * execonly and ad_disabled are only used for nested EPT which has
365 * including on nested transitions, if nothing in the full role changes then
699 } nested; member in struct:kvm_vcpu_hv
790 /* Non-nested MMU for L1 */
793 /* L1 MMU when running nested */
797 * Paging state of an L2 guest (used for nested npt)
1249 * AVIC is inhibited on a vCPU because it runs a nested guest.
1253 * a vCPU runs nested.
/linux-master/kernel/trace/
H A Dring_buffer.c394 * Structure to hold event state and handle nested events.
648 * In the highly unlikely case that the event was nested more than
1428 * only happens in the outer most nested commit.
3191 * ring_buffer_nest_start - Allow to trace while nested
3201 * call ring_buffer_nest_end() after the nested ring_buffer_unlock_commit().
3217 * ring_buffer_nest_end - Allow to trace while nested
6156 static __init int rb_write_something(struct rb_test_data *data, bool nested) argument
6166 /* Have nested writes different that what is written */
6167 cnt = data->cnt + (nested ? 27 : 0);
6182 if (nested)
[all...]
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h414 struct kvm_nested_state nested; member in union:kvm_x86_state::__anon27
/linux-master/kernel/irq/
H A Dmanage.c713 * nested.
730 * nested.
752 * nested.
778 * nested.
1041 * Primary handler for nested threaded interrupts. Should never be
1046 WARN(1, "Primary handler called for nested irq %d\n", irq);
1510 int ret, nested, shared = 0; local
1533 nested = irq_settings_is_nested_thread(desc);
1534 if (nested) {
1541 * the driver for non nested interrup
[all...]
/linux-master/tools/net/ynl/
H A Dynl-gen-c.py59 if 'nested-attributes' in attr:
60 self.nested_attrs = attr['nested-attributes']
694 self.nested = type_list is None
700 if self.nested and space_name in family.consts:
1016 if 'nested-attributes' in spec:
1017 nested = spec['nested-attributes']
1019 if self.pure_nested_structs[nested].recursive:
1021 if nested not in pns_key_seen:
1039 if 'nested
[all...]
/linux-master/net/core/
H A Dsock.c546 const int nested, unsigned int trim_cap, bool refcounted)
559 if (nested)
545 __sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested, unsigned int trim_cap, bool refcounted) argument
/linux-master/tools/objtool/
H A DMakefile34 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs
/linux-master/kernel/sched/
H A Dcore.c10144 unsigned int nested = preempt_count(); local
10146 nested += rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT;
10148 return nested == offsets;
/linux-master/tools/testing/ktest/
H A Dktest.pl493 menu must be a non-nested menu. Add the quotes used in the menu
/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c1027 state->nested.size = sizeof(state->nested_);
1029 vcpu_nested_state_get(vcpu, &state->nested);
1030 TEST_ASSERT(state->nested.size <= nested_size,
1032 state->nested.size, nested_size);
1034 state->nested.size = 0;
1061 if (state->nested.size)
1062 vcpu_nested_state_set(vcpu, &state->nested);
/linux-master/arch/s390/kvm/
H A Dkvm-s390.c194 /* allow nested virtualization in KVM (if enabled by user space) */
195 static int nested; variable
196 module_param(nested, int, S_IRUGO);
197 MODULE_PARM_DESC(nested, "Nested virtualization support");
199 /* allow 1m huge page guest backing, if !nested */
429 !test_facility(3) || !nested)
5844 if (nested && hpage) {
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv.c130 /* If set, guests are allowed to create and control nested guests */
131 static bool nested = true; variable
132 module_param(nested, bool, S_IRUGO | S_IWUSR);
133 MODULE_PARM_DESC(nested, "Enable nested virtualization (only on POWER9)");
187 /* If we're a nested hypervisor, fall back to ordinary IPIs for now */
1081 * H_RPT_INVALIDATE hcall handler for nested guests.
1083 * Handles only nested process-scoped invalidation requests in L0.
1101 do_h_rpt_invalidate_prt(pid, vcpu->arch.nested->shadow_lpid,
1120 * Partition-scoped invalidation for nested guest
3240 struct kvm_nested_guest *nested = vcpu->arch.nested; local
3293 struct kvm_nested_guest *nested = vcpu->arch.nested; local
4262 struct kvm_nested_guest *nested = vcpu->arch.nested; local
4721 struct kvm_nested_guest *nested = vcpu->arch.nested; local
[all...]
H A Dbook3s_hv_nested.c7 * Description: KVM functions specific to running nested KVM-HV guests
364 vcpu->arch.nested = l2;
391 vcpu->arch.nested = NULL;
475 pr_err("kvm-hv: failed to allocated nested partition table\n");
581 * r4 = L1 lpid of nested guest
620 /* Load from the nested guest into our buffer */
640 /* Store from our buffer into the nested guest */
748 * Free up any resources allocated for a nested guest.
787 * Free up all nested resources allocated for this guest.
961 * If the pfn has changed then this is a stale rmap entry, the nested
[all...]
/linux-master/arch/powerpc/
H A DMakefile143 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
/linux-master/drivers/iommu/intel/
H A DMakefile3 obj-$(CONFIG_INTEL_IOMMU) += iommu.o pasid.o nested.o
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c44 '0' + (init->nested - 1) : ' ', ##args); \
2306 init->nested++;
2317 init->nested--;

Completed in 493 milliseconds

123