sdev_evt_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdev_evt_send β€” Kernel API Manual ✨

okay bestie, welcome to sdev_evt_send(9), one of those tiny functions that does exactly one thing and does it in the background while you're not looking. it's giving "quietly competent" energy and honestly? we love that for it. 🫢


🌸 NAME 🌸

sdev_evt_send β€” send asserted event to uevent thread

like, you assert an event, you hand it to this function, and the uevent thread deals with it. teamwork, but make it kernel. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void sdev_evt_send (struct scsi_device *sdev , struct scsi_event *evt );

notice it returns void, so no take-backs, no status code, no "did it work tho" β€” it's a one-way vibe. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sdev β€” the scsi_device that the event happened on. this is the main character of the situation, the device that's out here having things occur to it. πŸ’…
  • evt β€” the event you're sending. this is the lil payload you're handing over. πŸŽ€

🌈 DESCRIPTION 🌈

assert a scsi device event asynchronously, bestie. asynchronously!! no cap, that means it doesn't block around waiting for the uevent thread to finish doing its thing β€” it just asserts the event and moves on with its life. lowkey iconic. πŸ”₯


⭐ SEE ALSO ⭐

okay so this is the part where the kernel goes "here's everyone in my contacts list," and there are forty of them, so buckle up, bestie. 🧚

kernel file ./drivers/scsi/scsi_lib.c β€” that's where the squad lives:

like I said. forty. i counted. you're welcome. πŸ’€


ngl if you're reading this because sdev_evt_alloc(9) and sdev_evt_send_simple(9) showed up in your grep, you're already in the right friend group. πŸ’œ

and that's the page!! this one lives in ./drivers/scsi, dated October 2026, and it's part of the Kernel API Manual β€” the same gorgeous manual that brought you sdev_evt_send(9) right here at the top. go forth and assert your events asynchronously, bestie. slay. πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from