scsi_prep_async_scan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scsi_prep_async_scan(9) β€” Kernel API Manual ✨

okay bestie, welcome to the Kernel API Manual page for scsi_prep_async_scan(9). buckle up, it’s giving lowkey legendary kernel behavior 🫢

🌸 NAME 🌸

scsi_prep_async_scan β€” prepare for an async scan πŸ’–

✨ SYNOPSIS ✨

struct async_scan_data * scsi_prep_async_scan (struct Scsi_Host *shost
);

πŸŽ€ ARGUMENTS πŸŽ€

  • shost β€” the host which will be scanned, aka the main character here πŸ‘‘βœ¨

πŸ’« RETURN πŸ’«

It returns a cookie to be passed to scsi_finish_async_scan β€” like, yes, a literal return-cookie situation, not a snack πŸͺ😭

πŸ”₯ DESCRIPTION πŸ”₯

Tells the midlayer that this host is going to do an asynchronous scan. It reserves the host’s position in the scanning list and ensures that other asynchronous scans started after this one won’t affect the ordering of the discovered devices. periodt. πŸ’…πŸ”₯

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/scsi_scan.c β€” and here’s the whole bestie squad of related refs, no cap:


made with πŸ’– from ./drivers/scsi, dated October 2026, for scsi_prep_async_scan(9) β€” slay, bye! 🫢✨

πŸ“¦ where this page comes from