STRUCT HBA_PORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct hba_port(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this is the page for struct hba_port(9), and we're gonna get you fluent in it, lowkey no cap. ✨

✨ NAME ✨

struct hba_port β€” saves each HBA's Wide/Narrow port info. literally its whole job, and it ate. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct hba_port {
           struct list_head list;
           u64 sas_address;
           u32 phy_mask;
           u8 port_id;
           u8 flags;
           u32 vphys_mask;
           struct list_head vphys_list;
        };

bestie, yes, list is in the struct too β€” the Members section below just doesn't give it a separate little blurb. iykyk. 🫢

πŸŽ€ Members πŸŽ€

  • sas_address β€” sas address of this wide/narrow port's attached device. iconic field, does exactly what it says. 🌸
  • phy_mask β€” HBA PHY's belonging to this port. yes, "PHY's" β€” we're keeping the page's exact vibe. 😭
  • port_id β€” port number. short, sweet, main character energy. πŸ‘‘
  • flags β€” hba port flags. that's the whole note, and honestly? periodt. πŸ’€
  • vphys_mask β€” mask of vSES devices Phy number. no cap, that's the exact description, and we're not changing it. πŸ¦‹
  • vphys_list β€” list containing vSES device structures. the list bestie. the container. obsessed. πŸ’œ

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/scsi/mpt3sas/mpt3sas_base.h
  • struct MPT3SAS_TARGET(9)
  • struct MPT3SAS_DEVICE(9)
  • struct _internal_cmd(9)
  • struct _sas_device(9)
  • pcie_device_get(9)
  • pcie_device_free(9)
  • pcie_device_put(9)
  • struct _boot_device(9)
  • struct _sas_port(9)
  • struct _sas_phy(9)
  • struct _sas_node(9)
  • struct _enclosure_node(9)
  • enum reset_type(9)
  • struct pcie_sg_list(9)
  • struct chain_tracker(9)
  • struct scsiio_tracker(9)
  • struct request_tracker(9)
  • struct _tr_list(9)
  • struct _sc_list(9)
  • struct _event_ack_list(9)
  • struct adapter_reply_queue(9)
  • struct io_uring_poll_queue(9)
  • struct virtual_phy(9)
  • struct htb_rel_query(9)
  • struct MPT3SAS_ADAPTER(9)

mwah πŸ’‹ this page came from ./drivers/scsi/mpt3sas, dated October 2026, and it's still answering to struct hba_port(9) β€” slay forever, bestie. πŸŽ€

πŸ“¦ where this page comes from