dev_pm_qos_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so bestie, welcome to the dev_pm_qos_flags(9) page in the Kernel API Manual. This one is all about dev_pm_qos_flags β€” Check PM QoS flags for a given device (locked). The (locked) is literally part of the name, so keep it. Periodt πŸ’…


✨ SYNOPSIS ✨

The signature is iconic, and you should copy it exactly β€” no freestyling:

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

It returns an enum pm_qos_flags_status and takes a struct device *dev plus an s32 mask. Slay ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” Device to check the PM QoS flags for. Lowkey the main character here πŸ‘‘
  • mask β€” Flags to check against. That's the mask, bestie 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

The page points at the kernel file ./drivers/base/power/qos.c, and then it name-drops this whole friend group. Every linked page is listed here, exactly:


Cute little sign-off: source path ./drivers/base/power, dated October 2026, page dev_pm_qos_flags(9). That's the footer, folded in like a tiny ribbon πŸŽ€βœ¨
πŸ“¦ where this page comes from