Home
last modified time | relevance | path

Searched refs:klp_info (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/kernel/module/
Dlivepatch.c23 size = sizeof(*mod->klp_info); in copy_module_elf()
24 mod->klp_info = kmalloc(size, GFP_KERNEL); in copy_module_elf()
25 if (!mod->klp_info) in copy_module_elf()
29 size = sizeof(mod->klp_info->hdr); in copy_module_elf()
30 memcpy(&mod->klp_info->hdr, info->hdr, size); in copy_module_elf()
34 mod->klp_info->sechdrs = kmemdup(info->sechdrs, size, GFP_KERNEL); in copy_module_elf()
35 if (!mod->klp_info->sechdrs) { in copy_module_elf()
42 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf()
43 if (!mod->klp_info->secstrings) { in copy_module_elf()
50 mod->klp_info->symndx = symndx; in copy_module_elf()
[all …]
/linux-6.6.21/include/linux/
Dmodule.h553 struct klp_modinfo *klp_info; member
/linux-6.6.21/kernel/livepatch/
Dcore.c792 struct klp_modinfo *info = patch->mod->klp_info; in klp_write_object_relocs()
/linux-6.6.21/Documentation/livepatch/
Dmodule-elf-format.rst301 module->klp_info, which is a :c:type:`klp_modinfo` struct. When a livepatch module