ocxl_afu_config(9)
π¦ ocxl_afu_config β a whole kernel manual page, bestie (section 9, Kernel API Manual)
Okay so before we even start: this page is ocxl_afu_config(9), and yes the 9 means it's a kernel API page, not one of those little user-command ones. Buckle up, it's short but it's so real. π
β¨ NAME β¨
ocxl_afu_config β get a pointer to the config for an AFU
Like, that's it. That's the whole job. It hands you a pointer. Iconic, low-effort, high-impact. π
πΈ SYNOPSIS πΈ
struct ocxl_afu_config * ocxl_afu_config (struct ocxl_afu *afu );
That's the whole signature, copy it exactly bestie, don't get cute with the spacing, kernel people notice. π
π ARGUMENTS π
afuβ a pointer to the AFU you wanna get the config for. That's the one and only thing you're feeding it. Feed it your AFU, get your config. Simple as. π«Ά
π DESCRIPTION π
Returns a pointer to the AFU config. β¨
That's genuinely the entire description. No lore, no caveats, no plot twist β it just hands you back a pointer to the config. It's giving "one line of docs and a dream". Not me being obsessed with how little there is to say. π
ngl though β a function that returns a pointer and says nothing else means the interesting stuff lives in the struct, so go read ./include/misc/ocxl.h before you start assuming things. That's a see-also, not a spoiler. π
π₯ SEE ALSO π₯
Okay this is where the page goes full main-character, because the see-also list is long. Every single one, in order, no cap:
- Kernel file
./include/misc/ocxl.h ocxl_function_open(9)ocxl_function_afu_list(9)ocxl_function_fetch_afu(9)ocxl_afu_get(9)ocxl_afu_put(9)ocxl_function_config(9)ocxl_function_close(9)ocxl_context_alloc(9)ocxl_context_free(9)ocxl_context_attach(9)ocxl_context_detach(9)ocxl_afu_irq_alloc(9)ocxl_afu_irq_free(9)ocxl_afu_irq_get_addr(9)ocxl_irq_set_handler(9)ocxl_afu_set_private(9)ocxl_afu_get_private(9)ocxl_global_mmio_read32(9)ocxl_global_mmio_read64(9)ocxl_global_mmio_write32(9)ocxl_global_mmio_write64(9)ocxl_global_mmio_set32(9)ocxl_global_mmio_set64(9)ocxl_global_mmio_clear32(9)ocxl_global_mmio_clear64(9)
Fr fr, that's the whole friend group. Go say hi to all of them. π
β the cute little sign-off β
This page lives in ./include/misc, it's dated October 2026, and it answers to the name ocxl_afu_config(9). Slay, periodt, go read your structs. πππ§
π¦ 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