fscache_resize_cookie(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, so this is a page straight out of the Kernel API Manual and it's about fscache_resize_cookie β€” literally the glow-up button for the size of a cache object πŸŽ€ ngl, short page, but every word eats.


πŸ’… NAME πŸ’…

fscache_resize_cookie β€” Request that a cache object be resized

Like, you're formally asking the cache object to change its size. Polite request energy. πŸ¦‹


🌸 SYNOPSIS 🌸

void fscache_resize_cookie (struct fscache_cookie *cookie , loff_t
new_size );

Look at that signature, so clean, so iconic. Returns void β€” it gives nothing back, and honestly? Relatable. πŸ’€


🧚 ARGUMENTS 🧚

  • cookie β€” The cookie representing the cache object. Yes it's literally called a cookie, no we're not baking, it's the handle for your cache object πŸ“
  • new_size β€” The new size of the object (may be NULL). That's an loff_t, and yes the docs fr say it may be NULL, so that's exactly what we're telling you πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

Request that the size of an object be changed. That's it, that's the whole vibe β€” you're officially asking the cache to resize this object. ✨

For the full, no-crumbs-left description, go read Documentation/filesystems/caching/netfs-api.rst. The page says "a complete description" lives there, so go be a main character and read it πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./include/linux/fscache.h β€” and the whole friend group of related calls, because nobody does cache work alone 🫢:


and that's the whole page, bestie πŸ’œ sourced from ./include/linux, dated October 2026 β€” write it in your notes, iykyk πŸ“βœ¨

πŸ“¦ where this page comes from