Home
last modified time | relevance | path

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

12

/linux/arch/arm/kernel/
H A Dmodule-plts.c31 static void prealloc_fixed(struct mod_plt_sec *pltsec, struct plt_entries *plt) in prealloc_fixed() argument
39 for (i = 0; i < ARRAY_SIZE(plt->ldr); ++i) in prealloc_fixed()
40 plt->ldr[i] = PLT_ENT_LDR; in prealloc_fixed()
42 BUILD_BUG_ON(sizeof(fixed_plts) > sizeof(plt->lit)); in prealloc_fixed()
43 memcpy(plt->lit, fixed_plts, sizeof(fixed_plts)); in prealloc_fixed()
50 struct plt_entries *plt; in get_module_plt() local
55 pltsec->plt_ent = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt()
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()
[all …]
/linux/drivers/net/phy/
H A Dphy_led_triggers.c31 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local
39 plt = phy_speed_to_led_trigger(phy, phy->speed); in phy_led_trigger_change_speed()
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()
[all …]
/linux/arch/riscv/kernel/
H A Dmodule-sections.c36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
37 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry() local
40 if (plt) in module_emit_plt_entry()
41 return (unsigned long)plt; in module_emit_plt_entry()
46 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; 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()
[all …]
/linux/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/arch/s390/boot/
H A Dvmlinux.lds.S146 .got.plt : {
147 *(.got.plt)
149 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!")
155 .plt : {
156 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt)
158 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux/arch/arm64/kernel/
H A Dmodule-plts.c28 struct plt_entry plt; in get_plt_entry() local
35 plt = __get_adrp_add_pair(dst, (u64)pc, AARCH64_INSN_REG_16); in get_plt_entry()
36 plt.br = cpu_to_le32(br); in get_plt_entry()
38 return plt; in get_plt_entry()
75 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_plt_entry() local
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()
[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!")
/linux/arch/loongarch/kernel/
H A Dmodule-sections.c41 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry()
43 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry() local
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()
[all …]
H A Dvmlinux.lds.S105 .plt : ALIGN(16) { *(.plt) }
106 .got.plt : ALIGN(16) { *(.got.plt) }
/linux/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/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/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/arch/x86/kernel/
H A Dvmlinux.lds.S452 .got.plt (INFO) : { *(.got.plt) }
453 ASSERT(SIZEOF(.got.plt) == 0 ||
455 SIZEOF(.got.plt) == 0x18,
457 SIZEOF(.got.plt) == 0xc,
470 .plt : {
471 *(.plt) *(.plt.*) *(.iplt)
473 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
/linux/arch/arm64/kernel/vdso/
H A Dvdso.lds.S67 *(.got.plt)
68 *(.plt)
69 *(.plt.*)
71 *(.igot .igot.plt)
/linux/arch/arm/include/asm/
H A Dmodule.lds.h4 .plt : { BYTE(0) }
5 .init.plt : { BYTE(0) }
H A Dvmlinux.lds.h73 .plt : { \
74 *(.iplt) *(.rel.iplt) *(.iplt) *(.igot.plt) \
76 ASSERT(SIZEOF(.plt) == 0, \
/linux/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/arch/arm64/include/asm/
H A Dmodule.lds.h2 .plt 0 : { BYTE(0) }
3 .init.plt 0 : { BYTE(0) }
/linux/arch/nios2/boot/compressed/
H A Dvmlinux.lds.S28 *(.got.plt)
29 *(.igot.plt)
/linux/arch/nios2/kernel/
H A Dvmlinux.lds.S35 *(.got.plt)
36 *(.igot.plt)
/linux/arch/parisc/boot/compressed/
H A Dvmlinux.lds.S36 .plt : {
37 *(.plt)
/linux/arch/arm/boot/compressed/
H A Dvmlinux.lds.S71 .got.plt : { *(.got.plt) }

12