ap_scan_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ap_scan_bus(9) ✨

okay so this is a page from the Kernel API Manual bestie, and we're talking about ap_scan_bus β€” yes it's a 9-section kernel page, yes it's giving driver-dev realness, stay with me πŸ’…

πŸŽ€ NAME πŸŽ€

ap_scan_bus β€” scan the AP bus for new devices. Always run under mutex ap_scan_bus_mutex protection which needs to get locked/unlocked by the caller! Returns true if any config change has been detected during the scan, otherwise false.

lowkey the most important sentence on this whole page: the caller is the one who has to lock and unlock ap_scan_bus_mutex. Not the function. You. Do not skip this, i'm begging 😭

✨ SYNOPSIS ✨

bool ap_scan_bus (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. that's it. nothing to pass, she takes zero input, queen of boundaries πŸ‘‘

🌸 SEE ALSO 🌸

Kernel file ./drivers/s390/crypto/ap_bus.c β€” that's where she lives, go say hi 🫢


and that's the whole vibe check πŸ’– honestly a short one but she said everything she needed to say. reminder one more time because i love you: mutex ap_scan_bus_mutex, locked and unlocked by the caller, no exceptions, periodt πŸ”₯

this lil cutie comes to you from ./drivers/s390/crypto, dated October 2026 β€” go build something iconic with her, mwah πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from