param_get_vmidfilter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– param_get_vmidfilter β€” a Kernel API moment πŸ’–

okay so this is param_get_vmidfilter(9), from the Kernel API Manual, and bestie it is literally the function that hands you your z/VM user ID filter. no cap. let's get into it 🫢


✨ NAME ✨

param_get_vmidfilter β€” Get z/VM user ID filter πŸŽ€


🌸 SYNOPSIS 🌸

int param_get_vmidfilter (char *buffer , const struct kernel_param *kp
);

yes she takes two args and returns an int, that's the whole vibe check πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • buffer β€” the buffer where the z/VM user ID filter gets stashed. and here's the tea: the function assumes your buffer size is PAGE_SIZE. like, that's the deal, that's the assumption, respect it πŸ™ˆ
  • kp β€” a kernel parameter that points at the hvc_iucv_filter array. that's her whole job, she's just the pointer to the array, lowkey iconic πŸ”₯

⭐ DESCRIPTION ⭐

so what does she actually do? she stores the filter into buffer as a comma-separated list of z/VM user IDs. that's it, that's the function, and she ate πŸ’…

typically, sysfs routines call this function for an attr show β€” so like, she's the main character behind the scenes when something wants to display the filter. iykyk πŸ‘‘


🌈 SEE ALSO 🌈

okay this list is LONG and every single one of these deserves their flowers, so buckle up bestie, we're going through all of them:


and that's the whole page, periodt πŸ’œ quick cute sign-off: this one lives in ./drivers/tty/hvc and it's dated October 2026 β€” so like, future vibes only, slay 🧚✨

πŸ“¦ where this page comes from