dir_split_leaf(9)
π NAME π
okay bestie, welcome to dir_split_leaf(9) from the Kernel API Manual β this iconic little function is here to split a leaf block into two. no cap, thatβs the whole name vibe πβ¨
β¨ SYNOPSIS β¨
int dir_split_leaf (struct inode *inode , const struct qstr *name );
π ARGUMENTS π
inodeβ the directory inode thatβs getting split, bestie πnameβ the name of the dirent weβre trying to insert π¦
πΈ RETURN πΈ
0 on success, error code on failure. periodt π
π¦ SEE ALSO π¦
the Kernel file ./fs/gfs2/dir.c, plus these absolute icons:
gfs2_dir_write_data(9)gfs2_dir_read_data(9)gfs2_dir_get_hash_table(9)gfs2_dir_hash_inval(9)dirent_next(9)dirent_del(9)get_leaf_nr(9)dir_make_exhash(9)dir_double_exhash(9)compare_dents(9)do_filldir_main(9)gfs2_dir_readahead(9)dir_e_read(9)gfs2_dir_search(9)dir_new_leaf(9)gfs2_dir_add(9)gfs2_dir_del(9)gfs2_dir_mvino(9)leaf_dealloc(9)gfs2_dir_exhash_dealloc(9)gfs2_diradd_alloc_required(9)
mwah π this page lives under source/version ./fs/gfs2 and is dated October 2026 β slay, bye bestie π«Άπ
π¦ 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