is_empty(9)
π
is_empty(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally all about is_empty(9), and we're gonna get you comfy with it. no cap. π«Ά
β¨ NAME β¨
is_empty β determine whether a buffer is empty (contains all 0xff). it's giving "is this thing empty or not" energy, and honestly? iconic. π
πΈ SYNOPSIS πΈ
int is_empty (void *buf , int len );
π ARGUMENTS π
bufβ buffer to clean πlenβ length of buffer β¨
π¦ DESCRIPTION π¦
this function returns 1 if the buffer is empty (contains all 0xff) β otherwise 0 is returned. periodt. π
like, that's the whole vibe: empty buffer = 1, not empty buffer = 0. simple, clean, slay. π
π₯ SEE ALSO π₯
Kernel file ./fs/ubifs/recovery.c β and these related pages are all right here, bestie, every single one:
first_non_ff(9)get_master_node(9)write_rcvrd_mst_node(9)ubifs_recover_master_node(9)ubifs_write_rcvrd_mst_node(9)is_last_write(9)clean_buf(9)no_more_nodes(9)fix_unclean_leb(9)drop_last_group(9)drop_last_node(9)ubifs_recover_leb(9)get_cs_sqnum(9)ubifs_recover_log_leb(9)recover_head(9)ubifs_recover_inl_heads(9)clean_an_unclean_leb(9)ubifs_clean_lebs(9)grab_empty_leb(9)ubifs_rcvry_gc_commit(9)struct size_entry(9)add_ino(9)find_ino(9)remove_ino(9)ubifs_destroy_size_tree(9)ubifs_recover_size_accum(9)fix_size_in_place(9)inode_fix_size(9)ubifs_recover_size(9)
cute lil sign-off, bestie: this page comes from ./fs/ubifs, dated October 2026, and the footer title is is_empty(9) β make it fashion π
β¨π
π¦ 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