find_devfreq_governor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

find_devfreq_governor(9) πŸ’…

okay so bestie, this is find_devfreq_governor, and it’s serving straight out of the Kernel API Manual, section 9. It’s a lil lookup function with main-character energy: you give it a governor name, it searches the devfreq governor list, and boom β€” matched governor pointer. ✨


πŸŽ€ NAME πŸŽ€

find_devfreq_governor β€” find devfreq governor from name


🌸 SYNOPSIS 🌸

struct devfreq_governor * find_devfreq_governor (const char *name );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” name of the governor. literally just the governor’s name, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

Search the list of devfreq governors and return the matched governor’s pointer.

The caller should be holding devfreq_list_lock. no cap, that lock detail is important β€” the docs say it should be held by the caller, so respect the lock in this house πŸ’…

friendly reminder: devfreq_list_lock should be held by the caller. that’s the vibe check for this function πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./drivers/devfreq/devfreq.c β€” that’s where the whole squad lives:


source/version: ./drivers/devfreq Β· date: October 2026 Β· page: find_devfreq_governor(9) β€” mwah, slay, and happy governor hunting πŸ’‹βœ¨

πŸ“¦ where this page comes from