Home
last modified time | relevance | path

Searched refs:got_entry (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dmodule.h26 struct got_entry { struct
30 static inline struct got_entry emit_got_entry(unsigned long val) in emit_got_entry()
32 return (struct got_entry) {val}; in emit_got_entry()
35 static inline struct got_entry *get_got_entry(unsigned long val, in get_got_entry()
38 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry()
91 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dmodule.h27 struct got_entry { struct
31 static inline struct got_entry emit_got_entry(unsigned long val) in emit_got_entry()
33 return (struct got_entry) {val}; in emit_got_entry()
36 static inline struct got_entry *get_got_entry(unsigned long val, in get_got_entry()
39 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry()
92 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dmodule.h34 struct got_entry { struct
52 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
54 return (struct got_entry) { val }; in emit_got_entry()
101 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
106 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dmodule.h28 struct got_entry { struct
46 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
48 return (struct got_entry) { val }; in emit_got_entry()
95 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
100 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry()
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dmodule-sections.c17 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry()
23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
35 struct got_entry *got_plt; in module_emit_plt_entry()
44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
148 mod->arch.got.shdr->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
155 mod->arch.got_plt.shdr->sh_size = (num_plts + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dmodule-sections.c17 struct got_entry *got = get_got_entry(val, got_sec); in module_emit_got_entry()
23 got = (struct got_entry *)got_sec->shdr->sh_addr; in module_emit_got_entry()
35 struct got_entry *got_plt; in module_emit_plt_entry()
44 got_plt = (struct got_entry *)got_plt_sec->shdr->sh_addr; in module_emit_plt_entry()
148 mod->arch.got.shdr->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
155 mod->arch.got_plt.shdr->sh_size = (num_plts + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dmodule.c22 struct got_entry { struct
23 struct got_entry *next;
30 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got()
35 struct got_entry *g; in process_reloc_for_got()
67 struct got_entry *chains; in module_frob_arch_sections()
75 /* Find out how large the symbol table is. Allocate one got_entry in module_frob_arch_sections()
96 chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); in module_frob_arch_sections()
121 struct got_entry *g, *n; in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dmodule.c22 struct got_entry { struct
23 struct got_entry *next;
30 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got()
35 struct got_entry *g; in process_reloc_for_got()
67 struct got_entry *chains; in module_frob_arch_sections()
75 /* Find out how large the symbol table is. Allocate one got_entry in module_frob_arch_sections()
96 chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); in module_frob_arch_sections()
121 struct got_entry *g, *n; in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule-sections.c16 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry()
22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
157 got_sec->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmodule-sections.c16 struct got_entry *got = get_got_entry(val, sechdrs, got_sec); in module_emit_got_entry()
22 got = (struct got_entry *)sechdrs[got_sec->shndx].sh_addr; in module_emit_got_entry()
157 got_sec->sh_size = (num_gots + 1) * sizeof(struct got_entry); in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dmodule.c99 struct got_entry { struct
107 struct got_entry { struct
352 me->core_layout.size += gots * sizeof(struct got_entry); in module_frob_arch_sections()
368 struct got_entry *got; in get_got()
383 pr_debug("GOT ENTRY %d[%lx] val %lx\n", i, i*sizeof(struct got_entry), in get_got()
385 return i * sizeof(struct got_entry); in get_got()
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dmodule.c80 struct got_entry { struct
88 struct got_entry { struct
335 mod_mem->size += gots * sizeof(struct got_entry); in module_frob_arch_sections()
351 struct got_entry *got; in get_got()
366 pr_debug("GOT ENTRY %d[%lx] val %lx\n", i, i*sizeof(struct got_entry), in get_got()
368 return i * sizeof(struct got_entry); in get_got()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Delf.h221 struct got_entry { struct
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Delf.h221 struct got_entry { struct
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dmodule.c477 mod->arch.got->sh_size = gots * sizeof(struct got_entry); in module_frob_arch_sections()
512 struct got_entry *got, *e; in get_ltoff()
523 BUG_ON(e >= (struct got_entry *) (mod->arch.got->sh_addr + mod->arch.got->sh_size)); in get_ltoff()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dmodule.c477 mod->arch.got->sh_size = gots * sizeof(struct got_entry); in module_frob_arch_sections()
512 struct got_entry *got, *e; in get_ltoff()
523 BUG_ON(e >= (struct got_entry *) (mod->arch.got->sh_addr + mod->arch.got->sh_size)); in get_ltoff()

Completed in 11 milliseconds