ttm_resource_manager_used(9)
π ttm_resource_manager_used(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a lil function from the kernel docs, and honestly? it's giving "one-line wonder" energy. no notes. β¨
β¨ NAME β¨
ttm_resource_manager_used β and that's it, that's the whole name section π the original literally leaves the description blank, so we're not gonna make one up. no cap, nothing to see here. π«Ά
π¦ SYNOPSIS π¦
bool ttm_resource_manager_used (struct ttm_resource_manager *man );
look at her go. one function, one arg, returns a bool. short king behavior. π
π ARGUMENTS π
manβ the manager you're asking about, aka the one whose used state you wanna peek at. that's the whole assignment. π
πΈ DESCRIPTION πΈ
so what does it actually do? it gets the in-use flag for a manager. that's it. that's the vibe. you hand it a manager, it tells you whether that manager is marked as in use. simple, iconic, no drama. β¨
β RETURN β
trueβ it's used, periodt. π₯falseβ not used. π
π SEE ALSO π
the og page points you at the kernel file ./include/drm/ttm/ttm_resource.h β and then hits you with the whole friend group:
TTM_NUM_MOVE_FENCES(9)enum ttm_lru_item_type(9)struct ttm_lru_item(9)ttm_lru_item_init(9)struct ttm_resource_manager(9)struct ttm_bus_placement(9)struct ttm_resource(9)ttm_lru_item_to_res(9)struct ttm_lru_bulk_move_pos(9)struct ttm_lru_bulk_move(9)struct ttm_resource_cursor(9)struct ttm_kmap_iter_iomap(9)struct ttm_kmap_iter_linear_io(9)ttm_resource_manager_set_used(9)ttm_resource_manager_cleanup(9)ttm_resource_manager_for_each_res(9)
like, that's the whole group chat right there. go say hi. π«Ά
lowkey a reminder: this page is from the kernel docs, source lives at ./include/drm/ttm, and the manual it ships in is the Kernel API Manual, dated October 2026. π
okay bye bestie, go check your flags, 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