__fc_vport_setlink(9)
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
- 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