blkg_conf_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this page is blkg_conf_init(9) from the Kernel API Manual β€” and yes, we're getting into blk-cgroup setup energy πŸ¦‹

🌸 NAME 🌸

blkg_conf_init β€” initialize a blkg_conf_ctx πŸ’…

✨ SYNOPSIS ✨

void blkg_conf_init (struct blkg_conf_ctx *ctx , char *input );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” the blkg_conf_ctx to initialize. This is the main-character struct you're setting up, no cap.
  • input β€” the input string. Yep, that's the blkg config input string you're handing over.

πŸ’– DESCRIPTION πŸ’–

Okay so blkg_conf_init initializes ctx, and that initialized ctx can be used to parse the blkg config input string input. Once it's initialized, ctx can be used with blkg_conf_open_bdev and blkg_conf_prep. That's the whole vibe: init first, then those two functions can do their thing. periodt ✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./block/blk-cgroup.c β€” plus the whole blk-cgroup friend group:


xoxo, bestie πŸ’… β€” source/version: ./block, date: October 2026 🫢

πŸ“¦ where this page comes from