pm_qos_enable_show(9)
β¨ pm_qos_enable_show(9) β¨
okay so β welcome to the Kernel API Manual, bestie π this one's a lil sysfs handler and honestly it's iconic in its simplicity. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
pm_qos_enable_show β the sysfs handler that shows you the pm qos enable value β¨ that's literally her whole job and she does it flawlessly, no cap.
π¦ SYNOPSIS π¦
ssize_t pm_qos_enable_show (struct device *dev , struct device_attribute
*attr , char *buf );
π ARGUMENTS π
devβ the device that's associated with the UFS controller π like, that's her person, that's who she's showing up for.attrβ the sysfs attribute handle π the lil grip she holds onto in sysfs land.bufβ the buffer for the sysfs file π§ bestie this is where the answer gets written, it's the whole point.
π DESCRIPTION π
so what does she actually do?? she prints 1 if the PM QoS feature is enabled, and 0 if it's disabled π― that's it. that's the vibe check. one digit, fully committed, zero drama π
and her return value? she returns the number of characters written to buf β literally "here's how much I wrote, you're welcome."
ngl she's a tiny function but she's giving main character energy β a whole feature's on/off state, reported in a single character πβ¨
π SEE ALSO π
- Kernel file
./drivers/ufs/core/ufs-sysfs.cπ₯ (her home address, gone but not forgotten) pm_qos_enable_store(9)π (her partner in crime β she shows, they store, iykyk)
and that's the whole page, bestie π shoutout to ./drivers/ufs/core β that's where she lives β and this whole lil doc is dated October 2026 β slay, see you in the next manpage ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms