edac_device_handle_ce_count(9)
β¨ edac_device_handle_ce_count(9) β¨
okay so this is a page from the Kernel API Manual, and bestie, it's literally just one little function that logs correctable errors. that's the whole vibe. it's giving "small but important," and honestly? we're obsessed. π
πΈ NAME πΈ
edac_device_handle_ce_count β Log correctable errors.
like, it counts your CEs and writes them down. no cap, that's it. π
π¦ SYNOPSIS π¦
void edac_device_handle_ce_count (struct edac_device_ctl_info *edac_dev
, unsigned int count , int inst_nr , int block_nr , const char *msg );
it returns void, so don't come looking for a return value, there isn't one, periodt. β¨
π ARGUMENTS π
edac_devβ pointer tostruct edac_device_ctl_info. yeah, it's the big one. the main character struct. π«Άcountβ Number of errors to log. tell it how many, it'll handle the rest. π₯inst_nrβ number of the instance where the CE error happened. which instance? this instance. iykyk. πΈblock_nrβ number of the block where the CE error happened. locating the block like it's a missing earring. πmsgβ message to be printed. your moment to say something iconic. π
π SEE ALSO π
Kernel file ./drivers/edac/edac_device.h and its little friends:
edac_device_add_device(9)edac_device_del_device(9)edac_device_handle_ue_count(9)edac_device_handle_ce(9)edac_device_handle_ue(9)edac_device_alloc_index(9)
the whole squad, fr fr. go read them too, they're all serving. π
ngl, if you're here you probably already know what a correctable error is, but just so we're clear: this logs them. that's the whole job. don't overthink it bestie. π
and that's the page!! π this cutie lives in ./drivers/edac, and the version we're looking at is dated October 2026 β so mark your calendars and stan responsibly. mwah. πβ¨π§
π¦ 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