Home
last modified time | relevance | path

Searched refs:plt_idx (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/loongarch/kernel/
Dmodule-sections.c40 struct mod_section *plt_idx_sec = &mod->arch.plt_idx; in module_emit_plt_entry()
42 struct plt_idx_entry *plt_idx; in module_emit_plt_entry() local
52 plt_idx = (struct plt_idx_entry *)plt_idx_sec->shdr->sh_addr; in module_emit_plt_entry()
53 plt_idx[nr] = emit_plt_idx_entry(val); in module_emit_plt_entry()
116 mod->arch.plt_idx.shdr = sechdrs + i; in module_frob_arch_sections()
127 if (!mod->arch.plt_idx.shdr) { in module_frob_arch_sections()
162 mod->arch.plt_idx.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
163 mod->arch.plt_idx.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
164 mod->arch.plt_idx.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
165 mod->arch.plt_idx.shdr->sh_size = (num_plts + 1) * sizeof(struct plt_idx_entry); in module_frob_arch_sections()
[all …]
/Linux-v6.1/arch/loongarch/include/asm/
Dmodule.h22 struct mod_section plt_idx; member
68 struct plt_idx_entry *plt_idx = (struct plt_idx_entry *)sec->shdr->sh_addr; in get_plt_idx() local
71 if (plt_idx[i].symbol_addr == val) in get_plt_idx()
82 int plt_idx = get_plt_idx(val, sec_plt_idx); in get_plt_entry() local
85 if (plt_idx < 0) in get_plt_entry()
88 return plt + plt_idx; in get_plt_entry()
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_display_power_map.c1508 int plt_idx = 0; in __set_power_wells() local
1522 struct i915_power_well *pw = &power_domains->power_wells[plt_idx]; in __set_power_wells()
1532 plt_idx++; in __set_power_wells()