Home
last modified time | relevance | path

Searched refs:vdso_info (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/vDSO/
H A Dparse_vdso.c45 static struct vdso_info struct
62 } vdso_info; argument
89 vdso_info.valid = false; in vdso_init_from_sysinfo_ehdr()
91 vdso_info.load_addr = base; in vdso_init_from_sysinfo_ehdr()
99 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
110 vdso_info.load_offset = base in vdso_init_from_sysinfo_ehdr()
125 vdso_info.symstrings = 0; in vdso_init_from_sysinfo_ehdr()
126 vdso_info.symtab = 0; in vdso_init_from_sysinfo_ehdr()
127 vdso_info.versym = 0; in vdso_init_from_sysinfo_ehdr()
128 vdso_info.verdef = 0; in vdso_init_from_sysinfo_ehdr()
[all …]
/openbmc/linux/tools/perf/util/
H A Dvdso.c39 struct vdso_info { struct
47 static struct vdso_info *vdso_info__new(void) in vdso_info__new() argument
49 static const struct vdso_info vdso_info_init = { in vdso_info__new()
110 struct vdso_info *vdso_info = machine->vdso_info; in machine__exit_vdso() local
112 if (!vdso_info) in machine__exit_vdso()
115 if (vdso_info->vdso.found) in machine__exit_vdso()
116 unlink(vdso_info->vdso.temp_file_name); in machine__exit_vdso()
118 if (vdso_info->vdso32.found) in machine__exit_vdso()
119 unlink(vdso_info->vdso32.temp_file_name); in machine__exit_vdso()
120 if (vdso_info->vdsox32.found) in machine__exit_vdso()
[all …]
H A Dmachine.h29 struct vdso_info;
53 struct vdso_info *vdso_info; member
H A Dmachine.c126 machine->vdso_info = NULL; in machine__init()
/openbmc/linux/arch/riscv/kernel/
H A Dvdso.c53 static struct __vdso_info vdso_info; variable
66 static void __init __vdso_init(struct __vdso_info *vdso_info) in __vdso_init() argument
72 if (memcmp(vdso_info->vdso_code_start, "\177ELF", 4)) in __vdso_init()
75 vdso_info->vdso_pages = ( in __vdso_init()
76 vdso_info->vdso_code_end - in __vdso_init()
77 vdso_info->vdso_code_start) >> in __vdso_init()
80 vdso_pagelist = kcalloc(vdso_info->vdso_pages, in __vdso_init()
87 pfn = sym_to_pfn(vdso_info->vdso_code_start); in __vdso_init()
89 for (i = 0; i < vdso_info->vdso_pages; i++) in __vdso_init()
92 vdso_info->cm->pages = vdso_pagelist; in __vdso_init()
[all …]
/openbmc/linux/arch/arm64/kernel/
H A Dvdso.c54 static struct vdso_abi_info vdso_info[] __ro_after_init = { variable
92 if (memcmp(vdso_info[abi].vdso_code_start, "\177ELF", 4)) { in __vdso_init()
97 vdso_info[abi].vdso_pages = ( in __vdso_init()
98 vdso_info[abi].vdso_code_end - in __vdso_init()
99 vdso_info[abi].vdso_code_start) >> in __vdso_init()
102 vdso_pagelist = kcalloc(vdso_info[abi].vdso_pages, in __vdso_init()
109 pfn = sym_to_pfn(vdso_info[abi].vdso_code_start); in __vdso_init()
111 for (i = 0; i < vdso_info[abi].vdso_pages; i++) in __vdso_init()
114 vdso_info[abi].cm->pages = vdso_pagelist; in __vdso_init()
141 if (vma_is_special_mapping(vma, vdso_info[VDSO_ABI_AA64].dm)) in vdso_join_timens()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dvdso.c87 struct loongarch_vdso_info vdso_info = { variable
106 BUG_ON(!PAGE_ALIGNED(vdso_info.vdso)); in init_vdso()
107 BUG_ON(!PAGE_ALIGNED(vdso_info.size)); in init_vdso()
112 pfn = __phys_to_pfn(__pa_symbol(vdso_info.vdso)); in init_vdso()
113 for (i = 0; i < vdso_info.size / PAGE_SIZE; i++) in init_vdso()
114 vdso_info.code_mapping.pages[i] = pfn_to_page(pfn + i); in init_vdso()
142 if (vma_is_special_mapping(vma, &vdso_info.data_mapping)) in vdso_join_timens()
/openbmc/linux/arch/loongarch/include/asm/
H A Dvdso.h37 extern struct loongarch_vdso_info vdso_info;
H A Delf.h242 current->thread.vdso = &vdso_info; \
259 current->thread.vdso = &vdso_info; \
/openbmc/qemu/linux-user/
H A Delfload.c321 #define DLINFO_ARCH_ITEMS (vdso_info != NULL)
324 if (vdso_info) { \
325 NEW_AUX_ENT(AT_SYSINFO, vdso_info->entry); \
2474 struct image_info *vdso_info) in create_elf_tables() argument
2568 if (vdso_info) { in create_elf_tables()
2646 if (vdso_info) { in create_elf_tables()
2647 NEW_AUX_ENT(AT_SYSINFO_EHDR, vdso_info->load_addr); in create_elf_tables()
3797 struct image_info interp_info, vdso_info; in load_elf_binary() local
3884 load_elf_vdso(&vdso_info, vdso); in load_elf_binary()
3885 info->vdso = vdso_info.load_bias; in load_elf_binary()
[all …]