fc_host_fpin_rcv(9)
π fc_host_fpin_rcv β¨ Kernel API Manual π¦
okay so bestie, welcome to the fc_host_fpin_rcv page π this one's short and sweet and it lives in the Kernel API Manual, and honestly? it's giving "small function, big responsibility" energy π
π NAME π
fc_host_fpin_rcv β the routine that processes a received FPIN π« (no cap, that's literally the whole job)
πΈ SYNOPSIS πΈ
void fc_host_fpin_rcv (struct Scsi_Host *shost , u32 fpin_len , char
*fpin_buf , u8 event_acknowledge );
she takes four things, she returns void, she minds her own business π«Ά
β¨ ARGUMENTS β¨
shostβ the host that the FPIN was received on π₯οΈ like, which host, bestie, we need to knowfpin_lenβ length of the FPIN payload, in bytes π measured in bytes, not vibesfpin_bufβ pointer to the FPIN payload π― the actual goodsevent_acknowledgeβ1, if LLDD handles this event π ok so set her to1when the LLDD is the one handling this event, periodt
π§ NOTES π§
This routine assumes no locks are held on entry ππ like, walk in with your hands empty, bestie β no locks held, that's the whole vibe check.
fr fr, that's a real assumption, not a suggestion β no locks are held on entry when you call this π
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/scsi_transport_fc.c π and a whole friend group of functions, all in their (9) era:
fc_get_event_number(9)fc_host_post_fc_event(9)fc_host_post_event(9)fc_host_post_vendor_event(9)fc_find_rport_by_wwpn(9)fc_eh_timed_out(9)fc_queue_work(9)fc_flush_work(9)fc_queue_devloss_work(9)fc_flush_devloss(9)fc_remove_host(9)fc_starget_delete(9)fc_rport_final_delete(9)fc_remote_port_create(9)fc_remote_port_add(9)fc_remote_port_delete(9)fc_remote_port_rolechg(9)fc_timeout_deleted_rport(9)fc_timeout_fail_rport_io(9)fc_scsi_scan_rport(9)fc_block_rport(9)fc_block_scsi_eh(9)fc_vport_setup(9)fc_vport_create(9)fc_vport_terminate(9)fc_vport_sched_delete(9)fc_bsg_job_timeout(9)fc_bsg_host_dispatch(9)fc_bsg_rport_dispatch(9)fc_bsg_hostadd(9)fc_bsg_rportadd(9)fc_bsg_remove(9)
that's THIRTY-TWO functions, bestie, we counted, we love a thorough cross-reference π
π«Ά the sign-off π«Ά
and that's the page!! mwah π this little icon lives over in ./drivers/scsi, dated October 2026, and it's filed under fc_host_fpin_rcv(9) β go read her friends, they ate πβπ
π¦ 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