plpks_get_usedspace(9)
π plpks_get_usedspace(9) β a Kernel API Manual moment β¨
okay bestie, settle in, because this one is short and sweet but it's literally the whole vibe of PLPKS housekeeping π§
πΈ NAME πΈ
plpks_get_usedspace β the girly that tells you how much space is used out of the total size of the PLPKS π
β¨ SYNOPSIS β¨
u32 plpks_get_usedspace (void );
π ARGUMENTS π
voidβ no arguments. none. zero. she takes nothing, she gives you a number. icon behaviour π«Ά
π¦ DESCRIPTION π¦
so here's the tea β β this function invokes the H_PKS_GET_CONFIG HCALL to refresh the latest value for the used space. why refresh? because that number keeps changing as objects get created and removed in the PLPKS π it's giving "my storage situation is a moving target" and honestly, relatable.
basically: call her, she pokes the hypervisor, you get the freshest used-space number available. no cap.
β RETURN β
- On success the used space is returned π₯
0if not π
π SEE ALSO π
the whole friend group, fr fr β Kernel file ./arch/powerpc/platforms/pseries/plpks.c
plpks_get_version(9)plpks_get_objoverhead(9)plpks_get_maxpwsize(9)plpks_get_maxobjectsize(9)plpks_get_maxobjectlabelsize(9)plpks_get_totalsize(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)
ngl, if you only read one of these, read this one. if you read all of them... bestie, are you okay? ππ«Ά (jk, we love a completionist queen)
mwah π coming to you from ./arch/powerpc/platforms/pseries β October 2026 edition, page plpks_get_usedspace(9) β slay, and goodnight ππ
π¦ 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