ttm_backup_bytes_avail(9)
π ttm_backup_bytes_avail(9) β or, "how much backup room do we even have left??"
okay bestie, so this one's from the Kernel API Manual and it's a lil function page from the kernel's ttm_backup_bytes_avail(9) world β yes the section number is 9, she's a kernel-internals girlie, we respect her π«Ά
β¨ NAME β¨
ttm_backup_bytes_avail β reports the approximate number of bytes of backup space that's still left for backup. that's it, that's the whole job, and she does it slayfully π
πΈ SYNOPSIS πΈ
u64 ttm_backup_bytes_avail (void );
look at her, no args, just vibes and a u64 return β¨
π ARGUMENTS π
voidβ no arguments. literally nothing. she takes zero input and she's iconic for it π
π¦ DESCRIPTION π¦
so this function is also intended for driver use β as in, drivers can call her up to check whether a backup attempt is even meaningful. like, is it worth trying? is there actually room? she's your little reality check bestie π
ngl the word "approximate" is doing heavy lifting here β she's giving you a rough size, not a promise. don't be weird about it π
β RETURN β
she returns an approximate size of the backup space that's available. approximate!! did we mention approximate π (yes. yes we did.)
π SEE ALSO π
- kernel file
./drivers/gpu/drm/ttm/ttm_backup.c ttm_backup_drop(9)ttm_backup_copy_page(9)ttm_backup_backup_folio(9)ttm_backup_fini(9)ttm_backup_shmem_create(9)
and that's the whole page, bestie, no cap π this lil masterpiece lives over at ./drivers/gpu/drm/ttm and was dated October 2026 β so go forth, check your backup bytes, and remember: approximate is a lifestyle π§ββοΈβ¨π₯
π¦ 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