/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | type_cast.c | 41 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/ |
D | events_2l.c | 64 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/ |
D | core-pkey.c | 48 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()
|
D | ptrace-pkey.c | 37 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/ |
D | enlighten.c | 48 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/ |
D | xen_shinfo_test.c | 143 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/ |
D | hypervisor.h | 7 extern struct shared_info *HYPERVISOR_shared_info;
|
/linux-6.12.1/arch/x86/xen/ |
D | xen-ops.h | 35 extern struct shared_info xen_dummy_shared_info; 36 extern struct shared_info *HYPERVISOR_shared_info;
|
D | suspend_pv.c | 30 set_fixmap(FIX_PARAVIRT_BOOTMAP, xen_start_info->shared_info); in xen_pv_post_suspend()
|
D | enlighten.c | 51 struct shared_info xen_dummy_shared_info; 69 struct shared_info *HYPERVISOR_shared_info = &xen_dummy_shared_info;
|
D | time.c | 78 struct shared_info *s = HYPERVISOR_shared_info; in xen_read_wallclock()
|
D | enlighten_pv.c | 186 set_fixmap(FIX_PARAVIRT_BOOTMAP, xen_start_info->shared_info); in xen_pv_init_platform()
|
/linux-6.12.1/include/xen/interface/ |
D | xen.h | 542 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/ |
D | hypervisor.h | 36 extern struct shared_info *HYPERVISOR_shared_info;
|
/linux-6.12.1/arch/x86/kvm/ |
D | xen.c | 72 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/ |
D | kvm.h | 582 } shared_info; member
|
/linux-6.12.1/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 582 } shared_info; member
|
/linux-6.12.1/Documentation/virt/kvm/ |
D | api.rst | 375 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 …]
|