arch_kexec_..._image_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 long buf is. 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:

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