regulator_bulk_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regulator_bulk_free β€” the kernel API manual, but make it make sense

Hey bestie, welcome to regulator_bulk_free(9) from the Kernel API Manual πŸŽ€ β€” yes, we're doing kernel regulator stuff today, and honestly? It's giving cleanup-era main character energy.


🌸 NAME 🌸

regulator_bulk_free β€” free multiple regulator consumers

Like, plural. A whole friend group of them. One call. Iconic.


✨ SYNOPSIS ✨

void regulator_bulk_free (int num_consumers , struct regulator_bulk_data
*consumers );

That's the whole vibe β€” no return value, it just does the thing and dips πŸ’…


🫢 ARGUMENTS 🫢

  • num_consumers β€” Number of consumers. Yep, that's literally it β€” how many of them you're rounding up for the freeing party πŸŽ‰
  • consumers β€” Consumer data; clients are stored here. This is the spot where all your regulator clients are hanging out, so it's also the spot they get freed from.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea: this convenience API lets consumers free multiple regulator clients in a single API call. No cap. Instead of writing out a whole lil' loop of individual frees, you just pass the count and the array and let it handle business ✨ Convenience, periodt.


πŸ’œ SEE ALSO πŸ’œ

The whole extended universe, fr fr β€” all of these live in the Kernel file ./drivers/regulator/core.c:


Go read them. Not me being a good influence for once πŸ™ˆ

Okay bye bestie, love u, stay regulated πŸ’– ✨ πŸŽ€

Sign-off tea: this page comes from ./drivers/regulator, dated October 2026, and it's regulator_bulk_free(9) all the way through β€” slay πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from