ns_tree_node_empty(9)
π ns_tree_node_empty β a Kernel API Manual moment
ok so bestie, welcome to the Kernel API Manual entry for ns_tree_node_empty β it's a 9-section page (well, section 9, the kernel API one, you get it π) and honestly it's short and iconic and we love that for it.
β¨ NAME β¨
ns_tree_node_empty β the little function that checks whether a namespace tree node is empty π
πΈ SYNOPSIS πΈ
bool ns_tree_node_empty (const struct ns_tree_node *node );
like, that's the whole thing. no notes. ate. π
π¦ ARGUMENTS π¦
nodeβ the node you're checking, bestie. that's the one. that's the node. π«Ά
β DESCRIPTION β
ok so here's the whole vibe: it returns true if the node is not in any tree. yes, that's the entire description and no we are not elaborating, the manpage said what it said π
lowkey obsessed with how short this is. no cap, it's giving "I said what I said" energy.
π§ SEE ALSO π§
./kernel/nstree.cβ the source file where all this lives πns_tree_node_init(9)β go set a node up first, babens_tree_root_init(9)β and the root toons_tree_node_add(9)β put a node in a treens_tree_node_del(9)β take it back out__ns_tree_adjoined_rcu(9)β the double-underscore rcu one, iykyk__ns_tree_gen_id(9)β and the id generator π
aaaand that's the page! no errors, no exit statuses, no env vars, no bugs section β just pure, unbothered, minimal energy πΈ
sign-off szn: this one's from ./kernel, dated October 2026, and it's literally titled ns_tree_node_empty(9) in case you forgot already π mwah, go check those nodes 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