__dev_pm_qos_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to __dev_pm_qos_flags(9), straight outta the Kernel API Manual β€” this is the page for checking PM QoS flags for a given device. periodt. πŸ’…

✨ SYNOPSIS ✨

enum pm_qos_flags_status __dev_pm_qos_flags (struct device *dev , s32 mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the Device to check the PM QoS flags for. like, this is the device we're looking at, bestie.
  • mask β€” the flags to check against. that's the vibe check right there.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk: This routine must be called with dev->power.lock held. no cap, that's the whole description and it's kinda the most important part. don't skip the lock, bestie, i'm begging. 😭

🌈 SEE ALSO 🌈

first up, the kernel file itself:

  • Kernel file: ./drivers/base/power/qos.c

and then the whole related-functions group chat, in order:


mwah πŸ’‹ this page is from the ./drivers/base/power source/version, dated October 2026, and it's all about __dev_pm_qos_flags(9). bye bestie β€” go check those flags and stay hydrated 🫢✨

πŸ“¦ where this page comes from