arch_kexec_..._image_probe(9)
π NAME
ok so arch_kexec_kernel_image_probe β bestie, this one does the additional handling needed to setup kexec segments. that's the whole vibe. it's the lil extra love the arch layer gives you before stuff gets loaded. β¨
(it lives in the Kernel API Manual, which is giving very official, very "i have a job" energy π)
πΈ SYNOPSIS
int arch_kexec_kernel_image_probe (struct kimage *image , void *buf ,
unsigned long buf_len );
look at her. three args, one int return, zero drama. slay. π
π«Ά ARGUMENTS
imageβ the kexec image that's currently being loaded. main character, obviously. πbufβ a buffer that points at elf data. yes, that elf data. π§buf_lenβ how longbufis. the length. the size. the measure of things. π
β¨ DESCRIPTION
returns 0 on success, and a negative errno on error. that's literally it. no cap. one line of contract, zero games. π₯
fr fr bestie, 0 = we good, negative = something went sideways. don't forget it. π
π SEE ALSO
kernel file: ./arch/powerpc/kexec/file_load_64.c π
and all her friends:
check_realloc_usable_mem(9)add_usable_mem(9)kdump_setup_usable_lmb(9)add_usable_mem_property(9)update_usable_mem_fdt(9)load_backup_segment(9)load_elfcorehdr_segment(9)load_crashdump_segments_ppc64(9)setup_purgatory_ppc64(9)cpu_node_size(9)kexec_extra_fdt_size_ppc64(9)setup_new_fdt_ppc64(9)arch_kimage_file_post_load_cleanup(9)
like, the whole group chat showed up. iconic. π«Άβ¨
anyway that's the page!! this came out of ./arch/powerpc/kexec and it's dated October 2026, so yeah β future-coded queen. mwah, go read the source bestie πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms