mips_cdmm_get_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to mips_cdmm_get_bus(9) from the Kernel API Manual ✨. This page is literally about one thing: get the per-CPU CDMM bus information. No cap.

🧚 SYNOPSIS 🧚

struct mips_cdmm_bus * mips_cdmm_get_bus (void );

🫢 ARGUMENTS 🫢

  • void β€” no arguments. Zero. None. The void is voiding πŸ’….

🌸 DESCRIPTION 🌸

Get information about the per-CPU CDMM bus, if the bus is present. That's the vibe πŸ¦‹.

The caller must prevent migration to another CPU β€” either by disabling pre-emption or by running from a pinned kernel thread. Not optional, bestie. Do not let your task slide over to some other CPU while you're asking about this CPU's bus 😭.

πŸ”₯ RETURN πŸ”₯

Pointer to CDMM bus information for the current CPU. It may return ERR_PTR(-errno) in case of error, so check with IS_ERR. Like, do a little vibe check on that pointer before you use it, because error pointers are not it πŸ’€.

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/bus/mips_cdmm.c:


cute little sign-off: source/version is ./drivers/bus, date is October 2026, and this page is done, slay πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from