Home
last modified time | relevance | path

Searched refs:plt_entry (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dmodule.h22 struct plt_entry *ftrace_trampolines;
39 struct plt_entry { struct
60 struct plt_entry get_plt_entry(u64 dst, void *pc);
61 bool plt_entries_equal(const struct plt_entry *a, const struct plt_entry *b);
63 static inline bool plt_entry_is_initialized(const struct plt_entry *e) in plt_entry_is_initialized()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dmodule.h47 struct plt_entry { struct
63 static inline struct plt_entry emit_plt_entry(unsigned long val, in emit_plt_entry()
82 return (struct plt_entry) { in emit_plt_entry()
100 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
104 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dmodule.h31 struct plt_entry *ftrace_trampolines;
38 struct plt_entry { struct
57 static inline struct plt_entry emit_plt_entry(unsigned long val) in emit_plt_entry()
66 return (struct plt_entry) { addu16id, lu32id, lu52id, jirl }; in emit_plt_entry()
87 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
93 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dmodule.h25 struct plt_entry *ftrace_trampolines;
32 struct plt_entry { struct
51 static inline struct plt_entry emit_plt_entry(unsigned long val) in emit_plt_entry()
60 return (struct plt_entry) { lu12iw, lu32id, lu52id, jirl }; in emit_plt_entry()
81 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
87 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry()
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dmodule-plts.c13 static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc, in __get_adrp_add_pair()
23 return (struct plt_entry){ cpu_to_le32(adrp), cpu_to_le32(add) }; in __get_adrp_add_pair()
26 struct plt_entry get_plt_entry(u64 dst, void *pc) in get_plt_entry()
28 struct plt_entry plt; in get_plt_entry()
41 bool plt_entries_equal(const struct plt_entry *a, const struct plt_entry *b) in plt_entries_equal()
79 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_plt_entry()
110 struct plt_entry *plt = (struct plt_entry *)sechdr in module_emit_veneer_for_adrp()
[all...]
H A Dftrace.c65 static struct plt_entry *get_ftrace_plt(struct module *mod, unsigned long addr) in get_ftrace_plt()
68 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt()
94 struct plt_entry *plt; in ftrace_find_callable_addr()
H A Dmodule.c489 static inline void __init_plt(struct plt_entry *plt, unsigned long addr) in __init_plt()
500 struct plt_entry *plts; in module_init_ftrace_plt()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dmodule-plts.c13 static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc, in __get_adrp_add_pair()
23 return (struct plt_entry){ cpu_to_le32(adrp), cpu_to_le32(add) }; in __get_adrp_add_pair()
26 struct plt_entry get_plt_entry(u64 dst, void *pc) in get_plt_entry()
28 struct plt_entry plt; in get_plt_entry()
41 static bool plt_entries_equal(const struct plt_entry *a, in plt_entries_equal()
42 const struct plt_entry *b) in plt_entries_equal()
75 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_plt_entry()
106 struct plt_entry *plt = (struct plt_entry *)sechdr in module_emit_veneer_for_adrp()
[all...]
H A Dftrace.c198 static struct plt_entry *get_ftrace_plt(struct module *mod) in get_ftrace_plt()
201 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt()
230 struct plt_entry *plt; in ftrace_find_callable_addr()
H A Dmodule.c560 static inline void __init_plt(struct plt_entry *plt, unsigned long addr) in __init_plt()
571 struct plt_entry *plts; in module_init_ftrace_plt()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dmodule.h48 struct plt_entry { struct
64 static inline struct plt_entry emit_plt_entry(unsigned long val, in emit_plt_entry()
83 return (struct plt_entry) { in emit_plt_entry()
101 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
105 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dmodule.h21 struct plt_entry *ftrace_trampolines;
31 struct plt_entry { struct
52 struct plt_entry get_plt_entry(u64 dst, void *pc);
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule-sections.c43 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry()
52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
165 plt_sec->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
180 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
181 tramp->sh_size = NR_FTRACE_PLTS * sizeof(struct plt_entry); in module_frob_arch_sections()
H A Dftrace_dyn.c90 static struct plt_entry *get_ftrace_plt(struct module *mod, unsigned long addr) in get_ftrace_plt()
92 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt()
105 struct plt_entry *plt; in get_plt_addr()
H A Dmodule.c513 struct plt_entry *ftrace_plts; in module_init_ftrace_plt()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmodule-sections.c43 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry()
52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
165 plt_sec->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
180 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
181 tramp->sh_size = NR_FTRACE_PLTS * sizeof(struct plt_entry); in module_frob_arch_sections()
H A Dftrace_dyn.c41 static struct plt_entry *get_ftrace_plt(struct module *mod, unsigned long addr) in get_ftrace_plt()
43 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt()
66 struct plt_entry *plt; in ftrace_find_callable_addr()
H A Dmodule.c502 struct plt_entry *ftrace_plts; in module_init_ftrace_plt()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dmodule.c214 struct plt_entry { struct
219 static const struct plt_entry ia64_plt_template = {
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 = {
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...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dmodule.c214 struct plt_entry { struct
219 static const struct plt_entry ia64_plt_template = {
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 = {
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...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A 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()

Completed in 11 milliseconds