batadv_hash_new(9)
batadv_hash_new(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual β this is the page for batadv_hash_new, and itβs literally the βallocate and clear a hashtableβ function. itβs giving foundational, no cap β¨
πΈ NAME πΈ
batadv_hash_new β Allocates and clears the hashtable π
β¨ SYNOPSIS β¨
struct batadv_hashtable * batadv_hash_new (u32 size );
π ARGUMENTS π
sizeβ number of hash buckets to allocate πͺ£ β thatβs the bucket count, bestie, fr fr.
π RETURN π
newly allocated hashtable, NULL on errors π β so like, you get the fresh new hashtable, or NULL if it goes sideways.
π¦ SEE ALSO π¦
Kernel file ./net/batman-adv/hash.c β plus these iconic besties: batadv_hash_init(9), batadv_hash_destroy(9), batadv_hash_set_lock_class(9) π«Άβ¨
mwah π β source/version is ./net/batman-adv, dated October 2026, page batadv_hash_new(9).
π¦ 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