rhashtable_..._insert_fast(9)
β¨ NAME β¨
okay bestie, welcome to the Kernel API Manual page for rhashtable_..._insert_fast(9) β the page header tag is a little feral, but the actual NAME line is rhashtable_lookup_insert_fast - lookup and insert object into hash table. slay.
π«Ά SYNOPSIS π«Ά
int rhashtable_lookup_insert_fast (struct rhashtable *ht , struct
rhash_head *obj , const struct rhashtable_params params );
πΈ ARGUMENTS πΈ
htβ hash table. your main character table πobjβ pointer to hash head inside object. literally the pointer to the hash head inside the object β¨paramsβ hash table parameters. the params, iconic.
π DESCRIPTION π
β οΈ caveat first, bestie: this lookup function may only be used for fixed key hash table (key_len parameter set). It will BUG if used inappropriately. no cap, don't do that.
It is safe to call this function from atomic context. fr fr.
Will trigger an automatic deferred table resizing if residency in the table grows beyond 70%. the table said "we're expanding" π
π SEE ALSO π
also peep the Kernel file ./include/linux/rhashtable.h β and then these linked entries, no skips, periodt:
struct bucket_table(9)rht_grow_above_75(9)rht_shrink_below_30(9)rht_grow_above_100(9)rht_grow_above_max(9)rht_for_each_from(9)rht_for_each(9)rht_for_each_entry_from(9)rht_for_each_entry(9)rht_for_each_entry_safe(9)rht_for_each_rcu_from(9)rht_for_each_rcu(9)rht_for_each_entry_rcu_from(9)rht_for_each_entry_rcu(9)rhl_for_each_rcu(9)rhl_for_each_entry_rcu(9)rhashtable_lookup(9)rhashtable_lookup_fast(9)rhltable_lookup(9)rhashtable_insert_fast(9)rhltable_insert_key(9)rhltable_insert(9)rhashtable_lookup_get_insert_fast(9)rhashtable_lookup_insert_key(9)rhashtable_lookup_get_insert_key(9)rhashtable_remove_fast(9)rhltable_remove(9)rhashtable_replace_fast(9)rhltable_walk_enter(9)rhltable_free_and_destroy(9)
source/version vibes come from ./include/linux, dated October 2026, and the page tag is rhashtable_..._insert_fast(9). k bye bestie, go read your kernel headers and hydrate π§π
π¦ 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