Home
last modified time | relevance | path

Searched full:mod_mem (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/module/
H A Dtree_lookup.c24 struct module_memory *mod_mem = container_of(n, struct module_memory, mtn.node); in __mod_tree_val() local
26 return (unsigned long)mod_mem->base; in __mod_tree_val()
31 struct module_memory *mod_mem = container_of(n, struct module_memory, mtn.node); in __mod_tree_size() local
33 return (unsigned long)mod_mem->size; in __mod_tree_size()
H A Dkallsyms.c261 struct module_memory *mod_mem; in find_kallsyms_symbol()
265 mod_mem = &mod->mem[MOD_INIT_TEXT]; in find_kallsyms_symbol()
267 mod_mem = &mod->mem[MOD_TEXT]; in find_kallsyms_symbol()
269 nextval = (unsigned long)mod_mem->base + mod_mem->size; in find_kallsyms_symbol()
264 struct module_memory *mod_mem; find_kallsyms_symbol() local
H A Dmain.c121 struct module_memory *mod_mem = &mod->mem[type]; in mod_update_bounds() local
123 if (mod_mem->size) in mod_update_bounds()
124 __mod_update_bounds(type, mod_mem->base, mod_mem->size, &mod_tree); in mod_update_bounds()
1371 struct module_memory *mod_mem = &mod->mem[type]; in free_mod_mem() local
1377 lockdep_free_key_range(mod_mem->base, mod_mem->size); in free_mod_mem()
1378 if (mod_mem->size) in free_mod_mem()
2833 const struct module_memory *mod_mem = &mod->mem[type]; in flush_module_icache() local
2835 if (mod_mem->size) { in flush_module_icache()
2836 flush_icache_range((unsigned long)mod_mem->base, in flush_module_icache()
2837 (unsigned long)mod_mem->base + mod_mem->size); in flush_module_icache()
[all …]
/linux/arch/s390/kernel/
H A Dmodule.c114 struct module_memory *mod_mem; in module_frob_arch_sections() local
162 mod_mem = &me->mem[MOD_TEXT]; in module_frob_arch_sections()
163 mod_mem->size = ALIGN(mod_mem->size, 4); in module_frob_arch_sections()
164 me->arch.got_offset = mod_mem->size; in module_frob_arch_sections()
165 mod_mem->size += me->arch.got_size; in module_frob_arch_sections()
166 me->arch.plt_offset = mod_mem->size; in module_frob_arch_sections()
170 mod_mem->size += me->arch.plt_size; in module_frob_arch_sections()
/linux/drivers/ipack/carriers/
H A Dtpci200.c313 tpci200->mod_mem[IPACK_IO_SPACE] = ioidint_base + TPCI200_IO_SPACE_OFF; in tpci200_register()
314 tpci200->mod_mem[IPACK_ID_SPACE] = ioidint_base + TPCI200_ID_SPACE_OFF; in tpci200_register()
315 tpci200->mod_mem[IPACK_INT_SPACE] = in tpci200_register()
317 tpci200->mod_mem[IPACK_MEM8_SPACE] = in tpci200_register()
320 tpci200->mod_mem[IPACK_MEM16_SPACE] = in tpci200_register()
499 tpci200->mod_mem[space] in tpci200_create_device()
H A Dtpci200.h159 phys_addr_t mod_mem[IPACK_SPACE_COUNT]; member
/linux/arch/parisc/kernel/
H A Dmodule.c274 struct module_memory *mod_mem; in module_frob_arch_sections() local
319 mod_mem = &me->mem[MOD_TEXT]; in module_frob_arch_sections()
321 mod_mem->size = ALIGN(mod_mem->size, 16); in module_frob_arch_sections()
322 me->arch.got_offset = mod_mem->size; in module_frob_arch_sections()
323 mod_mem->size += gots * sizeof(struct got_entry); in module_frob_arch_sections()
325 mod_mem->size = ALIGN(mod_mem->size, 16); in module_frob_arch_sections()
326 me->arch.fdesc_offset = mod_mem->size; in module_frob_arch_sections()
327 mod_mem->size += fdescs * sizeof(Elf_Fdesc); in module_frob_arch_sections()
/linux/arch/mips/kernel/
H A Dvpe.c203 struct module_memory *mod_mem; in layout_sections() local
205 mod_mem = &mod->mem[MOD_TEXT]; in layout_sections()
212 get_offset((unsigned long *)&mod_mem->size, s); in layout_sections()