plpks_get_objoverhead(9)
πΈ NAME πΈ
plpks_get_objoverhead β Get the hypervisor storage overhead per object.
Okay so literally what it says on the tin, bestie: it hands you the number of bytes the hypervisor quietly reserves for one object β the overhead, not the object itself, not the label. Just the vibes tax the hypervisor charges π
β¨ SYNOPSIS β¨
u16 plpks_get_objoverhead (void );
No arguments, no drama, she just shows up and returns a u16 π«Ά
π ARGUMENTS π
voidβ no arguments. That's the whole list. Nothing to pass, nothing to break, main character energy with an empty guest list π
π¦ DESCRIPTION π¦
So here's the lore π β when H_PKS_GET_CONFIG HCALL executes successfully during initialization, it reads the per object hypervisor storage overhead, in bytes, into the local static objoverhead variable. And this number is excluding the size of the object or the label. So don't go adding stuff on top and expect it to line up, because it will not β¨
Real talk bestie π this value can be treated as valid only when the PLPKS config structure version >= 2. Below that? It's giving nothing, do not trust it, do not build on it.
π₯ RETURN π₯
- If PLPKS config structure version >= 2, then the storage overhead is returned π
- Otherwise,
0β that's it, that's the answer, no notes π
π SEE ALSO π
- Kernel file
./arch/powerpc/platforms/pseries/plpks.cβ the mothership, go read her π§ plpks_get_version(9)plpks_get_maxpwsize(9)plpks_get_maxobjectsize(9)plpks_get_maxobjectlabelsize(9)plpks_get_totalsize(9)plpks_get_usedspace(9)plpks_get_supportedpolicies(9)plpks_get_maxlargeobjectsize(9)plpks_get_signedupdatealgorithms(9)plpks_get_wrappingfeatures(9)plpks_get_passwordlen(9)plpks_is_available(9)plpks_signed_update_var(9)plpks_write_var(9)plpks_remove_var(9)plpks_wrapping_is_supported(9)plpks_gen_wrapping_key(9)plpks_wrap_object(9)plpks_unwrap_object(9)plpks_read_os_var(9)plpks_read_fw_var(9)plpks_read_bootloader_var(9)plpks_populate_fdt(9)plpks_early_init_devtree(9)
That's the whole page, bestie β ily, go call it responsibly π
Sign-off szn π this one lives in ./arch/powerpc/platforms/pseries, and the version/date stamp on it is October 2026. Slay.
π¦ 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