em_table_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– em_table_alloc(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for em_table_alloc(9) β€” it's giving tiny kernel helper, main character energy ✨. let's go πŸ’…

✨ NAME ✨

em_table_alloc β€” allocate a new EM table πŸŽ€

🌸 SYNOPSIS 🌸

struct em_perf_table * em_table_alloc (struct em_perf_domain *pd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pd β€” the EM performance domain for which this must be done. like, that's the domain this whole thing is for, periodt πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so em_table_alloc allocates a new EM table and initializes its kref to indicate that it has a user. then it returns the allocated table, or NULL. no cap, that's the whole vibe: allocate it, init the kref so it knows a user is there, and hand it back β€” or hand back NULL 😭. literally the whole function, bestie 🫢

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./kernel/power/energy_model.c, and the whole squad is:


mwah πŸ’‹ source/version check: ./kernel/power; date check: October 2026; page check: em_table_alloc(9) β€” bye bestie, slay your kernel journey 🫢✨

πŸ“¦ where this page comes from