ttm_bo_lru_cursor_fini(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ttm_bo_lru_cursor_fini(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's about ttm_bo_lru_cursor_fini(9) and honestly it's the "we're so done here" of the cursor lifecycle. no cap.


🌸 NAME 🌸

ttm_bo_lru_cursor_fini β€” stop using a struct ttm_bo_lru_cursor and clean up any iteration it was used for. that's it. that's the whole vibe. you used the cursor, now you're putting it to bed πŸ›Œβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

void ttm_bo_lru_cursor_fini (struct ttm_bo_lru_cursor *curs );

literally one function, void return, no drama. iconic behavior fr fr πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • curs β€” The cursor. πŸ‘€ that's the one. the struct ttm_bo_lru_cursor you've been iterating with. hand it over so it can be finished properly.

🌈 SEE ALSO 🌈

if you're the kind of girlie who likes the whole friend group, here's the squad 🫢 these all live in the kernel file ./drivers/gpu/drm/ttm/ttm_bo_util.c:

like, ttm_bo_lru_cursor_init(9) starts the whole thing and this one ends it β€” character development, honestly πŸ˜­πŸ‘‘


lowkey reminder: this is the cleanup step. no skipping, no leaving the cursor dangling, we are not that girl πŸš«πŸ’€

and that's the page, bestie!! 🌟 courtesy of the source tree at ./drivers/gpu/drm/ttm, dated October 2026, manual section 9. mwah πŸ’‹ stay hydrated and don't forget to fini your cursors πŸ’œπŸŽ€

πŸ“¦ where this page comes from