Home
last modified time | relevance | path

Searched refs:shared_info (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtype_cast.c41 struct skb_shared_info *shared_info; in md_skb() local
49 shared_info = bpf_core_cast(kskb->head + kskb->end, struct skb_shared_info); in md_skb()
50 meta_len = shared_info->meta_len; in md_skb()
51 frag0_len = shared_info->frag_list->len; in md_skb()
/linux-6.12.1/drivers/xen/events/
Devents_2l.c64 struct shared_info *s = HYPERVISOR_shared_info; in evtchn_2l_clear_pending()
70 struct shared_info *s = HYPERVISOR_shared_info; in evtchn_2l_set_pending()
76 struct shared_info *s = HYPERVISOR_shared_info; in evtchn_2l_is_pending()
82 struct shared_info *s = HYPERVISOR_shared_info; in evtchn_2l_mask()
88 struct shared_info *s = HYPERVISOR_shared_info; in evtchn_2l_unmask()
148 struct shared_info *sh, in active_evtchns()
172 struct shared_info *s = HYPERVISOR_shared_info; in evtchn_2l_handle_events()
266 struct shared_info *sh = HYPERVISOR_shared_info; in xen_debug_interrupt()
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c48 struct shared_info { struct
110 static int child(struct shared_info *info) in child()
174 static off_t try_core_file(const char *filename, struct shared_info *info, in try_core_file()
195 static int check_core_file(struct shared_info *info, Elf64_Ehdr *ehdr, in check_core_file()
256 static int parent(struct shared_info *info, pid_t pid) in parent()
409 struct shared_info *info; in core_pkey()
Dptrace-pkey.c37 struct shared_info { struct
69 static int child(struct shared_info *info) in child() argument
185 static int parent(struct shared_info *info, pid_t pid) in parent()
296 struct shared_info *info; in ptrace_pkey()
/linux-6.12.1/arch/arm/xen/
Denlighten.c48 struct shared_info xen_dummy_shared_info;
49 struct shared_info *HYPERVISOR_shared_info = (void *)&xen_dummy_shared_info;
82 struct shared_info *s = HYPERVISOR_shared_info; in xen_read_wallclock()
438 struct shared_info *shared_info_page = NULL; in xen_guest_init()
464 shared_info_page = (struct shared_info *)get_zeroed_page(GFP_KERNEL); in xen_guest_init()
477 HYPERVISOR_shared_info = (struct shared_info *)shared_info_page; in xen_guest_init()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c143 struct shared_info { struct
237 struct shared_info *si = (void *)SHINFO_VADDR; in guest_code()
384 static struct shared_info *shinfo;
402 .u.shared_info.gfn = SHINFO_REGION_GPA / PAGE_SIZE in juggle_shinfo_state()
407 .u.shared_info.gfn = KVM_XEN_INVALID_GFN in juggle_shinfo_state()
412 .u.shared_info.hva = (unsigned long)shinfo in juggle_shinfo_state()
417 .u.shared_info.hva = 0 in juggle_shinfo_state()
504 ha.u.shared_info.hva = (unsigned long)shinfo; in main()
507 ha.u.shared_info.gfn = SHINFO_ADDR / PAGE_SIZE; in main()
/linux-6.12.1/include/xen/arm/
Dhypervisor.h7 extern struct shared_info *HYPERVISOR_shared_info;
/linux-6.12.1/arch/x86/xen/
Dxen-ops.h35 extern struct shared_info xen_dummy_shared_info;
36 extern struct shared_info *HYPERVISOR_shared_info;
Dsuspend_pv.c30 set_fixmap(FIX_PARAVIRT_BOOTMAP, xen_start_info->shared_info); in xen_pv_post_suspend()
Denlighten.c51 struct shared_info xen_dummy_shared_info;
69 struct shared_info *HYPERVISOR_shared_info = &xen_dummy_shared_info;
Dtime.c78 struct shared_info *s = HYPERVISOR_shared_info; in xen_read_wallclock()
Denlighten_pv.c186 set_fixmap(FIX_PARAVIRT_BOOTMAP, xen_start_info->shared_info); in xen_pv_init_platform()
/linux-6.12.1/include/xen/interface/
Dxen.h542 struct shared_info { struct
624 unsigned long shared_info; /* MACHINE address of shared info struct. */ member
/linux-6.12.1/arch/x86/include/asm/xen/
Dhypervisor.h36 extern struct shared_info *HYPERVISOR_shared_info;
/linux-6.12.1/arch/x86/kvm/
Dxen.c72 BUILD_BUG_ON(offsetof(struct shared_info, wc) != 0xc00); in kvm_xen_shared_info_init()
73 BUILD_BUG_ON(offsetof(struct shared_info, wc_sec_hi) != 0xc0c); in kvm_xen_shared_info_init()
76 struct shared_info *shinfo = gpc->khva; in kvm_xen_shared_info_init()
732 gfn_t gfn = data->u.shared_info.gfn; in kvm_xen_hvm_set_attr()
742 void __user * hva = u64_to_user_ptr(data->u.shared_info.hva); in kvm_xen_hvm_set_attr()
817 data->u.shared_info.gfn = gpa_to_gfn(kvm->arch.xen.shinfo_cache.gpa); in kvm_xen_hvm_get_attr()
819 data->u.shared_info.gfn = KVM_XEN_INVALID_GFN; in kvm_xen_hvm_get_attr()
825 data->u.shared_info.hva = kvm->arch.xen.shinfo_cache.uhva; in kvm_xen_hvm_get_attr()
827 data->u.shared_info.hva = 0; in kvm_xen_hvm_get_attr()
1396 struct shared_info *shinfo = gpc->khva; in wait_pending_event()
[all …]
/linux-6.12.1/arch/x86/include/uapi/asm/
Dkvm.h582 } shared_info; member
/linux-6.12.1/tools/arch/x86/include/uapi/asm/
Dkvm.h582 } shared_info; member
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst375 Note that the Xen shared_info page, if configured, shall always be assumed
1012 channel interrupts rather than manipulating the guest's shared_info
5517 } shared_info;
5544 determines the layout of the shared_info page exposed to the VM.
5547 Sets the guest physical frame number at which the Xen shared_info
5549 32 vCPUs in the shared_info page, KVM does not automatically do so
5553 in the shared_info page. This is because KVM may not be aware of
5557 Note that the shared_info page may be constantly written to by KVM;
5566 Setting the gfn to KVM_XEN_INVALID_GFN will disable the shared_info
5572 userspace address at which the shared_info page resides, which
[all …]