fc_rport_destroy(9)
π fc_rport_destroy(9) β the Kernel API Manual era β¨
okay so real talk, this is the <pink>fc_rport_destroy</pink> page from the Kernel API Manual, and it's honestly such a clean little function. no notes. π
β¨ NAME β¨
fc_rport_destroy β frees a remote port once the very last reference to it has been dropped π«Ά like, the port's been through it, everybody's said their goodbyes, and now it gets to rest.
π¦ SYNOPSIS π¦
void fc_rport_destroy (struct kref *kref );
periodt. that's the whole signature. it returns void because it's a destroy function, babe, there's nothing to report back. π
πΈ ARGUMENTS πΈ
krefβ the remote port'skref, i.e. the reference counter that just hit zero and was like "okay bestie, I'm done." this is the thing you're handing over so the port can finally be freed. π
π SEE ALSO π
the whole friend group, no cap β living in the kernel file ./drivers/scsi/libfc/fc_rport.c:
fc_rport_lookup(9)fc_rport_create(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)
that's the whole roster, iykyk. π₯
anyway, that's the page!! it lives under ./drivers/scsi/libfc, and this edition is the October 2026 one β so go free that remote port, king, you've earned it. πβ¨πΈ
π¦ 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