netfs_i_cookie(9)
π netfs_i_cookie(9) π
okay so welcome to the Kernel API Manual, bestie β todayβs main character is netfs_i_cookie(9), and itβs literally the tiny helper that grabs a cache cookie from an inode. One job, zero drama. β¨
πΈ NAME πΈ
netfs_i_cookie β get the cache cookie from the inode πͺ
β¨ SYNOPSIS β¨
struct fscache_cookie * netfs_i_cookie (struct netfs_inode *ctx );
π«Ά ARGUMENTS π«Ά
ctxβ the netfs inode youβre querying, bestie πΈ
π DESCRIPTION π
So like, this function gets the caching cookie β but only if enabled β from the network filesystemβs inode. Thatβs the vibe: you hand it the netfs inode, and it gets the cache cookie from it. Periodt. π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/netfs.h folio_start_private_2(9)netfs_inode(9)netfs_read_remote_i_size(9)netfs_read_zero_point(9)netfs_read_sizes(9)netfs_inode_init(9)netfs_resize_file(9)netfs_wait_for_outstanding_io(9)
later bestie π β this one lives under ./include/linux, dated October 2026, and the page is netfs_i_cookie(9) β¨
π¦ 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