_scsih_sas_device_init_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– _scsih_sas_device_init_add πŸ’–

Okay so this page lives in the Kernel API Manual, and the main character is _scsih_sas_device_init_add. It is literally the β€œinsert sas_device to the list” girlie, and that is the whole NAME situation. 🫢


🌸 NAME 🌸

_scsih_sas_device_init_add β€” insert sas_device to the list. Periodt. πŸ’…


✨ SYNOPSIS ✨

void _scsih_sas_device_init_add (struct MPT3SAS_ADAPTER *ioc , struct
       _sas_device *sas_device );

No cap, that is the signature exactly: it returns void, takes a struct MPT3SAS_ADAPTER *ioc, and a struct _sas_device *sas_device.


πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” per adapter object. That is the whole description, bestie.
  • sas_device β€” the sas_device object. Iconic.

πŸ¦‹ CONTEXT πŸ¦‹

This function will acquire ioc->sas_device_lock. That is the lock tea, fr fr. πŸ”’


🌈 DESCRIPTION 🌈

Adding new object at driver load time to ioc->sas_device_init_list β€” that is the assignment, and it ate. πŸ’…


πŸ”Ž SEE ALSO πŸ”Ž

The whole SEE ALSO squad, no omissions, no cap:


Cute sign-off era: this page comes from ./drivers/scsi/mpt3sas, dated October 2026, for _scsih_sas_device_init_add(9). Byeee, go touch some kernel grass πŸ’–βœ¨

πŸ“¦ where this page comes from