ubifs_get_wbuf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so ubifs_get_wbuf(9) β€” manual name is Kernel API Manual, hiii β€” is literally just: get the wbuf associated with a LEB, if there is one. That's the whole vibe. πŸ’…

✨ SYNOPSIS ✨

struct ubifs_wbuf * ubifs_get_wbuf (struct ubifs_info *c , int lnum );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” the UBIFS file-system description object. Your whole filesystem situation, basically. 🫢
  • lnum β€” the logical eraseblock number to search. Give it the LEB number and let it look. πŸ”Ž

πŸ¦‹ DESCRIPTION πŸ¦‹

This function returns the wbuf for lnum, or NULL if there is not one. That's it. No cap, no extra drama β€” either it finds the matching wbuf and hands it over, or you get NULL. ✨

🌈 SEE ALSO 🌈

Kernel file ./fs/ubifs/log.c, plus the whole crew: ubifs_search_bud(9), empty_log_bytes(9), ubifs_add_bud(9), ubifs_add_bud_to_log(9), remove_buds(9), ubifs_log_start_commit(9), ubifs_log_end_commit(9), ubifs_log_post_commit(9), struct done_ref(9), done_already(9), destroy_done_tree(9), add_node(9), ubifs_consolidate_log(9), dbg_check_bud_bytes(9). Go say hi. πŸ‘‹πŸ’–


That's the page, bestie πŸŽ€ β€” it lives in ./fs/ubifs, dated October 2026, from the Kernel API Manual. Mwah πŸ’‹

πŸ“¦ where this page comes from