Lines Matching refs:init_layout

115 	if (mod->init_layout.size)  in mod_update_bounds()
116 __mod_update_bounds(mod->init_layout.base, mod->init_layout.size, &mod_tree); in mod_update_bounds()
951 return sprintf(buffer, "%u\n", mk->mod->init_layout.size); in show_initsize()
1194 module_memfree(mod->init_layout.base); in free_module()
1484 s->sh_entsize = (module_get_offset(mod, &mod->init_layout.size, s, i) in layout_sections()
1490 mod->init_layout.size = strict_align(mod->init_layout.size); in layout_sections()
1491 mod->init_layout.text_size = mod->init_layout.size; in layout_sections()
1494 mod->init_layout.size = strict_align(mod->init_layout.size); in layout_sections()
1495 mod->init_layout.ro_size = mod->init_layout.size; in layout_sections()
1502 mod->init_layout.ro_after_init_size = mod->init_layout.ro_size; in layout_sections()
1505 mod->init_layout.size = strict_align(mod->init_layout.size); in layout_sections()
2137 if (mod->init_layout.size) { in move_module()
2138 ptr = module_alloc(mod->init_layout.size); in move_module()
2150 memset(ptr, 0, mod->init_layout.size); in move_module()
2151 mod->init_layout.base = ptr; in move_module()
2153 mod->init_layout.base = NULL; in move_module()
2166 module_memfree(mod->init_layout.base); in move_module()
2182 dest = mod->init_layout.base in move_module()
2242 if (mod->init_layout.base) in flush_module_icache()
2243 flush_icache_range((unsigned long)mod->init_layout.base, in flush_module_icache()
2244 (unsigned long)mod->init_layout.base in flush_module_icache()
2245 + mod->init_layout.size); in flush_module_icache()
2345 module_memfree(mod->init_layout.base); in module_deallocate()
2451 freeinit->module_init = mod->init_layout.base; in do_init_module()
2487 ftrace_free_mem(mod, mod->init_layout.base, mod->init_layout.base + in do_init_module()
2488 mod->init_layout.size); in do_init_module()
2500 mod->init_layout.base = NULL; in do_init_module()
2501 mod->init_layout.size = 0; in do_init_module()
2502 mod->init_layout.ro_size = 0; in do_init_module()
2503 mod->init_layout.ro_after_init_size = 0; in do_init_module()
2504 mod->init_layout.text_size = 0; in do_init_module()
3108 if (!within(addr, mod->init_layout.base, mod->init_layout.text_size) in __module_text_address()