ubifs_next_log_lnum(9)
π¦ ubifs_next_log_lnum(9) β the "next log LEB" bestie
okay so this is ubifs_next_log_lnum(9), a page from the Kernel API Manual, and ngl it's a tiny little helper with a big job π
β¨ NAME β¨
ubifs_next_log_lnum β switch to the next log LEB. that's it. that's the whole vibe π
πΈ SYNOPSIS πΈ
int ubifs_next_log_lnum (const struct ubifs_info *c , int lnum );
π ARGUMENTS π
cβ the UBIFS file-system description object π«Ά (yes, the whole file system's lil info struct, she's carrying everything)lnumβ the current log LEB, like the one you're standing on right now
π₯ DESCRIPTION π₯
so this helper function returns the log LEB number which goes next after LEB. that's the tea β literally, that's what it does β you hand her a log LEB, she tells you which one comes after it β¨
π SEE ALSO π
Kernel file ./fs/ubifs/misc.h, plus the whole friend group β go say hi π:
ubifs_zn_dirty(9)ubifs_zn_obsolete(9)ubifs_zn_cow(9)ubifs_wake_up_bgt(9)ubifs_tnc_find_child(9)ubifs_inode(9)ubifs_compr_present(9)ubifs_compr_name(9)ubifs_wbuf_sync(9)ubifs_encode_dev(9)ubifs_add_dirt(9)ubifs_return_leb(9)ubifs_idx_node_sz(9)ubifs_idx_branch(9)ubifs_idx_key(9)ubifs_tnc_lookup(9)ubifs_get_lprops(9)ubifs_release_lprops(9)
fr fr that's the entire page, bestie β short and iconic, no filler, we love a low-effort-high-impact queen ππ
anyway mwah, this came from ./fs/ubifs, dated October 2026, and it lives at ubifs_next_log_lnum(9) β go off, read the source, slay the kernel π§ββοΈπ·β
π¦ 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