plpks_get_usedspace(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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 πŸ”₯
  • 0 if not πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” Kernel file ./arch/powerpc/platforms/pseries/plpks.c


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