mpt3sas_transport_port_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

mpt3sas_transport_port_add β€” insert port to the list.

okay bestie, this is mpt3sas_transport_port_add(9) from the Kernel API Manual, and it is literally here to insert a port to the list. no cap.

✨ SYNOPSIS ✨

struct _sas_port * mpt3sas_transport_port_add (struct MPT3SAS_ADAPTER
*ioc , u16 handle , u64 sas_address , struct hba_port *hba_port );

🫢 ARGUMENTS 🫢

  • ioc β€” per adapter object. that's the adapter's whole vibe, basically.
  • handle β€” handle of attached device. yes, the attached device's handle, periodt.
  • sas_address β€” sas address of parent expander or sas host. so either the parent expander or the sas host β€” that's the address.
  • hba_port β€” hba port entry. the hba port entry, exactly.

πŸ”’ CONTEXT πŸ”’

heads up, bestie: this function will acquire ioc->sas_node_lock. so yeah, it grabs that lock. not me forgetting to warn you πŸ’…

🌸 DESCRIPTION 🌸

Adding new port object to the sas_node->sas_port_list. that's the whole little mission β€” new port object goes into that list.

πŸŽ€ RETURN πŸŽ€

it hands you back mpt3sas_port. iconic return value behavior, honestly.

πŸ‘‘ SEE ALSO πŸ‘‘


kisses bestie 🫢 this page came from ./drivers/scsi/mpt3sas, dated October 2026, and it's mpt3sas_transport_port_add(9) β€” byeee πŸ’–βœ¨

πŸ“¦ where this page comes from