pm_qos_enable_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pm_qos_enable_store(9)

okay so bestie, this little icon is from the Kernel API Manual, and it's the sysfs side of the PM QoS enable switch. The whole page is giving β€œsmall function, big main-character energy” ✨.


🌸 NAME

pm_qos_enable_store β€” the sysfs handler to store value. That's it, that's the job πŸ’–.

✨ SYNOPSIS

ssize_t pm_qos_enable_store (struct device *dev , struct
       device_attribute *attr , const char *buf , size_t count );

πŸŽ€ ARGUMENTS

  • dev β€” the device associated with the UFS controller. Your fave device, basically 🫢.
  • attr β€” the sysfs attribute handle. The little handle for the sysfs attribute vibe ✨.
  • buf β€” the buffer for the sysfs file. It's where the characters live πŸ“.
  • count β€” the stores buffer characters count. Yep, the stores-buffer characters count πŸ’….

πŸ¦‹ DESCRIPTION

Feed it 0 to disable PM QoS, and feed it 1 to enable. That's the whole mood.

Default state? 1. So it's enabled unless you say otherwise, periodt πŸ‘‘.

πŸ”₯ RETURN

On success, you get the number of characters written to buf. On failure, it returns < 0 😭. No cap, that's the contract.

🌈 SEE ALSO


Signed off from ./drivers/ufs/core with the October 2026 timestamp energy, bestie β€” pm_qos_enable_store(9) out πŸ’–βœ¨

πŸ“¦ where this page comes from