layout_in_gaps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– layout_in_gaps β€” Kernel API Manual πŸ’–

okay so this is the layout_in_gaps(9) page from the Kernel API Manual, and bestie, it is very much giving β€œniche kernel function with main character energy.” Let’s get into it fr fr πŸ’…


🌸 NAME 🌸

layout_in_gaps β€” the in-the-gaps method of committing TNC, periodt.


✨ SYNOPSIS ✨

int layout_in_gaps (struct ubifs_info *c , int cnt );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object, iconic as always.
  • cnt β€” number of dirty znodes to commit. no cap, that’s the count.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function lays out new index nodes for dirty znodes using the in-the-gaps method of TNC commit. literally what it says on the tin, and the tin is very kernel-core πŸ’…

This function returns 0 on success and a negative error code on failure. the way that success is 0 and failure is a negative error code is very β€œiykyk” energy 😭✨


🌈 SEE ALSO 🌈

Kernel file: ./fs/ubifs/tnc_commit.c


β€” source/version ./fs/ubifs, dated October 2026; slay and goodbye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from