batadv_tvlv...er_list_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tvlv...er_list_size(9)

okay so this is a page from the Kernel API Manual and bestie, it's a tiny little function but she's important πŸ’– The full vibe name is batadv_tvlv...er_list_size(9) β€” yes the title is abbreviated like that, no that's not me being lazy, that's literally what the header says 🫢


✨ NAME ✨

batadv_tvlv_container_list_size β€” she calculates the size of the tvlv container list entries πŸŽ€

🌸 SYNOPSIS 🌸

size_t batadv_tvlv_container_list_size (struct batadv_priv *bat_priv );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bat_priv β€” the bat priv, aka the thing holding all the mesh interface information ✨ it's giving "main character data structure," iykyk

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea: you have to call this with the appropriate locks being acquired β€” specifically tvlv.container_list_lock. No cap, no exceptions πŸ™ˆ Don't just wander in there unlocked, that's not the vibe.

fr fr, lock tvlv.container_list_lock first or don't come crying to me 😭

πŸ“ RETURN πŸ“

The size of all currently registered tvlv containers β€” in bytes πŸ’… that's the whole answer, she said what she said.

⭐ SEE ALSO ⭐

Kernel file ./net/batman-adv/tvlv.c and the whole friend group:


okay that's the whole page, you ate that 🌈 this icon lives in ./net/batman-adv and the source/version date on her little footer is October 2026, page name batadv_tvlv...er_list_size(9) β€” mwah, periodt πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from