Lines Matching refs:mod_mem
119 struct module_memory *mod_mem = &mod->mem[type]; in mod_update_bounds() local
121 if (mod_mem->size) in mod_update_bounds()
122 __mod_update_bounds(type, mod_mem->base, mod_mem->size, &mod_tree); in mod_update_bounds()
1224 struct module_memory *mod_mem = &mod->mem[type]; in free_mod_mem() local
1230 lockdep_free_key_range(mod_mem->base, mod_mem->size); in free_mod_mem()
1231 if (mod_mem->size) in free_mod_mem()
1232 module_memory_free(mod_mem->base, type); in free_mod_mem()
2320 const struct module_memory *mod_mem = &mod->mem[type]; in flush_module_icache() local
2322 if (mod_mem->size) { in flush_module_icache()
2323 flush_icache_range((unsigned long)mod_mem->base, in flush_module_icache()
2324 (unsigned long)mod_mem->base + mod_mem->size); in flush_module_icache()
2509 const struct module_memory *mod_mem = &mod->mem[type]; in do_init_module() local
2510 if (mod_mem->size) { in do_init_module()
2511 total_size += mod_mem->size; in do_init_module()
2513 text_size += mod_mem->size; in do_init_module()