nfsd_reply_cache_count(9)
π nfsd_reply_cache_count(9) π
okay so bestie, this page is straight out of the Kernel API Manual, and itβs serving the count_objects method for the DRC shrinker. no cap, thatβs the whole vibe.
π NAME π
nfsd_reply_cache_count β count_objects method for the DRC shrinker
β¨ SYNOPSIS β¨
unsigned long nfsd_reply_cache_count (struct shrinker *shrink , struct
shrink_control *sc );
π«Ά ARGUMENTS π«Ά
shrinkβ our registered shrinker context, slay.scβ garbage collection parameters.
πΈ DESCRIPTION πΈ
It returns the total number of entries in the duplicate reply cache. To keep things simple and quick, this is not the number of expired entries in the cache (ie, the number that would be removed by a call to nfsd_reply_cache_scan). So like, donβt @ it for not being the expired count β thatβs literally a different functionβs job.
π₯ SEE ALSO π₯
Kernel file ./fs/nfsd/nfscache.c β and go peek at nfsd_reply_cache_scan(9), nfsd_cache_csum(9), nfsd_cache_lookup(9), and nfsd_cache_update(9) too, iykyk.
cute sign-off time: this one comes from ./fs/nfsd, dated October 2026, and itβs nfsd_reply_cache_count(9). πβ¨ periodt.
π¦ 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