radix_tree_delete_item(9)
okay so bestie, this is radix_tree_delete_item from the Kernel API Manual β and it's literally here to help you delete an item from a radix tree π
β¨
πΈ NAME πΈ
radix_tree_delete_item β delete an item from a radix tree π
β¨ SYNOPSIS β¨
void * radix_tree_delete_item (struct radix_tree_root *root , unsigned
long index , void *item );
π ARGUMENTS π
rootβ radix tree root. the root of the tree you're working with, bestie.indexβ index key. the key/index you're pointing at.itemβ expected item. the exact item you expect to find there.
π¦ DESCRIPTION π¦
Remove item at index from the radix tree rooted at root. that's the whole mission, no cap π¦
π RETURN π
the deleted entry, or NULL if it was not present or the entry at the given index was not item. so if it's not there, or it's not the item you named, you get NULL β periodt π
π₯ SEE ALSO π₯
Kernel file ./lib/radix-tree.c β and here's the whole friend group, all of them:
radix_tree_find_next_bit(9)radix_tree_shrink(9)__radix_tree_create(9)radix_tree_insert(9)__radix_tree_lookup(9)radix_tree_lookup_slot(9)radix_tree_lookup(9)__radix_tree_replace(9)radix_tree_replace_slot(9)radix_tree_iter_replace(9)radix_tree_tag_set(9)radix_tree_tag_clear(9)radix_tree_iter_tag_clear(9)radix_tree_tag_get(9)radix_tree_next_chunk(9)radix_tree_gang_lookup(9)radix_tree_gang_lookup_tag(9)radix_tree_gang_lookup_tag_slot(9)radix_tree_iter_delete(9)radix_tree_delete(9)radix_tree_tagged(9)idr_preload(9)idr_destroy(9)
xoxo, your kernel bestie π β this page's source/version is ./lib, dated October 2026, and it's literally radix_tree_delete_item(9) approved π«Άβ¨
π¦ 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