fc_vport_terminate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fc_vport_terminate(9) πŸ’…

okay bestie, so this one lives in the Kernel API Manual β€” yes, the actual manual manual, the fc_vport_terminate(9) one. Don't worry, I'm not gonna copy-paste that whole header line at you, we're doing this properly. Let's go. ✨


🌸 NAME 🌸

fc_vport_terminate β€” Admin App or LLDD requests termination of a vport


πŸŽ€ SYNOPSIS πŸŽ€

int fc_vport_terminate (struct fc_vport *vport );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vport β€” the fc_vport to be terminated. like, that's the one, that's the vport getting its exit arc 😭

πŸ’œ DESCRIPTION πŸ’œ

so what this does: it calls the LLDD vport_delete function first, and then it deallocates and removes the vport from the shost and the object tree. that's the whole ritual, that's the plot. calls vport_delete, deallocates, removes, done. slay. πŸ’…


πŸ”₯ NOTES πŸ”₯

this routine assumes no locks are held on entry. no cap. if you show up holding a lock, that's on you bestie, this function did not sign up for that 😭

⭐ SEE ALSO ⭐

the kernel file ./drivers/scsi/scsi_transport_fc.c β€” that's home base 🏠 β€” plus this absolute stack of friends:

like. look at that list. it's giving main character energy and every one of them is a whole mood 😀✨


anyway that's the page! 🫢 this whole thing came out of ./drivers/scsi and it's stamped October 2026 β€” so like, go forth and terminate those vports, and remember: no locks on entry, bestie. periodt. πŸ§šπŸ’–

πŸ“¦ where this page comes from