tot_avail_orphs(9)
bestie, welcome to tot_avail_orphs(9) from the Kernel API Manual β section 9, we are in the kernel API folder and the vibes are immaculate π
β¨
πΈ NAME πΈ
tot_avail_orphs β calculate total space. yes bestie, that is literally the assignment π«Ά
β¨ SYNOPSIS β¨
int tot_avail_orphs (struct ubifs_info *c );
π ARGUMENTS π
cβ UBIFS file-system description object. your UBIFS file-system description object, held close like an emotional support struct π
π« DESCRIPTION π«
okay so this function returns the number of orphans that can be written in half the total space. That leaves half the space for adding new orphans. it's giving "half for the current orphan situation, half for new orphans to join the party" π no cap.
π¦ SEE ALSO π¦
Kernel file ./fs/ubifs/orphan.c, plus these iconique references:
ubifs_add_orphan(9)ubifs_delete_orphan(9)ubifs_orphan_start_commit(9)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)
mwah π β this cutie came from the ./fs/ubifs source/version, dated October 2026, and its name is tot_avail_orphs(9). periodt π
π¦ 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