__fc_vport_setlink(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to the __fc_vport_setlink(9) page β€” it lives in the Kernel API Manual, and we're folding that manual name in right here at the top instead of copy-pasting the header like a boring NPC ✨

✨ NAME ✨

__fc_vport_setlink β€” update link and status on a VN_Port. That's the whole vibe: link + status, on a VN_Port, slay πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

okay so the signature is giving tiny function, big responsibility:

void __fc_vport_setlink (struct fc_lport *n_port , struct fc_lport
*vn_port );

No cap, that's the exact shape β€” void, two struct fc_lport * besties, and yes, the line break is part of the original energy 😭

πŸ’– ARGUMENTS πŸ’–

  • n_port β€” parent N_Port. The parent, the main character.
  • vn_port β€” VN_Port to update. This is the one getting the update glow-up.

πŸ¦‹ DESCRIPTION πŸ¦‹

Locking: must be called with both the N_Port and VN_Port lp_mutex held. Both. Not one. Not a vibe-based approximation. Both locks, bestie β€” that's the rule βš οΈπŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/libfc/fc_npiv.c and the whole friend group:

iykyk, go read the whole libfc cinematic universe πŸ“βœ¨


xoxo, source/version ./drivers/scsi/libfc Β· date October 2026 Β· __fc_vport_setlink(9) out β€” byeee bestie πŸ’…πŸ«Ά

πŸ“¦ where this page comes from