fc_rport_logoff(9)
π
fc_rport_logoff β Kernel API Manual β¨
okay so bestie, we're in the kernel API manual today (yes, that manual, the fc_rport_logoff(9) one) and honestly? iconic territory. let's get into it π
πΈ NAME πΈ
fc_rport_logoff β logoff and remove a remote port. she says bye and she means it π
β¨ SYNOPSIS β¨
int fc_rport_logoff (struct fc_rport_priv *rdata );
that's the whole vibe. returns an int, takes a pointer, we move π¦
π«Ά ARGUMENTS π«Ά
rdataβ the remote port to be logged off of. that's the one getting the goodbye message π
π DESCRIPTION π
Locking Note: called without the rport lock held. no cap. this function will hold the rport lock, call an _enter_* function, and then unlock the rport.
so likeβ¦ it takes the lock itself, does its little _enter_* thing, and hands the lock back. don't hold it yourself going in, that's the whole point π
π₯ SEE ALSO π₯
kernel file ./drivers/scsi/libfc/fc_rport.c, plus the whole friend group β literally the entire fc_rport cinematic universe:
fc_rport_lookup(9)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_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)
okay that's the page!! tysm for reading, ily π«Ά this was brought to you by ./drivers/scsi/libfc, dated October 2026, live from the Kernel API Manual. go log off some ports bestie, slay πβ¨
π¦ 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