dentries
Dentries, short for directory entries, are kernel data structures used by the Linux VFS to represent a component of a pathname and to cache its mapping to an inode. They form part of the dcache, a locality-aware cache that speeds up file name lookup and path resolution by keeping recently accessed directory entries in memory. Each dentry corresponds to a single path component (for example, the "docs" in /home/user/docs) and links to its parent dentry, its inode (if the target exists), and any child dentries.
A dentry can be positive, meaning it has an associated inode, or negative, meaning the path component
Dentries interact with the VFS during name resolution, file creation, deletion, and renaming. They are used
Dentries are an internal, kernel-level optimization and are not part of user-space APIs. While they improve