ocxl_context_free(9)
π ocxl_context_free(9) β like, the Kernel API Manual page you didn't know you needed π
okay so bestie, welcome to the Kernel API Manual entry for ocxl_context_free β yes that's the whole name and yes it's giving "short but iconic". This one's a single-function girlie and she does exactly one thing, so let's get into it πΈ
β¨ NAME β¨
ocxl_context_free β free an OpenCAPI context. that's it. that's the vibe. one job, no notes π
π¦ SYNOPSIS π¦
void ocxl_context_free (struct ocxl_context *ctx );
literally just hand her the pointer and she handles the rest, no cap β¨
π ARGUMENTS π
ctxβ the OpenCAPI context you wanna free. that's the one, that's the girl, hand her over π«Ά
π SEE ALSO π
okay so first things first, there's a Kernel file you should peek at: ./include/misc/ocxl.h π β that's where all the lore lives.
and here's the whole friend group, the entire OpenCAPI squad, all main character energy, no filler π
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_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_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)
like, that's twenty-five siblings and every single one of them is invited to the function. iykyk π
reminder bestie: also check the Kernel file ./include/misc/ocxl.h β don't skip her, she's important π§
and that's the page!! mwah π this one came from the ./include/misc directory, dated October 2026, and she's filed under ocxl_context_free(9) β go free that context, queen πβ¨π
π¦ 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