mips_cdmm_get_bus(9)
π 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:
struct mips_cdmm_work_dev(9)mips_cdmm_void_work(9)mips_cdmm_int_work(9)BUILD_PERCPU_HELPER(9)mips_cdmm_driver_register(9)mips_cdmm_driver_unregister(9)struct mips_cdmm_bus(9)mips_cdmm_cur_base(9)mips_cdmm_phys_base(9)mips_cdmm_setup(9)mips_cdmm_early_probe(9)mips_cdmm_release(9)mips_cdmm_bus_discover(9)BUILD_PERDEV_HELPER(9)mips_cdmm_cpu_down_prep(9)mips_cdmm_cpu_online(9)mips_cdmm_init(9)
cute little sign-off: source/version is ./drivers/bus, date is October 2026, and this page is done, slay π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms