hvc_iucv_notifier_hangup(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for hvc_iucv_notifier_hangup(9) β itβs the HVC notifier for TTY hangups. Thatβs the whole vibe: TTY hangup happens, and this routine handles the notifier moment. π
β¨ SYNOPSIS β¨
void hvc_iucv_notifier_hangup (struct hvc_struct *hp , int id );
π«Ά ARGUMENTS π«Ά
hpβ Pointer to the HVC device (struct hvc_struct). This is the device bestie in question. π¦idβ Additional data (originally passed tohvc_alloc): the index of anstruct hvc_iucv_privateinstance. Itβs literally the little identifier that came in throughhvc_alloc. β¨
π DESCRIPTION π
This routine notifies the HVC back-end that a tty hangup (carrier loss, virtual or otherwise) has occurred. So yeah, itβs giving βheads up, the tty hung upβ energy. π£
The z/VM IUCV HVC device driver ignores virtual hangups (vhangup) to keep an existing IUCV communication path established. (Background: vhangup is called from user space (by getty or login) to disable writing to the tty by other applications). So itβs very much a βnot today, virtual hangupβ situation. π
If the tty has been opened and an established IUCV path has been severed (we caused the tty hangup), the function calls hvc_iucv_cleanup. Thatβs the cleanup era, periodt. π§Ή
Locking: struct hvc_iucv_private->lock
π₯ SEE ALSO π₯
The kernel file is ./drivers/tty/hvc/hvc_iucv.c, and hereβs the full bestie roll call, in order:
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_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)param_get_vmidfilter(9)hvc_iucv_init(9)hvc_iucv_config(9)
okay thatβs the page, bestie β source/version tag is ./drivers/tty/hvc, date is October 2026, and we were just reading hvc_iucv_notifier_hangup(9). mwah πβ¨
π¦ 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