ttm_kmap_iter_tt_init(9)
π ttm_kmap_iter_tt_init(9) β the kernel API manual, bestie edition π
okay so this is the page for ttm_kmap_iter_tt_init, straight out of the Kernel API Manual (section 9, iykyk). it's a short one and honestly she's iconic for it β¨
πΈ NAME πΈ
ttm_kmap_iter_tt_init β literally just initialize a struct ttm_kmap_iter_tt π«Ά that's the whole job. that's the assignment.
β¨ SYNOPSIS β¨
struct ttm_kmap_iter * ttm_kmap_iter_tt_init (struct ttm_kmap_iter_tt
*iter_tt , struct ttm_tt *tt );
no cap, that's the exact signature β copy it character for character or she will not compile π
π¦ ARGUMENTS π¦
iter_ttβ thestruct ttm_kmap_iter_ttyou're initializing bestie π this is the one getting the glow-up.ttβ astruct ttm_ttthat's holding the page pointers of thestruct ttm_resource. she's carrying the pages, she's main character energy π
β RETURN β
you get back a pointer to the embedded struct ttm_kmap_iter π so like... it's embedded, and you get the pointer to it. periodt.
π SEE ALSO π
go look at the kernel file ./drivers/gpu/drm/ttm/ttm_tt.c and also these three besties, they're all in the group chat together:
π«Ά friendly reminder: all the flags, args and function names above are verbatim β do not "fix" them, do not rename them, the kernel does not accept vibes-based refactors π
and that's the page!! π this one lives down in ./drivers/gpu/drm/ttm, dated October 2026, under the very cute name ttm_kmap_iter_tt_init(9) β mwah, go forth and initialize your iterators πΈπ
π
π¦ 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