genpd_queue_power_off_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… genpd_queue_power_off_work(9) ✨

okay bestie, welcome to the Kernel API Manual β€” yes we're reading manpages now, this is our era πŸŽ€


🌸 NAME 🌸

genpd_queue_power_off_work β€” queue up the execution of genpd_power_off(). that's it. that's the whole job. iconic behavior honestly πŸ‘‘


✨ SYNOPSIS ✨

void genpd_queue_power_off_work (struct generic_pm_domain *genpd );

like, it returns void. no notes, no receipts, no return value. it just does the thing πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • genpd β€” the PM domain you want to power off. yes babe, this is the one getting the off treatment πŸ”ŒπŸ’€

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: this function queues up the execution of genpd_power_off β€” but only if it hasn't already been done before. that's the whole personality. it's giving "I'll do it, but only if nobody beat me to it" πŸ™ˆ

not me queuing the work that queues the power off 😭 it's called delegation, look it up.

fr fr though: it's a queue, not a direct call. the actual powering-off happens via the work, and if it's already been handled, this just... doesn't. no cap.

🧚 SEE ALSO 🧚

the whole pmdomain friend group 🫢 lowkey the most stacked SEE ALSO ever, we love a well-connected icon:

like... go off, genuinely 😭πŸ”₯


mwah πŸ’‹ that's the page! this lil beauty lives in ./drivers/pmdomain and it's stamped October 2026 β€” screenshot it, frame it, put it on your fridge πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from