plpks_get_ma...ectlabelsize(9)
π plpks_get_maxobjectlabelsize β a kernel API moment
Okay so we're deep in the <pink>plpks</pink> lore today, bestie β this is the man page for plpks_get_maxobjectlabelsize, straight out of the Kernel API Manual (section 9, kernel functions, iykyk). It's short, it's sweet, it's giving "one job and she does it." Let's get into it π
β¨ NAME β¨
plpks_get_maxobjectlabelsize β literally just "Get the maximum object label size supported by the PLPKS." That's the whole assignment. No plot twists. π
π¦ SYNOPSIS π¦
u16 plpks_get_maxobjectlabelsize (void );
Look at her. Returns a u16, takes a whole lot of nothing. Main character energy fr fr β¨
πΈ ARGUMENTS πΈ
voidβ no arguments. Not one. Zero. Empty set, bestie. She needs no input, she simply is π
π§ DESCRIPTION π§
So here's the vibe check π: during initialization, when the H_PKS_GET_CONFIG HCALL runs and succeeds, it reads the maximum object label size into the local static maxobjlabelsize variable. That's it. That's the whole process. The number gets stashed locally, and this function is the one who hands it to you later.
No cap, it's that simple β the hard work already happened at init time, and this is just the part where she tells you what she knows π«Ά
β RETURN β
On success, you get the maximum object label size back. If it's not success, you get 0. So like... if you see a zero, that's the "not today" answer π
π₯ SEE ALSO π₯
First up, the actual kernel file where the magic lives: ./arch/powerpc/platforms/pseries/plpks.c β go read it, it's iconic.
And then the whole plpks friend group π«Ά, all of them, no one left out:
plpks_get_version(9)plpks_get_objoverhead(9)plpks_get_maxpwsize(9)plpks_get_maxobjectsize(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)
And that's the whole page, bestie πβ¨ Sourced from ./arch/powerpc/platforms/pseries, dated October 2026, and yes β it's plpks_get_maxobjectlabelsize(9) all the way down. Mwah, go read your kernel code ππ
π¦ 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