sd_check_events(9)
π sd_check_events(9) π
okay so bestie, welcome to the Kernel API Manual page for sd_check_events β itβs giving block-layer media-event check energy, and weβre gonna read it together. π¦β¨
β¨ NAME β¨
sd_check_events β check media events π
πΈ SYNOPSIS πΈ
the call is literally:
unsigned int sd_check_events (struct gendisk *disk , unsigned int
clearing );
π ARGUMENTS π
two little cuties come in:
diskβ kernel device descriptor π«Άclearingβ disk events currently being cleared π§
π₯ DESCRIPTION π₯
Returns mask of DISK_EVENT_*. thatβs the whole entire point, no cap π
π NOTE π
π«Ά heads up bestie: this function is invoked from the block subsystem.
π SEE ALSO π
Kernel file ./drivers/scsi/sd.c and the whole friend group:
sd_group_number(9)sd_open(9)sd_release(9)sd_ioctl(9)sd_eh_reset(9)sd_eh_action(9)sd_done(9)sd_read_block_provisioning(9)sd_read_cpr(9)sd_revalidate_disk(9)sd_unlock_native_capacity(9)sd_format_disk_name(9)sd_probe(9)sd_remove(9)init_sd(9)exit_sd(9)
okay thatβs the page, bestie β every detail is here, periodt. xoxo π source/version: ./drivers/scsi Β· date: October 2026 Β· page: sd_check_events(9) π
π¦ 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