fscache_unuse_cookie(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this page is from the Kernel API Manual, and it’s literally all about letting go of a cookie β€” not the snack kind, the cache-object kind. πŸ’…

πŸ’– NAME πŸ’–

fscache_unuse_cookie β€” cease usage of cookie attached to an object

✨ SYNOPSIS ✨

void fscache_unuse_cookie (struct fscache_cookie *cookie , const void
       *aux_data , const loff_t *object_size );

🫢 ARGUMENTS 🫢

  • cookie β€” the cookie representing the cache object. yes, the main character. πŸͺ
  • aux_data β€” updated auxiliary data (or NULL). so it can be fresh info, or literally nothing. πŸ™ˆ
  • object_size β€” revised size of the object (or NULL). new size? cool. no size? also valid. ✨

🌸 DESCRIPTION 🌸

Cease usage of the cookie attached to an object. that’s the whole vibe: usage of the cookie stops here. πŸ’–

When the users count reaches zero, then the cookie relinquishment will be permitted to proceed. so like, once nobody’s using it anymore, the relinquish can finally happen. no cap, that’s the important bit. πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./include/linux/fscache.h, plus the whole friend group: fscache_acquire_volume(9), fscache_relinquish_volume(9), fscache_acquire_cookie(9), fscache_use_cookie(9), fscache_relinquish_cookie(9), fscache_update_cookie(9), fscache_resize_cookie(9), fscache_invalidate(9), fscache_operation_valid(9), fscache_begin_read_operation(9), fscache_end_operation(9), fscache_read(9), fscache_begin_write_operation(9), fscache_write(9), fscache_clear_page_bits(9), fscache_write_to_cache(9), fscache_note_page_release(9).


Signing off from the source path ./include/linux, dated October 2026 β€” mwah, bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from