fc_rport_lookup(9)
π 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:
fc_rport_create(9)fc_rport_destroy(9)fc_rport_state(9)fc_set_rport_loss_tmo(9)fc_plogi_get_maxframe(9)fc_rport_state_enter(9)fc_rport_work(9)fc_rport_login(9)fc_rport_enter_delete(9)fc_rport_logoff(9)fc_rport_enter_ready(9)fc_rport_timeout(9)fc_rport_error(9)fc_rport_error_retry(9)fc_rport_login_complete(9)fc_rport_flogi_resp(9)fc_rport_enter_flogi(9)fc_rport_recv_flogi_req(9)fc_rport_plogi_resp(9)fc_rport_enter_plogi(9)fc_rport_prli_resp(9)fc_rport_enter_prli(9)fc_rport_rtv_resp(9)fc_rport_enter_rtv(9)fc_rport_recv_rtv_req(9)fc_rport_logo_resp(9)fc_rport_enter_logo(9)fc_rport_adisc_resp(9)fc_rport_enter_adisc(9)fc_rport_recv_adisc_req(9)fc_rport_recv_rls_req(9)fc_rport_recv_els_req(9)fc_rport_recv_req(9)fc_rport_recv_plogi_req(9)fc_rport_recv_prli_req(9)fc_rport_recv_prlo_req(9)fc_rport_recv_logo_req(9)fc_rport_flush_queue(9)fc_rport_fcp_prli(9)fc_rport_t0_prli(9)fc_setup_rport(9)fc_destroy_rport(9)fc_rport_terminate_io(9)
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
- 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