svc_stat_free_counts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

Okay bestie, welcome to the Kernel API Manual, section 9 β€” the little corner of the man-verse where kernel devs hang out. Today's main character is svc_stat_free_counts(9), and what it does is literally this:

svc_stat_free_counts β€” free per-netns per-version call count arrays 🧹✨

That's it. That's the whole job. It frees the per-netns per-version call count arrays, no cap.


✨ SYNOPSIS ✨

void svc_stat_free_counts (struct svc_stat *statp );

Yep, that's the whole signature β€” returns void, so nothing comes back to you, it just does the thing and dips. πŸ’¨


πŸŽ€ ARGUMENTS πŸŽ€

  • statp β€” the svc_stat whose vs_count arrays should be freed 🫢

One argument, one job. You hand it the svc_stat, it goes and frees those vs_count arrays. Iconic, honestly.


🌈 SEE ALSO 🌈

Bestie you are not ready for this friend group β€” the whole sunrpc squad lives in the kernel file ./net/sunrpc/svc.c, and here's the full roll call:

Lowkey a whole friend group chat of syscalls-adjacent besties. Go say hi. πŸ’–

Also worth noting: svc_stat_alloc_counts(9) is right there in the list, so like… allocation and freeing are giving matched-set energy. Slay. πŸ¦‹

And that's the vibe check, bestie β€” this page came to you straight out of ./net/sunrpc, dated October 2026, and the page itself is svc_stat_free_counts(9). Periodt. πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from