batadv_hash_destroy(9)
π batadv_hash_destroy(9) π
okay so bestie, welcome to the Kernel API Manual page for batadv_hash_destroy β yes she's a kernel function, yes she's iconic, and yes we're gonna get into it. π
β¨ NAME β¨
batadv_hash_destroy β free only the hashtable and the hash itself
like, that's the whole job. she's not out here freeing your whole life, just those two things. no cap. π
πΈ SYNOPSIS πΈ
void batadv_hash_destroy (struct batadv_hashtable *hash );
so she takes exactly one (1) argument and returns void β meaning she gives you nothing back, she just does her thing and leaves. main character energy honestly. π¦
π ARGUMENTS π
hashβ the hash object you want to destroy. that's it. that's the girl. hand her the hashtable and she'll take care of the freeing, periodt. π
π«Ά SEE ALSO π«Ά
- Kernel file
./net/batman-adv/hash.c batadv_hash_init(9)batadv_hash_new(9)batadv_hash_set_lock_class(9)
iykyk β if you're poking around this function you're highkey gonna want the init and new friends too. go read them, bestie. πβ¨
and that's the vibe check, bestie! this page is from ./net/batman-adv, dated October 2026. stay slay, stay safe, and remember: only the hashtable and the hash get freed. mwah! πππ
π¦ 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