hvc_iucv_notifier_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

hvc_iucv_notifier_del β€” HVC notifier for closing a TTY for the last time. Fr fr, that’s the whole vibe: it’s the notifier that handles the final TTY close. πŸ’…

✨ SYNOPSIS ✨

void hvc_iucv_notifier_del (struct hvc_struct *hp , int id );

🫢 ARGUMENTS 🫢

  • hp β€” pointer to the HVC device (struct hvc_struct). That’s the main-character device pointer, bestie. πŸŽ€
  • id β€” additional data (originally passed to hvc_alloc): the index of an struct hvc_iucv_private instance. Yes, that specific index. 🎯

πŸ’– DESCRIPTION πŸ’–

Okay so this routine notifies the HVC back-end that the last tty device fd has been closed. It also cleans up tty resources, because we are not leaving that mess for someone else. ✨

The clean-up of the IUCV connection is done in hvc_iucv_dtr_rts and depends on the HUPCL termios control setting. That’s the whole β€œdifferent function, different job” situation, no cap. πŸ’…

Locking: struct hvc_iucv_private->lock β€” keep that lock in mind, bestie. πŸ”’

🌈 SEE ALSO 🌈

Kernel file ./drivers/tty/hvc/hvc_iucv.c is the spot, and here’s the full friend group β€” every single reference, no skips: 😀

k bye bestie β€” source/version: ./drivers/tty/hvc, dated October 2026 πŸ«ΆπŸŽ€πŸ’‹

πŸ“¦ where this page comes from