done_already(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… done_already(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” today's main character is done_already(9), and she's here to check if a reference has already been done. no cap. ✨

πŸŽ€ NAME πŸŽ€

done_already β€” determine if a reference has been done already.

✨ SYNOPSIS ✨

int done_already (struct rb_root *done_tree , int lnum );

🫢 ARGUMENTS 🫢

  • done_tree β€” rb-tree to store references that have been done. literally the done-refs tree, okay?
  • lnum β€” LEB number of reference. that's the LEB number, periodt.

🌸 DESCRIPTION 🌸

This function is the vibe check: it returns 1 if the reference has been done, 0 if not, otherwise a negative error code is returned. that's it, that's the whole tea. 🍡

🌈 SEE ALSO 🌈

Kernel file ./fs/ubifs/log.c says hi, and the whole squad is:


okay byeee 🫢 this page came from ./fs/ubifs, dated October 2026, and it's literally done_already(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from