pm_generic_freeze_noirq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pm_generic_freeze_noirq β€” the Kernel API Manual, bestie edition ✨

okay so picture this: you're deep in the kernel power-management lore, section 9 of the manual, and the function we're stanning today is pm_generic_freeze_noirq β€” the generic freeze_noirq callback that subsystems get to borrow instead of writing their own. it's giving "one size fits all but make it gorgeous" πŸŽ€


🌸 NAME 🌸

pm_generic_freeze_noirq β€” the generic freeze_noirq callback for subsystems. that's it, that's the whole vibe πŸ’…


✨ SYNOPSIS ✨

int pm_generic_freeze_noirq (struct device *dev );

yes bestie, it returns an int, and yes it takes exactly one argument. no surprises, no plot twists πŸ¦‹


🫢 ARGUMENTS 🫢

  • dev β€” the device you're freezing. that's the one. the main character of this whole operation πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

first up, the actual kernel file where this lives, no cap:

  • Kernel file ./drivers/base/power/generic_ops.c

and now the whole friend group β€” every single sibling in the generic PM callback family, all of them tagged section 9, all of them iconic in their own way:

like, the entire sleep/resume pipeline is right there. read them in order, it's a whole saga 🌈


ok that's the page!! go freeze some devices responsibly, bestie πŸ˜­πŸ’€

and finally, the cute little sign-off the manpage footer gives us: this whole thing lives under <pink>./drivers/base/power</pink>, dated October 2026 β€” and the page itself is pm_generic_freeze_noirq(9). slay, documented, periodt πŸ’œβ­

πŸ“¦ where this page comes from