__fc_linkdown(9)
π __fc_linkdown(9) β like, the Kernel API Manual page, bestie
okay so before we even start: this is from the Kernel API Manual, section 9, and the star of the show is __fc_linkdown. she's a handler. she handles transport linkdown events. no cap. let's get into it π«Ά
β¨ NAME β¨
__fc_linkdown β the handler for transport linkdown events π
like literally, when a transport link goes down, this is the function that gets called to deal with it. main character energy fr fr.
πΈ SYNOPSIS πΈ
void __fc_linkdown (struct fc_lport *lport );
that's it. that's the whole signature. void return, one argument. clean, minimal, iconic. β¨
π ARGUMENTS π
lportβ thelportwhose link is down π like. the actual local port object that's having a moment right now because its link is down. that's the one you pass in.
π¦ SEE ALSO π¦
okay bestie, this list is LONG and honestly kind of a flex. everything here lives in the kernel file ./drivers/scsi/libfc/fc_lport.c, and here's the whole crew, in order:
struct fc_bsg_info(9)fc_frame_drop(9)fc_lport_rport_callback(9)fc_lport_state(9)fc_lport_ptp_setup(9)fc_get_host_port_state(9)fc_get_host_speed(9)fc_get_host_stats(9)fc_lport_flogi_fill(9)fc_lport_add_fc4_type(9)fc_lport_recv_rlir_req(9)fc_lport_recv_echo_req(9)fc_lport_recv_rnid_req(9)fc_lport_recv_logo_req(9)fc_fabric_login(9)__fc_linkup(9)fc_linkup(9)fc_linkdown(9)fc_fabric_logoff(9)fc_lport_destroy(9)fc_set_mfs(9)fc_lport_disc_callback(9)fc_lport_enter_ready(9)fc_lport_set_port_id(9)fc_lport_set_local_id(9)fc_lport_recv_flogi_req(9)fc_lport_recv_els_req(9)fc_lport_recv(9)fc_lport_reset(9)fc_lport_reset_locked(9)fc_lport_enter_reset(9)fc_lport_enter_disabled(9)fc_lport_error(9)fc_lport_ns_resp(9)fc_lport_ms_resp(9)fc_lport_scr_resp(9)fc_lport_enter_scr(9)fc_lport_enter_ns(9)fc_lport_enter_dns(9)fc_lport_enter_ms(9)fc_lport_enter_fdmi(9)fc_lport_timeout(9)fc_lport_logo_resp(9)fc_lport_enter_logo(9)fc_lport_flogi_resp(9)fc_lport_enter_flogi(9)fc_lport_config(9)fc_lport_init(9)fc_lport_bsg_resp(9)fc_lport_els_request(9)fc_lport_ct_request(9)fc_lport_bsg_request(9)
ngl, if you read all of those you're lowkey a libfc scholar. iykyk π§π
and that's the whole vibe check, bestie β this page came straight out of ./drivers/scsi/libfc, dated October 2026, and it's the __fc_linkdown(9) page, slay. go forth and handle those linkdown events πππ₯
π¦ 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