pipapo_realloc_scratch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pipapo_realloc_scratch(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, we're fancy now πŸ‘‘ β€” and today's main character is pipapo_realloc_scratch. It lives in section 9, it's a kernel function, and it's lowkey doing the glow-up work of resizing the scratch space used for partial match results. no cap. πŸ¦‹


✨ NAME ✨

pipapo_realloc_scratch β€” literally reallocates the scratch maps for partial match results. that's it, that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

int pipapo_realloc_scratch (struct nft_pipapo_match *clone , unsigned
long bsize_max );

that's the whole signature, copied exactly, don't @ me πŸ’…


🫢 ARGUMENTS 🫢

  • clone β€” a copy of the matching data that's got pending insertions and deletions chilling in it. bestie's got unfinished business πŸ™ˆ
  • bsize_max β€” the maximum bucket size. heads up: the scratch maps cover two buckets, so plan accordingly πŸ’€

⭐ RETURN ⭐

  • 0 on success β€” slay, it worked ✨
  • -ENOMEM on failure β€” not enough memory, the classic 😭

🌈 SEE ALSO 🌈

it's giving "linked list of friends" honestly, here's everyone in the group chat:

like, that's the whole friend group, no one's left out πŸ’œ


and that's the page!! source/version is ./net/netfilter and it's dated October 2026 β€” periodt, we're from the future πŸ§šπŸ’– bye bestie, go realloc some scratch maps responsibly πŸŽ€

πŸ“¦ where this page comes from