Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/vDSO/
A Dparse_vdso.c39 static struct vdso_info struct
56 } vdso_info; argument
114 vdso_info.symtab = 0; in vdso_init_from_sysinfo_ehdr()
115 vdso_info.versym = 0; in vdso_init_from_sysinfo_ehdr()
116 vdso_info.verdef = 0; in vdso_init_from_sysinfo_ehdr()
146 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr()
149 if (!vdso_info.verdef) in vdso_init_from_sysinfo_ehdr()
156 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr()
203 if (!vdso_info.valid) in vdso_sym()
207 ELF(Word) chain = vdso_info.bucket[elf_hash(name) % vdso_info.nbucket]; in vdso_sym()
[all …]
/linux-6.3-rc2/tools/perf/util/
A Dvdso.c39 struct vdso_info { struct
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()
118 if (vdso_info->vdso32.found) in machine__exit_vdso()
124 zfree(&machine->vdso_info); in machine__exit_vdso()
258 struct vdso_info *vdso_info, in __machine__findnew_vdso_compat() argument
323 struct vdso_info *vdso_info; in machine__findnew_vdso() local
327 if (!machine->vdso_info) in machine__findnew_vdso()
330 vdso_info = machine->vdso_info; in machine__findnew_vdso()
[all …]
A Dmachine.h29 struct vdso_info;
53 struct vdso_info *vdso_info; member
A Dmachine.c109 machine->vdso_info = NULL; in machine__init()
/linux-6.3-rc2/arch/riscv/kernel/
A Dvdso.c58 static struct __vdso_info vdso_info; variable
80 vdso_info->vdso_pages = ( in __vdso_init()
81 vdso_info->vdso_code_end - in __vdso_init()
82 vdso_info->vdso_code_start) >> in __vdso_init()
85 vdso_pagelist = kcalloc(vdso_info->vdso_pages, in __vdso_init()
92 pfn = sym_to_pfn(vdso_info->vdso_code_start); in __vdso_init()
94 for (i = 0; i < vdso_info->vdso_pages; i++) in __vdso_init()
97 vdso_info->cm->pages = vdso_pagelist; in __vdso_init()
211 __vdso_init(&vdso_info); in vdso_init()
223 struct __vdso_info *vdso_info) in __setup_additional_pages() argument
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dvdso.c54 static struct vdso_abi_info vdso_info[] __ro_after_init = { variable
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()
199 vdso_text_len = vdso_info[abi].vdso_pages << PAGE_SHIFT; in __setup_additional_pages()
211 vdso_info[abi].dm); in __setup_additional_pages()
[all …]
/linux-6.3-rc2/arch/loongarch/kernel/
A Dvdso.c44 struct loongarch_vdso_info vdso_info = { variable
62 BUG_ON(!PAGE_ALIGNED(vdso_info.vdso)); in init_vdso()
63 BUG_ON(!PAGE_ALIGNED(vdso_info.size)); in init_vdso()
68 pfn = __phys_to_pfn(__pa_symbol(vdso_info.vdso)); in init_vdso()
69 for (i = 0; i < vdso_info.size / PAGE_SIZE; i++) in init_vdso()
70 vdso_info.code_mapping.pages[i] = pfn_to_page(pfn + i); in init_vdso()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dvdso.h37 extern struct loongarch_vdso_info vdso_info;
A Delf.h233 current->thread.vdso = &vdso_info; \
252 current->thread.vdso = &vdso_info; \

Completed in 22 milliseconds