dev_pm_opp_...sk_add_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dev_pm_opp_of_cpumask_add_table ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's a lil' function page and honestly it's giving "quietly does something very important" energy. sit down, grab a lil snack πŸ“, we're learning today.


🌸 NAME 🌸

dev_pm_opp_of_cpumask_add_table β€” adds the OPP table for @cpumask. that's literally it, that's the whole vibe 🫢


⭐ SYNOPSIS ⭐

int dev_pm_opp_of_cpumask_add_table (const struct cpumask *cpumask );

look at her. one argument. returns an int. no cap, she's lowkey elegant 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • cpumask β€” the cpumask for which the OPP table needs to be added. like, this is you telling the function "bestie, these CPUs, right here, they need a table" πŸ‘‘ and she's gonna go get it.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she adds the OPP tables for the CPUs that are present in the cpumask. that's the entire thing, fr fr πŸ’–

the way that you hand her a cpumask and she just... goes and sets up the OPP tables for whichever CPUs made it into that mask. iconic behaviour, honestly. no extra steps, no ✨surprise✨ side quests β€” she adds the tables for the CPUs in the mask. periodt. 🌈


πŸ’œ SEE ALSO πŸ’œ

this is the part where she tags everyone in the group chat πŸ“± so here's the whole crew β€” every single one of them, no one gets left on read:


πŸ’€ tiny reality check babe: cpumask is a const struct cpumask *, and the whole thing comes back as an int β€” don't forget, this is C land, we respect the types here 🫢

alright that's the page!! 🌟 you made it to the end, I'm so proud, literally glowing for you πŸ₯Ήβœ¨ this was brought to you by the ./drivers/opp directory gang (the one and only πŸ’…), dated October 2026 in all its glory β€” mwah, stan, go add some tables bestie πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from