Home
last modified time | relevance | path

Searched refs:plt (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.15/arch/arm/kernel/
H A Dmodule-plts.c40 plt->ldr[i] = PLT_ENT_LDR; in prealloc_fixed()
50 struct plt_entries *plt; in get_module_plt() local
56 plt = pltsec->plt_ent; in get_module_plt()
58 prealloc_fixed(pltsec, plt); in get_module_plt()
61 if (plt->lit[idx] == val) in get_module_plt()
74 if (plt->lit[idx] == val) in get_module_plt()
79 plt++; in get_module_plt()
92 plt->lit[idx] = val; in get_module_plt()
223 mod->arch.core.plt = s; in module_frob_arch_sections()
230 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections()
[all …]
/linux-6.15/drivers/net/phy/
H A Dphy_led_triggers.c33 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local
42 if (!plt) { in phy_led_trigger_change_speed()
49 if (plt != phy->last_triggered) { in phy_led_trigger_change_speed()
56 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed()
57 phy->last_triggered = plt; in phy_led_trigger_change_speed()
70 struct phy_led_trigger *plt, in phy_led_trigger_register() argument
74 plt->speed = speed; in phy_led_trigger_register()
75 phy_led_trigger_format_name(phy, plt->name, sizeof(plt->name), suffix); in phy_led_trigger_register()
76 plt->trigger.name = plt->name; in phy_led_trigger_register()
78 return led_trigger_register(&plt->trigger); in phy_led_trigger_register()
[all …]
/linux-6.15/arch/riscv/kernel/
H A Dmodule-sections.c36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
40 if (plt) in module_emit_plt_entry()
41 return (unsigned long)plt; in module_emit_plt_entry()
47 plt[i] = emit_plt_entry(val, in module_emit_plt_entry()
48 (unsigned long)&plt[i], in module_emit_plt_entry()
55 return (unsigned long)&plt[i]; in module_emit_plt_entry()
103 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
110 if (!mod->arch.plt.shdr) { in module_frob_arch_sections()
139 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
143 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
[all …]
/linux-6.15/arch/x86/boot/compressed/
H A Dvmlinux.lds.S86 .got.plt (INFO) : {
87 *(.got.plt)
89 ASSERT(SIZEOF(.got.plt) == 0 ||
91 SIZEOF(.got.plt) == 0x18,
93 SIZEOF(.got.plt) == 0xc,
106 .plt : {
107 *(.plt) *(.plt.*)
109 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux-6.15/arch/s390/boot/
H A Dvmlinux.lds.S147 .got.plt : {
148 *(.got.plt)
150 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
156 .plt : {
157 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
159 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux-6.15/arch/arm64/kernel/
H A Dmodule-plts.c28 struct plt_entry plt; in get_plt_entry() local
36 plt.br = cpu_to_le32(br); in get_plt_entry()
38 return plt; in get_plt_entry()
80 if (is_forbidden_offset_for_adrp(&plt[i].adrp)) in module_emit_plt_entry()
83 plt[i] = get_plt_entry(val, &plt[i]); in module_emit_plt_entry()
90 if (j >= 0 && plt_entries_equal(plt + i, plt + j)) in module_emit_plt_entry()
91 return (u64)&plt[j]; in module_emit_plt_entry()
97 return (u64)&plt[i]; in module_emit_plt_entry()
124 plt[i] = __get_adrp_add_pair(val, (u64)&plt[i], rd); in module_emit_veneer_for_adrp()
125 plt[i].br = cpu_to_le32(br); in module_emit_veneer_for_adrp()
[all …]
H A Dvmlinux.lds.S200 .got.plt : { *(.got.plt) }
201 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18,
346 .plt : {
347 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
349 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
H A Dftrace.c264 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local
266 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt()
293 struct plt_entry *plt; in ftrace_find_callable_addr() local
335 plt = get_ftrace_plt(mod); in ftrace_find_callable_addr()
336 if (!plt) { in ftrace_find_callable_addr()
341 *addr = (unsigned long)plt; in ftrace_find_callable_addr()
/linux-6.15/arch/loongarch/kernel/
H A Dmodule-sections.c41 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
46 if (plt) in module_emit_plt_entry()
47 return (Elf_Addr)plt; in module_emit_plt_entry()
52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
53 plt[nr] = emit_plt_entry(val); in module_emit_plt_entry()
61 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
117 mod->arch.plt.shndx = i; in module_frob_arch_sections()
128 if (!mod->arch.plt.shndx) { in module_frob_arch_sections()
161 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections()
166 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
[all …]
H A Dftrace_dyn.c43 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local
46 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt()
49 return &plt[FTRACE_REGS_PLT_IDX]; in get_ftrace_plt()
66 struct plt_entry *plt; in ftrace_find_callable_addr() local
100 plt = get_ftrace_plt(mod, *addr); in ftrace_find_callable_addr()
101 if (!plt) { in ftrace_find_callable_addr()
106 *addr = (unsigned long)plt; in ftrace_find_callable_addr()
H A Dvmlinux.lds.S105 .plt : ALIGN(16) { *(.plt) }
106 .got.plt : ALIGN(16) { *(.got.plt) }
/linux-6.15/arch/s390/kernel/
H A Dvmlinux.lds.S244 .got.plt : {
245 *(.got.plt)
247 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
253 .plt : {
254 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
256 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux-6.15/arch/um/kernel/
H A Duml.lds.S58 .rel.plt : {
59 *(.rel.plt)
64 .rela.plt : {
65 *(.rela.plt)
94 .got : { *(.got.plt) *(.got) }
H A Ddyn.lds.S57 .rel.plt : {
58 *(.rel.plt)
63 .rela.plt : {
64 *(.rela.plt)
72 .plt : { *(.plt) }
155 .got : { *(.got.plt) *(.got) }
/linux-6.15/arch/riscv/include/asm/
H A Dmodule.h23 struct mod_section plt; member
65 unsigned long plt, in emit_plt_entry() argument
80 unsigned long offset = got_plt - plt; in emit_plt_entry()
105 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry() local
108 return plt + got_plt_idx; in get_plt_entry()
H A Dmodule.lds.h5 .plt : { BYTE(0) }
7 .got.plt : { BYTE(0) }
/linux-6.15/arch/x86/kernel/
H A Dvmlinux.lds.S434 .got.plt (INFO) : { *(.got.plt) }
435 ASSERT(SIZEOF(.got.plt) == 0 ||
437 SIZEOF(.got.plt) == 0x18,
439 SIZEOF(.got.plt) == 0xc,
452 .plt : {
453 *(.plt) *(.plt.*) *(.iplt)
455 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux-6.15/arch/arm64/kernel/vdso/
H A Dvdso.lds.S64 *(.got.plt)
65 *(.plt)
66 *(.plt.*)
68 *(.igot .igot.plt)
/linux-6.15/arch/arm64/kernel/vdso32/
H A Dvdso.lds.S41 *(.got.plt)
42 *(.plt)
45 *(.igot.plt)
/linux-6.15/arch/arm/include/asm/
H A Dmodule.lds.h4 .plt : { BYTE(0) }
5 .init.plt : { BYTE(0) }
/linux-6.15/arch/loongarch/include/asm/
H A Dmodule.lds.h6 .plt 0 : { BYTE(0) }
7 .plt.idx 0 : { BYTE(0) }
H A Dmodule.h22 struct mod_section plt; member
94 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry() local
99 return plt + plt_idx; in get_plt_entry()
/linux-6.15/arch/arm64/include/asm/
H A Dmodule.lds.h2 .plt 0 : { BYTE(0) }
3 .init.plt 0 : { BYTE(0) }
/linux-6.15/arch/nios2/boot/compressed/
H A Dvmlinux.lds.S28 *(.got.plt)
29 *(.igot.plt)
/linux-6.15/arch/nios2/kernel/
H A Dvmlinux.lds.S35 *(.got.plt)
36 *(.igot.plt)

123