Home
last modified time | relevance | path

Searched refs:got_entry (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/riscv/include/asm/
Dmodule.h27 struct got_entry { struct
31 static inline struct got_entry emit_got_entry(unsigned long val) in emit_got_entry() argument
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()
/linux-6.12.1/arch/loongarch/include/asm/
Dmodule.h35 struct got_entry { struct
53 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry() argument
55 return (struct got_entry) { val }; in emit_got_entry()
102 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
107 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry()
/linux-6.12.1/arch/alpha/kernel/
Dmodule.c22 struct got_entry { struct
23 struct got_entry *next; argument
30 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got() argument
35 struct got_entry *g; in process_reloc_for_got()
67 struct got_entry *chains; 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()
/linux-6.12.1/arch/riscv/kernel/
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()
/linux-6.12.1/arch/loongarch/kernel/
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()
/linux-6.12.1/fs/bcachefs/
Dnocow_locking.c54 goto got_entry; in __bch2_bucket_nocow_trylock()
64 got_entry: in __bch2_bucket_nocow_trylock()
/linux-6.12.1/arch/parisc/kernel/
Dmodule.c79 struct got_entry { struct
87 struct got_entry { argument
323 mod_mem->size += gots * sizeof(struct got_entry); in module_frob_arch_sections()
339 struct got_entry *got; in get_got()
354 pr_debug("GOT ENTRY %d[%lx] val %lx\n", i, i*sizeof(struct got_entry), in get_got()
356 return i * sizeof(struct got_entry); in get_got()