Searched refs:data_layout (Results 1 – 7 of 7) sorted by relevance
/kernel/module/ |
D | strict_rwx.c | 78 layout_check_misalignment(&mod->data_layout) || in module_check_misalignment() 105 frob_rodata(&mod->data_layout, set_memory_ro); in module_enable_ro() 110 frob_ro_after_init(&mod->data_layout, set_memory_ro); in module_enable_ro() 118 frob_rodata(&mod->data_layout, set_memory_nx); in module_enable_nx() 119 frob_ro_after_init(&mod->data_layout, set_memory_nx); in module_enable_nx() 120 frob_writable_data(&mod->data_layout, set_memory_nx); in module_enable_nx()
|
D | kallsyms.c | 137 info->symoffs = ALIGN(mod->data_layout.size, symsect->sh_addralign ?: 1); in layout_symtab() 138 info->stroffs = mod->data_layout.size = info->symoffs + ndst * sizeof(Elf_Sym); in layout_symtab() 139 mod->data_layout.size += strtab_size; in layout_symtab() 141 info->core_typeoffs = mod->data_layout.size; in layout_symtab() 142 mod->data_layout.size += ndst * sizeof(char); in layout_symtab() 143 mod->data_layout.size = strict_align(mod->data_layout.size); in layout_symtab() 192 mod->core_kallsyms.symtab = dst = mod->data_layout.base + info->symoffs; in add_kallsyms() 193 mod->core_kallsyms.strtab = s = mod->data_layout.base + info->stroffs; in add_kallsyms() 194 mod->core_kallsyms.typetab = mod->data_layout.base + info->core_typeoffs; in add_kallsyms()
|
D | tree_lookup.c | 88 mod->data_layout.mtn.mod = mod; in mod_tree_insert() 89 __mod_tree_insert(&mod->data_layout.mtn, &mod_data_tree); in mod_tree_insert() 104 __mod_tree_remove(&mod->data_layout.mtn, &mod_data_tree); in mod_tree_remove()
|
D | main.c | 121 __mod_update_bounds(mod->data_layout.base, mod->data_layout.size, &mod_data_tree); in mod_update_bounds() 945 return sprintf(buffer, "%u\n", mk->mod->data_layout.size); in show_datasize() 1220 lockdep_free_key_range(mod->data_layout.base, mod->data_layout.size); in free_module() 1226 vfree(mod->data_layout.base); in free_module() 1494 sizep = m ? &mod->data_layout.size : &mod->core_layout.size; in layout_sections() 1504 mod->data_layout.size = strict_align(mod->data_layout.size); in layout_sections() 1505 mod->data_layout.ro_size = mod->data_layout.size; in layout_sections() 1508 mod->data_layout.size = strict_align(mod->data_layout.size); in layout_sections() 1509 mod->data_layout.ro_after_init_size = mod->data_layout.size; in layout_sections() 1512 mod->data_layout.size = strict_align(mod->data_layout.size); in layout_sections() [all …]
|
D | kdb.c | 31 kdb_printf("/%8u", mod->data_layout.size); in kdb_lsmod() 45 kdb_printf("/0x%px", mod->data_layout.base); in kdb_lsmod()
|
D | procfs.c | 78 size += mod->data_layout.size; in m_show()
|
D | internal.h | 26 #define data_layout core_layout macro
|