Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dmodule.h32 struct plt_entry *ftrace_trampolines;
39 struct plt_entry { struct
60 static inline struct plt_entry emit_plt_entry(unsigned long val) in emit_plt_entry() argument
68 return (struct plt_entry) { lu12iw, jirl }; in emit_plt_entry()
77 return (struct plt_entry) { lu12iw, lu32id, lu52id, jirl }; in emit_plt_entry()
99 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
105 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry()
/linux/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 *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_veneer_for_adrp()
243 ret += DIV_ROUND_UP(ret, (SZ_4K / sizeof(struct plt_entry))); in count_plts()
350 pltsec->sh_size = (core_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
[all …]
H A Dmodule.c447 static inline void __init_plt(struct plt_entry *plt, unsigned long addr) in __init_plt()
458 struct plt_entry *plts; in module_init_ftrace_plt()
/linux/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() argument
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()
/linux/arch/arm64/include/asm/
H A Dmodule.h21 struct plt_entry *ftrace_trampolines;
22 struct plt_entry *init_ftrace_trampolines;
32 struct plt_entry { struct
52 struct plt_entry get_plt_entry(u64 dst, void *pc); argument
/linux/arch/loongarch/kernel/
H A Dmodule-sections.c44 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry()
53 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
166 plt_sec->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()
181 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
182 tramp->sh_size = NR_FTRACE_PLTS * sizeof(struct plt_entry); in module_frob_arch_sections()
H A Dmodule.c593 struct plt_entry *ftrace_plts; in module_init_ftrace_plt()
/linux/arch/riscv/kernel/
H A Dmodule-sections.c38 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry()
47 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry()
195 mod->arch.plt.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_entry); in module_frob_arch_sections()