ttm_bo_kunmap(9)
π ttm_bo_kunmap(9) β Kernel API Manual, bestie edition β¨
okay so this is ttm_bo_kunmap, from the Kernel API Manual β yes the section (9) one, the kernel-internals section, we love a niche queen π
β¨ NAME β¨
ttm_bo_kunmap β and ngl, upstream literally left the description blank after the dash π so what you see is what you get, no cap. The name is the whole name.
πΈ SYNOPSIS πΈ
void ttm_bo_kunmap (struct ttm_bo_kmap_obj *map );
that's it. that's the whole thing. short and iconic π
π¦ ARGUMENTS π¦
mapβ the object describing the map you wanna unmap. like, the receipt for the mapping. hand it back π«Ά
π DESCRIPTION π
So bestie, real talk: this undoes a kernel map that was set up by ttm_bo_kmap. That's the whole job. kmap gives you a kernel map, kunmap takes it away β they're giving matched set energy, main character and their plus-one πβ¨
it's void, so it doesn't hand you back an error code or anything, it just does the thing. periodt.
π₯ SEE ALSO π₯
literally the whole friend group, go say hi π
ttm_move_memcpy(9)ttm_bo_move_memcpy(9)ttm_buffer_object_transfer(9)ttm_io_prot(9)ttm_bo_kmap_try_from_panic(9)ttm_bo_kmap(9)ttm_bo_vmap(9)ttm_bo_vunmap(9)ttm_bo_move_accel_cleanup(9)ttm_bo_move_sync_cleanup(9)ttm_bo_pipeline_gutting(9)ttm_lru_walk_for_evict(9)ttm_bo_lru_cursor_fini(9)ttm_bo_lru_cursor_init(9)ttm_bo_lru_cursor_next(9)ttm_bo_lru_cursor_first(9)ttm_bo_shrink(9)ttm_bo_shrink_suitable(9)ttm_bo_shrink_avoid_wait(9)
and if you wanna read the actual source (iconic behaviour honestly), it lives in the kernel file ./drivers/gpu/drm/ttm/ttm_bo_util.c π§
lowkey the whole point: mapped it? unmapped it. balance restored π
k byeeee, this page was brought to you by the fine folks at ./drivers/gpu/drm/ttm, dated October 2026, and it's ttm_bo_kunmap(9) signing off β mwah ππ
π¦ 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