libfc_host_alloc(9)
π libfc_host_alloc(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a kernel-page cutie and honestly it's giving "small but mighty" π
β¨ NAME β¨
libfc_host_alloc β allocate a Scsi_Host with room for a local port and LLD private data π
πΈ SYNOPSIS πΈ
struct fc_lport * libfc_host_alloc (const struct scsi_host_template *sht
, int priv_size );
like yes that's the whole signature, no cap π
π¦ ARGUMENTS π¦
shtβ the SCSI host template. that's the blueprint, the vibe reference, the template bestie πpriv_sizeβ size of private data. how much extra room you're asking for, fr fr π
π RETURN π
returns a libfc lport π«Ά (the libfc local port, slaying as always β¨)
π§ SEE ALSO π§
okay buckle up because this list ate and left no crumbs β literally all the friends in the ./include/scsi/libfc.h kernel file π
enum fc_lport_state(9)enum fc_rport_state(9)struct fc_disc_port(9)enum fc_rport_event(9)struct fc_rport_operations(9)struct fc_rport_libfc_priv(9)struct fc_rport_priv(9)struct fc_stats(9)struct fc_seq_els_data(9)struct fc_fcp_pkt(9)struct fc_seq(9)struct fc_exch(9)struct fc_disc(9)struct fc_lport(9)struct fc4_prov(9)fc_lport_test_ready(9)fc_set_wwnn(9)fc_set_wwpn(9)fc_lport_state_enter(9)fc_lport_init_stats(9)fc_lport_free_stats(9)lport_priv(9)
also the kernel file itself: ./include/scsi/libfc.h β go read it, iykyk ππ
and that's the page, bestie!! no notes, she's iconic πβ¨ this cutie came from ./include/scsi and is dated October 2026 β so yeah, mark your calendar, 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