avail_orphs(9)
hi bestie π welcome to the avail_orphs(9) page from the Kernel API Manual β we're doing kernel-space orphan math and honestly it's giving tiny-but-iconic β¨
πΈ NAME πΈ
avail_orphs β calculate available space. short, sweet, and to the point, no cap π
π SYNOPSIS π
int avail_orphs (struct ubifs_info *c );
π ARGUMENTS π
cβ UBIFS file-system description object. that's the context bestie, the whole file-system description situation π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea β: this function returns the number of orphans that can be written in the available space. literally the space math for orphan writes, and it's lowkey serving exactly what the name says π
π SEE ALSO π
Kernel file ./fs/ubifs/orphan.c β and the whole orphan.c squad is here too, bestie:
ubifs_add_orphan(9)ubifs_delete_orphan(9)ubifs_orphan_start_commit(9)tot_avail_orphs(9)do_write_orph_node(9)write_orph_node(9)write_orph_nodes(9)consolidate(9)commit_orphans(9)erase_deleted(9)ubifs_orphan_end_commit(9)ubifs_clear_orphans(9)do_kill_orphans(9)kill_orphans(9)ubifs_mount_orphans(9)
source/version: ./fs/ubifs Β· date: October 2026 β that's the avail_orphs(9) page, 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