Home
last modified time | relevance | path

Searched refs:plt_idx (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule-sections.c42 struct mod_section *plt_idx_sec = &mod->arch.plt_idx; in module_emit_plt_entry()
44 struct plt_idx_entry *plt_idx; in module_emit_plt_entry() local
54 plt_idx = (struct plt_idx_entry *)sechdrs[plt_idx_sec->shndx].sh_addr; in module_emit_plt_entry()
55 plt_idx[nr] = emit_plt_idx_entry(val); in module_emit_plt_entry()
119 mod->arch.plt_idx.shndx = i; in module_frob_arch_sections()
132 if (!mod->arch.plt_idx.shndx) { in module_frob_arch_sections()
169 plt_idx_sec = sechdrs + mod->arch.plt_idx.shndx; in module_frob_arch_sections()
174 mod->arch.plt_idx.num_entries = 0; in module_frob_arch_sections()
175 mod->arch.plt_idx.max_entries = num_plts; in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmodule-sections.c42 struct mod_section *plt_idx_sec = &mod->arch.plt_idx; in module_emit_plt_entry()
44 struct plt_idx_entry *plt_idx; in module_emit_plt_entry() local
54 plt_idx = (struct plt_idx_entry *)sechdrs[plt_idx_sec->shndx].sh_addr; in module_emit_plt_entry()
55 plt_idx[nr] = emit_plt_idx_entry(val); in module_emit_plt_entry()
119 mod->arch.plt_idx.shndx = i; in module_frob_arch_sections()
132 if (!mod->arch.plt_idx.shndx) { in module_frob_arch_sections()
169 plt_idx_sec = sechdrs + mod->arch.plt_idx.shndx; in module_frob_arch_sections()
174 mod->arch.plt_idx.num_entries = 0; in module_frob_arch_sections()
175 mod->arch.plt_idx.max_entries = num_plts; in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dmodule.h23 struct mod_section plt_idx; member
77 struct plt_idx_entry *plt_idx = (struct plt_idx_entry *)sechdrs[sec->shndx].sh_addr; in get_plt_idx() local
80 if (plt_idx[i].symbol_addr == val) in get_plt_idx()
92 int plt_idx = get_plt_idx(val, sechdrs, sec_plt_idx); in get_plt_entry() local
95 if (plt_idx < 0) in get_plt_entry()
98 return plt + plt_idx; in get_plt_entry()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dmodule.h22 struct mod_section plt_idx; member
71 struct plt_idx_entry *plt_idx = (struct plt_idx_entry *)sechdrs[sec->shndx].sh_addr; in get_plt_idx() local
74 if (plt_idx[i].symbol_addr == val) in get_plt_idx()
86 int plt_idx = get_plt_idx(val, sechdrs, sec_plt_idx); in get_plt_entry() local
89 if (plt_idx < 0) in get_plt_entry()
92 return plt + plt_idx; in get_plt_entry()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_display_power_map.c1592 int plt_idx = 0; in __set_power_wells() local
1606 struct i915_power_well *pw = &power_domains->power_wells[plt_idx]; in __set_power_wells()
1616 plt_idx++; in __set_power_wells()

Completed in 6 milliseconds