validate_data_node(9)
π« validate_data_node(9) π«
okay bestie, welcome to the Kernel API Manual β yes we're in the kernel docs now, put your hair up, it's about to be that kind of function π
β¨ NAME β¨
validate_data_node β the vibe-checker for data nodes, specifically for bulk-read. she looks at your data node and is like "girl is this valid or not" π
πΈ SYNOPSIS πΈ
int validate_data_node (struct ubifs_info *c , void *buf , struct
ubifs_zbranch *zbr );
like literally that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
cβ the UBIFS file-system description object, your main character struct, the context bestie π§bufβ the buffer that's holding the data node we're about to validate, like the little container she lives in πzbrβ the zbranch of the data node we're validating, iykyk π
β DESCRIPTION β
so here's the tea: this function returns 0 on success, or a negative error code on failure. that's it. that's the whole description. short and iconic, periodt π
ngl this one keeps it mysterious β the manpage doesn't tell us how it validates, just that it does, and that you get 0 or a negative error code. respect the mystery π
π₯ SEE ALSO π₯
Kernel file ./fs/ubifs/tnc.c β and okay, this list is long, like a group chat with everyone in it, but every single one of them is invited bestie, no one gets left out π«Ά
insert_old_idx(9)insert_old_idx_znode(9)ins_clr_old_idx_znode(9)destroy_old_idx(9)copy_znode(9)add_idx_dirt(9)replace_znode(9)dirty_cow_znode(9)lnc_add(9)lnc_free(9)tnc_read_hashed_node(9)try_read_node(9)fallible_read_node(9)matches_name(9)get_znode(9)tnc_next(9)tnc_prev(9)resolve_collision(9)fallible_matches_name(9)fallible_resolve_collision(9)matches_position(9)resolve_collision_directly(9)dirty_cow_bottom_up(9)ubifs_lookup_level0(9)lookup_level0_dirty(9)maybe_leb_gced(9)ubifs_tnc_locate(9)ubifs_tnc_get_bu_keys(9)read_wbuf(9)ubifs_tnc_bulk_read(9)do_lookup_nm(9)ubifs_tnc_lookup_nm(9)ubifs_tnc_lookup_dh(9)correct_parent_keys(9)insert_zbranch(9)tnc_insert(9)ubifs_tnc_add(9)ubifs_tnc_replace(9)ubifs_tnc_add_nm(9)tnc_delete(9)ubifs_tnc_remove(9)ubifs_tnc_remove_nm(9)ubifs_tnc_remove_dh(9)key_in_range(9)ubifs_tnc_remove_range(9)ubifs_tnc_remove_ino(9)ubifs_tnc_next_ent(9)tnc_destroy_cnext(9)ubifs_tnc_close(9)left_znode(9)right_znode(9)lookup_znode(9)is_idx_node_in_tnc(9)is_leaf_node_in_tnc(9)ubifs_tnc_has_node(9)ubifs_dirty_idx_node(9)dbg_check_inode_size(9)
and that's the whole page bestie, hope it slayed for you π
kisses from ./fs/ubifs, dated ever so iconically October 2026 β see you in the next manpage, mwah πΈβ¨π
π¦ 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