shutdown_work(9)
β¨ shutdown_work(9) β¨
okay so bestie, welcome to shutdown_work(9) from the Kernel API Manual β yes that's a section 9 page, we're in kernel-internals territory, and honestly? iconic of you to be here π«Ά
πΈ NAME πΈ
shutdown_work β shutdown all pending works.
like, all of them. every single pending work. it's giving "closing time, everybody out" energy π
π SYNOPSIS π
void shutdown_work (struct ubi_device *ubi );
returns void, so no return value to check, no drama, no notes π
π¦ ARGUMENTS π¦
ubiβ the UBI device description object. that's it, that's the whole argument list. one (1) parameter, main character energy fr fr π
π₯ SEE ALSO π₯
okay this is the part where I list literally every sibling function because the kernel devs said "no bestie left behind" and honestly? we love the commitment. here's the whole fam π§β¨
Kernel file ./drivers/mtd/ubi/wl.c:
wl_tree_add(9)wl_entry_destroy(9)do_work(9)in_wl_tree(9)in_pq(9)prot_queue_add(9)find_wl_entry(9)find_mean_wl_entry(9)wl_get_wle(9)prot_queue_del(9)ubi_sync_erase(9)serve_prot_queue(9)__schedule_ubi_work(9)schedule_ubi_work(9)schedule_erase(9)do_sync_erase(9)wear_leveling_worker(9)ensure_wear_leveling(9)__erase_worker(9)ubi_wl_put_peb(9)ubi_wl_scrub_peb(9)ubi_wl_flush(9)ubi_bitflip_check(9)tree_destroy(9)ubi_thread(9)erase_aeb(9)ubi_wl_init(9)protection_queue_destroy(9)ubi_wl_close(9)self_check_ec(9)self_check_in_wl_tree(9)self_check_in_pq(9)produce_free_peb(9)ubi_wl_get_peb(9)
that's 33 functions. yes I counted. no I will not be taking questions π«‘
reminder bestie: those are the references, so if you're poking around wear-levelling code, that's your reading list π
and that's the whole page! no cap, it's a short one β a one-line synopsis, one argument, and a very social SEE ALSO section π
sign-off time π this lil page lives in the ./drivers/mtd/ubi directory, dated October 2026 β so go forth, shut down those pending works, and slay π
β¨π
π¦ 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