nfs4_decode_dirent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a readdirplus entry πŸ‘‘

πŸ’… 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