STRUCT TTM_PLACE(9)
π struct ttm_place(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're reading kernel headers for fun now, that's just who we are π this one's all about struct ttm_place, and honestly? it's giving little-map-that-could. tiny struct, huge main character energy β¨
πΈ NAME πΈ
struct ttm_place β literally the struct itself, no fancy tagline, it just is π«Ά
β¨ SYNOPSIS β¨
here's the whole glow-up, character for character, no cap:
struct ttm_place {
uint64_t fpfn;
uint64_t lpfn;
uint32_t mem_type;
uint32_t flags;
};
four fields. that's it. she's compact and she knows it π
π Members π
these are the girlies inside the struct, let's do introductions:
fpfnβ the first valid page frame number to put the object π like, the starting line, where the object is allowed to begin livinglpfnβ the last valid page frame number to put the object π¦ the finish line, the boundary, the "no further than this bestie"mem_typeβ one ofTTM_PL_*where the resource should be allocated from π so you're picking your memory neighborhood, iykykflagsβ the memory domain and caching flags for the object β the whole vibe settings panel, basically
ngl these are exactly the field names, spellings and types from the original βuint64_tfor bothfpfnandlpfn,uint32_tfor bothmem_typeandflags. don't come for me, I copied them on purpose π
π Description π
so what is it? bestie, it's a structure indicating a possible place to put an object β¨ that's the whole thing. one possible spot. a candidate location. she's not committing to anything, she's just saying "hey, this could work" π
π₯ SEE ALSO π₯
- Kernel file
./include/drm/ttm/ttm_placement.h struct ttm_placement(9)β the friend she always shows up with π
and that's the page!! sending you off with the cutest sign-off ever: this absolute icon lives in ./include/drm/ttm π¦, stamped October 2026 β, and it's part of the Kernel API Manual π β go forth and place your objects responsibly, ily, bye π
ππΈ
π¦ 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