shrink_tnc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is shrink_tnc(9) β€” the kernel API manual page for shrink_tnc, aka the function that shrinks a TNC tree. slay. πŸ’…

✨ SYNOPSIS ✨

int shrink_tnc (struct ubifs_info *c , int nr , int age , int *contention );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” UBIFS file-system description object. literally the UBIFS context, bestie 🫢
  • nr β€” number of znodes to free.
  • age β€” the age of znodes to free.
  • contention β€” if any contention, this is set to 1. so if there’s contention, it flips to 1 ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

This function traverses the TNC tree and frees clean znodes. Important caveat: it does not free clean znodes which are younger then age β€” yes, β€œthen” is how the page says it, and the age rule still stands πŸ’€. It returns the number of freed znodes.

πŸ”₯ SEE ALSO πŸ”₯


cute sign-off bestie: source/version is ./fs/ubifs, date is October 2026, and the page is shrink_tnc(9) β€” periodt πŸŒˆπŸ’–

πŸ“¦ where this page comes from