libfc_host_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘‘

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