Home
last modified time | relevance | path

Searched refs:plt_entry (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/arm64/include/asm/
Dmodule.h24 struct plt_entry *ftrace_trampoline;
41 struct plt_entry { struct
62 struct plt_entry get_plt_entry(u64 dst, void *pc); argument
63 bool plt_entries_equal(const struct plt_entry *a, const struct plt_entry *b);
65 static inline bool plt_entry_is_initialized(const struct plt_entry *e) in plt_entry_is_initialized()
/Linux-v5.4/arch/arm64/kernel/
Dmodule-plts.c11 static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc, in __get_adrp_add_pair()
21 return (struct plt_entry){ cpu_to_le32(adrp), cpu_to_le32(add) }; in __get_adrp_add_pair()
24 struct plt_entry get_plt_entry(u64 dst, void *pc) in get_plt_entry()
26 struct plt_entry plt; in get_plt_entry()
39 bool plt_entries_equal(const struct plt_entry *a, const struct plt_entry *b) in plt_entries_equal()
77 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_plt_entry()
108 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_veneer_for_adrp()
250 ret += DIV_ROUND_UP(ret, (SZ_4K / sizeof(struct plt_entry))); in count_plts()
317 pltsec->sh_size = (core_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
325 pltsec->sh_size = (init_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
[all …]
Dftrace.c76 struct plt_entry trampoline, *dst; in ftrace_make_call()
/Linux-v5.4/arch/riscv/include/asm/
Dmodule.h49 struct plt_entry { struct
65 static inline struct plt_entry emit_plt_entry(unsigned long val, in emit_plt_entry() argument
84 return (struct plt_entry) { in emit_plt_entry()
102 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
106 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry()
/Linux-v5.4/arch/ia64/kernel/
Dmodule.c214 struct plt_entry { struct
219 static const struct plt_entry ia64_plt_template = { argument
235 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt()
245 plt_target (struct plt_entry *plt) in plt_target()
259 struct plt_entry { struct
264 static const struct plt_entry ia64_plt_template = { argument
285 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt()
294 plt_target (struct plt_entry *plt) in plt_target()
469 mod->arch.core_plt->sh_size = core_plts * sizeof(struct plt_entry); in module_frob_arch_sections()
473 mod->arch.init_plt->sh_size = init_plts * sizeof(struct plt_entry); in module_frob_arch_sections()
[all …]
/Linux-v5.4/arch/riscv/kernel/
Dmodule-sections.c37 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry()
46 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry()
141 mod->arch.plt.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()