ttm_tt_backup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to ttm_tt_backup(9) from the Kernel API Manual β€” this is the page for ttm_tt_backup, the helper that backs up a struct ttm_tt. That’s the whole name moment. ✨

πŸŽ€ SYNOPSIS πŸŽ€

long ttm_tt_backup (struct ttm_device *bdev , struct ttm_tt *tt , const
       struct ttm_backup_flags flags );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bdev β€” the TTM device. 🫢
  • tt β€” the struct ttm_tt. πŸŽ€
  • flags β€” flags that govern the backup behaviour. πŸ‘‘

✨ DESCRIPTION ✨

okay so here’s the job: it updates the page accounting and calls ttm_pool_shrink_tt to free pages or back them up. That’s the tea. πŸ’…

πŸ”₯ RETURN πŸ”₯

It returns the number of pages freed or swapped out β€” or a negative error code on error. So yeah, negative means error vibes, bestie. 😭

🌈 SEE ALSO 🌈

the whole crew:


🧚 cute lil sign-off: source/version ./drivers/gpu/drm/ttm Β· date October 2026 Β· page ttm_tt_backup(9) β€” mwah πŸ’–
πŸ“¦ where this page comes from