Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/arch/arm/kernel/
A Dmodule-plts.c45 plt->ldr[i] = PLT_ENT_LDR; in prealloc_fixed()
55 struct plt_entries *plt; in get_module_plt() local
61 plt = pltsec->plt_ent; in get_module_plt()
66 if (plt->lit[idx] == val) in get_module_plt()
79 if (plt->lit[idx] == val) in get_module_plt()
84 plt++; in get_module_plt()
97 plt->lit[idx] = val; in get_module_plt()
228 mod->arch.core.plt = s; in module_frob_arch_sections()
230 mod->arch.init.plt = s; in module_frob_arch_sections()
235 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections()
[all …]
/linux-6.3-rc2/drivers/net/phy/
A Dphy_led_triggers.c31 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local
40 if (!plt) { in phy_led_trigger_change_speed()
47 if (plt != phy->last_triggered) { in phy_led_trigger_change_speed()
54 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed()
55 phy->last_triggered = plt; in phy_led_trigger_change_speed()
68 struct phy_led_trigger *plt, in phy_led_trigger_register() argument
72 plt->speed = speed; in phy_led_trigger_register()
73 phy_led_trigger_format_name(phy, plt->name, sizeof(plt->name), suffix); in phy_led_trigger_register()
74 plt->trigger.name = plt->name; in phy_led_trigger_register()
76 return led_trigger_register(&plt->trigger); in phy_led_trigger_register()
[all …]
/linux-6.3-rc2/arch/riscv/kernel/
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()
102 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections()
109 if (!mod->arch.plt.shdr) { in module_frob_arch_sections()
138 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
142 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
[all …]
/linux-6.3-rc2/arch/x86/boot/compressed/
A Dvmlinux.lds.S84 .got.plt (INFO) : {
85 *(.got.plt)
87 ASSERT(SIZEOF(.got.plt) == 0 ||
89 SIZEOF(.got.plt) == 0x18,
91 SIZEOF(.got.plt) == 0xc,
104 .plt : {
105 *(.plt) *(.plt.*)
107 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux-6.3-rc2/arch/arm64/kernel/
A Dmodule-plts.c27 struct plt_entry plt; in get_plt_entry() local
35 plt.br = cpu_to_le32(br); in get_plt_entry()
37 return plt; in get_plt_entry()
84 if (is_forbidden_offset_for_adrp(&plt[i].adrp)) in module_emit_plt_entry()
87 plt[i] = get_plt_entry(val, &plt[i]); in module_emit_plt_entry()
94 if (j >= 0 && plt_entries_equal(plt + i, plt + j)) in module_emit_plt_entry()
95 return (u64)&plt[j]; in module_emit_plt_entry()
101 return (u64)&plt[i]; in module_emit_plt_entry()
128 plt[i] = __get_adrp_add_pair(val, (u64)&plt[i], rd); in module_emit_veneer_for_adrp()
129 plt[i].br = cpu_to_le32(br); in module_emit_veneer_for_adrp()
[all …]
A Dvmlinux.lds.S192 .got.plt : { *(.got.plt) }
193 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18,
336 .plt : {
337 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
339 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
A Dftrace.c201 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local
204 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt()
224 struct plt_entry *plt; in ftrace_find_callable_addr() local
259 plt = get_ftrace_plt(mod, *addr); in ftrace_find_callable_addr()
260 if (!plt) { in ftrace_find_callable_addr()
265 *addr = (unsigned long)plt; in ftrace_find_callable_addr()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dmodule-sections.c40 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
45 if (plt) in module_emit_plt_entry()
46 return (Elf_Addr)plt; in module_emit_plt_entry()
51 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry()
52 plt[nr] = emit_plt_entry(val); in module_emit_plt_entry()
60 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
116 mod->arch.plt.shndx = i; in module_frob_arch_sections()
127 if (!mod->arch.plt.shndx) { in module_frob_arch_sections()
160 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections()
165 mod->arch.plt.num_entries = 0; in module_frob_arch_sections()
[all …]
A Dftrace_dyn.c50 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local
53 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt()
56 return &plt[FTRACE_REGS_PLT_IDX]; in get_ftrace_plt()
63 struct plt_entry *plt; in get_plt_addr() local
65 plt = get_ftrace_plt(mod, addr); in get_plt_addr()
66 if (!plt) { in get_plt_addr()
71 return (unsigned long)plt; in get_plt_addr()
A Dvmlinux.lds.S78 .plt : ALIGN(16) { *(.plt) }
79 .got.plt : ALIGN(16) { *(.got.plt) }
/linux-6.3-rc2/arch/um/kernel/
A Duml.lds.S58 .rel.plt : {
59 *(.rel.plt)
64 .rela.plt : {
65 *(.rela.plt)
96 .got : { *(.got.plt) *(.got) }
A Ddyn.lds.S57 .rel.plt : {
58 *(.rel.plt)
63 .rela.plt : {
64 *(.rela.plt)
72 .plt : { *(.plt) }
157 .got : { *(.got.plt) *(.got) }
/linux-6.3-rc2/arch/ia64/kernel/
A Dmodule.c245 plt_target (struct plt_entry *plt) in plt_target() argument
254 return (long) plt->bundle[1] + 16*off; in plt_target()
294 plt_target (struct plt_entry *plt) in plt_target() argument
541 struct plt_entry *plt, *plt_end; in get_plt() local
548 plt = (void *) mod->arch.init_plt->sh_addr; in get_plt()
560 while (plt->bundle[0][0]) { in get_plt()
561 if (plt_target(plt) == target_ip) in get_plt()
563 if (++plt >= plt_end) in get_plt()
566 *plt = ia64_plt_template; in get_plt()
572 if (plt_target(plt) != target_ip) { in get_plt()
[all …]
/linux-6.3-rc2/arch/riscv/include/asm/
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()
A Dmodule.lds.h5 .plt : { BYTE(0) }
7 .got.plt : { BYTE(0) }
/linux-6.3-rc2/arch/x86/kernel/
A Dvmlinux.lds.S456 .got.plt (INFO) : { *(.got.plt) }
457 ASSERT(SIZEOF(.got.plt) == 0 ||
459 SIZEOF(.got.plt) == 0x18,
461 SIZEOF(.got.plt) == 0xc,
474 .plt : {
475 *(.plt) *(.plt.*) *(.iplt)
477 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux-6.3-rc2/arch/arm64/kernel/vdso/
A Dvdso.lds.S65 *(.got.plt)
66 *(.plt)
67 *(.plt.*)
69 *(.igot .igot.plt)
/linux-6.3-rc2/arch/arm64/kernel/vdso32/
A Dvdso.lds.S42 *(.got.plt)
43 *(.plt)
46 *(.igot.plt)
/linux-6.3-rc2/arch/arm/include/asm/
A Dmodule.lds.h4 .plt : { BYTE(0) }
5 .init.plt : { BYTE(0) }
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dmodule.lds.h6 .plt : { BYTE(0) }
7 .plt.idx : { BYTE(0) }
A Dmodule.h21 struct mod_section plt; member
87 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry() local
92 return plt + plt_idx; in get_plt_entry()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dmodule.lds.h3 .plt 0 : { BYTE(0) }
4 .init.plt 0 : { BYTE(0) }
/linux-6.3-rc2/arch/ia64/include/asm/
A Dmodule.lds.h10 .core.plt : { BYTE(0) }
11 .init.plt : { BYTE(0) }
/linux-6.3-rc2/arch/nios2/boot/compressed/
A Dvmlinux.lds.S28 *(.got.plt)
29 *(.igot.plt)
/linux-6.3-rc2/arch/nios2/kernel/
A Dvmlinux.lds.S35 *(.got.plt)
36 *(.igot.plt)

Completed in 39 milliseconds

123