Lines Matching refs:klp_info
2073 size = sizeof(*mod->klp_info); in copy_module_elf()
2074 mod->klp_info = kmalloc(size, GFP_KERNEL); in copy_module_elf()
2075 if (mod->klp_info == NULL) in copy_module_elf()
2079 size = sizeof(mod->klp_info->hdr); in copy_module_elf()
2080 memcpy(&mod->klp_info->hdr, info->hdr, size); in copy_module_elf()
2084 mod->klp_info->sechdrs = kmemdup(info->sechdrs, size, GFP_KERNEL); in copy_module_elf()
2085 if (mod->klp_info->sechdrs == NULL) { in copy_module_elf()
2092 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf()
2093 if (mod->klp_info->secstrings == NULL) { in copy_module_elf()
2100 mod->klp_info->symndx = symndx; in copy_module_elf()
2108 mod->klp_info->sechdrs[symndx].sh_addr = \ in copy_module_elf()
2114 kfree(mod->klp_info->sechdrs); in copy_module_elf()
2116 kfree(mod->klp_info); in copy_module_elf()
2122 kfree(mod->klp_info->sechdrs); in free_module_elf()
2123 kfree(mod->klp_info->secstrings); in free_module_elf()
2124 kfree(mod->klp_info); in free_module_elf()