param_get_vmidfilter(9)
π 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 isPAGE_SIZE. like, that's the deal, that's the assumption, respect it πkpβ a kernel parameter that points at thehvc_iucv_filterarray. 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:
- Kernel file
./drivers/tty/hvc/hvc_iucv.c hvc_iucv_get_private(9)alloc_tty_buffer(9)destroy_tty_buffer(9)destroy_tty_buffer_list(9)hvc_iucv_write(9)hvc_iucv_get_chars(9)hvc_iucv_queue(9)hvc_iucv_send(9)hvc_iucv_sndbuf_work(9)hvc_iucv_put_chars(9)hvc_iucv_notifier_add(9)hvc_iucv_cleanup(9)tty_outqueue_empty(9)flush_sndbuf_sync(9)hvc_iucv_hangup(9)hvc_iucv_notifier_hangup(9)hvc_iucv_dtr_rts(9)hvc_iucv_notifier_del(9)hvc_iucv_filter_connreq(9)hvc_iucv_path_pending(9)hvc_iucv_path_severed(9)hvc_iucv_msg_pending(9)hvc_iucv_msg_complete(9)hvc_iucv_alloc(9)hvc_iucv_destroy(9)hvc_iucv_parse_filter(9)hvc_iucv_setup_filter(9)param_set_vmidfilter(9)hvc_iucv_init(9)hvc_iucv_config(9)
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
- 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