/linux-master/net/netfilter/ipset/ |
H A D | ip_set_list_set.c | 459 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 D | ip_set_hash_gen.h | 1268 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);
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_perf.c | 111 if (!vcpu->arch.nested && 129 * Save pmu if this guest is capable of running nested guests. 172 * and reflect it into the host's VPA in the case of a nested 182 if (!vcpu->arch.nested)
|
H A D | book3s_hv.c | 130 /* 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 D | book3s_hv_nested.c | 7 * 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/x86/kvm/svm/ |
H A D | svm.c | 195 * 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 D | avic.c | 128 * If running nested and the guest uses its own MSR bitmap, there 132 vmcb12_is_intercept(&svm->nested.ctl, INTERCEPT_MSR_PROT)) 294 * Note, AVIC hardware walks the nested page table to check
|
/linux-master/tools/objtool/ |
H A D | Makefile | 34 WARNINGS := $(EXTRA_WARNINGS) -Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs
|
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 1027 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/tools/net/ynl/ |
H A D | ynl-gen-c.py | 59 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/arch/powerpc/include/asm/ |
H A D | kvm_book3s_64.h | 20 * 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 D | kvm_host.h | 42 * 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*/
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | capabilities.h | 67 struct nested_vmx_msrs nested; member in struct:vmcs_config
|
H A D | vmx.h | 117 * 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
|
/linux-master/arch/x86/include/asm/ |
H A D | ptrace.h | 93 nested : 1, member in struct:fred_ss
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | dirty_log_perf_test.c | 316 printf(" -n: Run the vCPUs in nested mode (L2)\n"); 389 memstress_args.nested = true;
|
/linux-master/drivers/mtd/ubi/ |
H A D | wl.c | 590 * @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
|
/linux-master/kernel/irq/ |
H A D | manage.c | 713 * 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/fs/ocfs2/ |
H A D | journal.c | 374 int ret, nested; local 379 nested = handle->h_ref > 1; 384 if (!nested) {
|
/linux-master/arch/x86/kvm/ |
H A D | hyperv.c | 165 * 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/arch/powerpc/ |
H A D | Makefile | 143 CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
|
/linux-master/net/wireless/ |
H A D | nl80211.c | 2239 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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | init.c | 44 '0' + (init->nested - 1) : ' ', ##args); \ 2306 init->nested++; 2317 init->nested--;
|
/linux-master/include/net/ |
H A D | sock.h | 1957 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/arm/kernel/ |
H A D | entry-armv.S | 310 @ save/restore lr_abt and spsr_abt to make nested aborts safe.
|