ocxl_context_detach(9)
π ocxl_context_detach(9) β¨
okay so real talk, this is a page from the Kernel API Manual β yes THAT manual, the big serious one β and honestly? she's short, she's sweet, she does one (1) job. let's get into it bestie π«Ά
πΈ NAME πΈ
ocxl_context_detach β detach an MM from an OpenCAPI context
like... that's the whole gig. iconic behaviour, no notes π
π¦ SYNOPSIS π¦
int ocxl_context_detach (struct ocxl_context *ctx );
that's it. that's the function. returns an int, takes one pointer, lives her life β¨
π ARGUMENTS π
ctxβ the OpenCAPI context to attach π
ok so yes, the page literally says "to attach" on the detach function. i'm not making the rules, i'm just reading them out loud. copy-paste accuracy is the assignment and i ate π
β DESCRIPTION β
returns 0 on success, negative on failure. that's the vibe check: zero means slay, negative means something went sideways ππ₯
no cap, that's the entire description. short queen energy π
π₯ SEE ALSO π₯
the kernel file lives at ./include/misc/ocxl.h β and here's the full friend group, bc they all show up together, fr fr:
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_afu_irq_alloc(9)ocxl_afu_irq_free(9)ocxl_afu_irq_get_addr(9)ocxl_irq_set_handler(9)ocxl_afu_config(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)
twenty-five icons. count them. i did. π§π
tiny reminder bestie: this page is./include/miscflavoured π, stamped October 2026 π, and yes the whole thing is filed underocxl_context_detach(9)β mmkay love u bye, go detach that MM πβ¨π
π¦ 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