fc_rport_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ fc_rport_lookup β€” Kernel API Manual ✨

okay so this is fc_rport_lookup(9), bestie β€” it lives in the Kernel API Manual and it's literally the "hey, who's that remote port?" function. no cap, that's the whole vibe. πŸ¦‹


🌸 NAME 🌸

fc_rport_lookup β€” look up a remote port by its port_id, that's it, that's the gig πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct fc_rport_priv * fc_rport_lookup (const struct fc_lport *lport ,
u32 port_id );

✨ ARGUMENTS ✨

  • lport β€” the local port you're doing the lookin'-up from, iykyk 🌈
  • port_id β€” the remote port ID you're tryna find, go off πŸ”

πŸ’– DESCRIPTION πŸ’–

the reference count of the fc_rport_priv structure gets bumped up by one. that's it!! one (1) whole reference. so like, you now hold a ref and you're responsible for it, periodt. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

everything else in the fam, all living in the kernel file ./drivers/scsi/libfc/fc_rport.c β€” main character files only, ngl:

so many siblings, it's giving big family energy πŸ˜­πŸ’œ


lowkey reminder: that refcount went up by one, so don't just walk away from it β€” that's not very bestie of you πŸ™ˆ

⭐ and that's the page!! this one came from ./drivers/scsi/libfc, dated October 2026, and it's fc_rport_lookup(9) β€” slay, go look up some remote ports, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from