nfs4_decode_dirent(9)
π nfs4_decode_dirent π
okay so bestie, welcome to the nfs4_decode_dirent(9) manual page β this is the iconic little kernel function that decodes a single NFSv4 directory entry stored in the local page cache β¨
πΈ NAME πΈ
nfs4_decode_dirent β decode a single NFSv4 directory entry stored in the local page cache π«Ά
π¦ SYNOPSIS π¦
int nfs4_decode_dirent (struct xdr_stream *xdr , struct nfs_entry *entry , bool plus );
π ARGUMENTS π
xdrβ the XDR stream where the entry resides π«entryβ the buffer to fill in with entry data π§Ίplusβ a boolean indicating whether this should be areaddirplusentry π
π DESCRIPTION π
Returns zero if successful, otherwise a negative errno value is returned. periodt π
This function is not invoked during READDIR reply decoding β no cap β but rather whenever an application invokes the getdents(2) system call on a directory already in our cache. itβs giving βcache girlieβ energy fr fr π
π₯ SEE ALSO π₯
- Kernel file
./fs/nfs/nfs4xdr.cπ
mwah π this page is from source/version ./fs/nfs, dated October 2026, and itβs the nfs4_decode_dirent(9) manual page β bye bestie, go decode those dirents slayfully ππ«Ά
π¦ 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