nfsd_stats_d...em_usage_sub(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfsd_stats_d...em_usage_sub(9) β€” the Kernel API Manual page, bestie edition ✨

okay so picture this: you're deep in the kernel docs, the manual is literally called Kernel API Manual, and you stumble on a page with a name so long it got truncated β€” nfsd_stats_d...em_usage_sub(9). iconic honestly. anyway, let's get into it 🫢


✨ NAME ✨

nfsd_stats_drc_mem_usage_sub β€” bestie, this one does exactly one thing: it subtracts memory used by a cache item. that's it. that's the whole gig. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void nfsd_stats_drc_mem_usage_sub (struct nfsd_net *nn , s64 amount );

like, look at her. void return, two args, zero drama. she's giving functional. πŸŽ€


🌸 ARGUMENTS 🌸

  • nn β€” the target network namespace, i.e. the vibe check of which namespace we're subtracting from. 🌈
  • amount β€” the byte count. literally just how many bytes you're taking off the books. s64. no cap. πŸ“

πŸ’– DESCRIPTION πŸ’–

so here's the tea: this page says see nfsd_stats_drc_mem_usage_add for batching rationale. that's it, that's the description. the docs are being mysterious and honestly? main character energy of them. πŸ™ˆ

ngl, if you need the why behind the batching, you gotta go read nfsd_stats_drc_mem_usage_add β€” this page is not about to explain it twice. ✨

πŸ‘‘ SEE ALSO πŸ‘‘

okay the friend group is large and I love them all:


πŸ’€ reminder: the name up top really is truncated like that. nfsd_stats_d...em_usage_sub(9) is not me being lazy, it's literally what the page is filed under. iykyk.

🧚 a little sign-off πŸŽ€

this little love letter comes to you from ./fs/nfsd, dated October 2026, living its best life as page nfsd_stats_d...em_usage_sub(9) in the Kernel API Manual β€” go subtract those bytes responsibly, bestie, and slay πŸ’œβ­πŸ”₯

πŸ“¦ where this page comes from