_default_power_down_ok(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

_default_power_down_ok β€” straight out of the Kernel API Manual, bestie β€” is the default generic PM domain power off governor routine. That’s the whole vibe. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

bool _default_power_down_ok (struct dev_pm_domain *pd , ktime_t now );

πŸŽ€ ARGUMENTS πŸŽ€

  • pd β€” the PM domain to check. Go look at it, bestie. πŸ‘€
  • now β€” the current ktime. Literally rn. ⏰

πŸ’… DESCRIPTION πŸ’…

Okay so, critical info: this routine must be executed under the PM domain’s lock. No cap. πŸ”’

This routine must be executed under the PM domain’s lock.

πŸ”₯ RETURN πŸ”₯

true if it’s OK to power down, false if it’s not OK to power down. Iconic boolean behavior, honestly. πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file ./drivers/pmdomain/governor.c Β· default_suspend_ok(9) β€” go read those too, iykyk. πŸ¦‹


xoxo, source/version ./drivers/pmdomain Β· date October 2026 Β· _default_power_down_ok(9) πŸ’–

πŸ“¦ where this page comes from