sdev_evt_send_simple(9)
π sdev_evt_send_simple π
okay so this page is sdev_evt_send_simple(9), and honestly it's one of those tiny little helpers in the SCSI corner of the kernel that does exactly one thing and does it cute. bestie, it sends an asserted event to the uevent thread. that's it. that's the whole vibe. β¨
πΈ NAME πΈ
sdev_evt_send_simple β send asserted event to uevent thread
like, the name literally tells you everything: simple, send, event. no cap. π«Ά
π SYNOPSIS π
void sdev_evt_send_simple (struct scsi_device *sdev , enum
scsi_device_event evt_type , gfp_t gfpflags );
returns nothing (void), takes three things. she's lowkey minimalist. π
π¦ ARGUMENTS π¦
sdevβ thescsi_devicethe event went down on. like, which device are we gossiping about. πevt_typeβ the type of event you're sending. the what-happened.gfpflagsβ the GFP flags for allocation. yes, this girl allocates, so hand her the right flags. β
β¨ DESCRIPTION β¨
Assert the scsi device event asynchronously, given an event type. that's the whole assignment. you hand it an event type, it asserts it async, and the uevent thread handles the rest β main character energy, no blocking, no waiting around. π«
π SEE ALSO π
okay this is the part where the manpage just names literally everyone in the friend group. kernel file ./drivers/scsi/scsi_lib.c is the hangout spot, and here's the whole crew:
__scsi_queue_insert(9)scsi_queue_insert(9)scsi_failures_reset_retries(9)scsi_check_passthrough(9)scsi_execute_cmd(9)scsi_run_queue(9)scsi_result_to_blk_status(9)scsi_rq_err_bytes(9)scsi_io_completion(9)scsi_alloc_sgtables(9)scsi_initialize_rq(9)scsi_alloc_request(9)scsi_dispatch_cmd(9)scsi_get_internal_cmd(9)scsi_put_internal_cmd(9)scsi_device_from_queue(9)scsi_block_requests(9)scsi_unblock_requests(9)scsi_mode_select(9)scsi_mode_sense(9)scsi_test_unit_ready(9)scsi_device_set_state(9)scsi_evt_emit(9)scsi_evt_thread(9)sdev_evt_send(9)sdev_evt_alloc(9)scsi_device_quiesce(9)scsi_device_resume(9)scsi_internal_device_block_nowait(9)scsi_device_block(9)scsi_internal_device_unblock_nowait(9)scsi_internal_device_unblock(9)scsi_block_targets(9)scsi_host_block(9)scsi_kmap_atomic_sg(9)scsi_kunmap_atomic_sg(9)scsi_vpd_lun_id(9)scsi_vpd_lun_serial(9)scsi_vpd_tpg_id(9)scsi_build_sense(9)
go read all of them. i'll wait. π
ngl bestie, this page is short so there's no drama here β no exit statuses, no signals, no warnings, no bugs section. just one tidy async event. slay. π
and that's the whole page, mwah π β brought to you by the fine folks over in ./drivers/scsi, dated October 2026, in the sdev_evt_send_simple(9) manual. go forth and assert your events, queen. periodt. ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms