Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A 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/drivers/xen/events/
H A 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/tools/testing/selftests/powerpc/ptrace/
H A 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()
H A 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/arch/arm/xen/
H A 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/tools/testing/selftests/kvm/x86_64/
H A 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/include/xen/arm/
H A Dhypervisor.h7 extern struct shared_info *HYPERVISOR_shared_info;
/linux/include/xen/interface/
H A Dxen.h542 struct shared_info { struct
624 unsigned long shared_info; /* MACHINE address of shared info struct. */ member
/linux/arch/x86/xen/
H A Dxen-ops.h35 extern struct shared_info xen_dummy_shared_info;
36 extern struct shared_info *HYPERVISOR_shared_info;
H A Dsuspend_pv.c30 set_fixmap(FIX_PARAVIRT_BOOTMAP, xen_start_info->shared_info); in xen_pv_post_suspend()
H A Denlighten.c51 struct shared_info xen_dummy_shared_info;
69 struct shared_info *HYPERVISOR_shared_info = &xen_dummy_shared_info;
H A Dtime.c78 struct shared_info *s = HYPERVISOR_shared_info; in xen_read_wallclock()
H A Denlighten_pv.c186 set_fixmap(FIX_PARAVIRT_BOOTMAP, xen_start_info->shared_info); in xen_pv_init_platform()
/linux/arch/x86/include/asm/xen/
H A Dhypervisor.h36 extern struct shared_info *HYPERVISOR_shared_info;
/linux/arch/x86/kvm/
H A 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/arch/x86/include/uapi/asm/
H A Dkvm.h582 } shared_info; member
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h582 } shared_info; member
/linux/Documentation/virt/kvm/
H A Dapi.rst1012 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;
5572 userspace address at which the shared_info page resides, which
5579 Setting the hva to zero will disable the shared_info page.
5682 in the shared_info page. In this case it is safe to assume the
[all …]