__mcb_register_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

This is __mcb_register_driver(9) from the Kernel API Manual, bestie β€” and it’s literally here to register a @mcb_driver at the system. ✨


🌸 SYNOPSIS 🌸

It returns an int, and the full signature is exactly this, no cap:

int __mcb_register_driver (struct mcb_driver *drv , struct module *owner
, const char *mod_name );

πŸŽ€ ARGUMENTS πŸŽ€

  • drv β€” the mcb_driver, the main character of this whole situation πŸ’…
  • owner β€” the mcb_driver’s module
  • mod_name β€” the name of the mcb_driver’s module

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so: this registers an mcb_driver at the system. It also does a sanity check β€” but only if the driver provides a .probe method. That’s the whole vibe check, fr fr. πŸ”₯


🌈 SEE ALSO 🌈

The kernel file is ./drivers/mcb/mcb-core.c, and the whole friend group is:


With love from the Kernel API Manual, source ./drivers/mcb, dated October 2026 β€” that’s the tea, bestie. πŸ«ΆπŸ’…

πŸ“¦ where this page comes from