Chapter 15. Directory-entry (dentry) Tapset
This family of functions is used to map kernel VFS directory entry pointers to file or full path names.
Name
function::d_name — get the dirent name
Synopsis
function d_name:string(dentry:long)
Arguments
dentry
Pointer to dentry.
Description
Returns the dirent name (path basename).
Name
function::reverse_path_walk — get the full dirent path
Synopsis
function reverse_path_walk:string(dentry:long)
Arguments
dentry
Pointer to dentry.
Description
Returns the path name (partial path to mount point).
Name
function::task_dentry_path — get the full dentry path
Synopsis
function task_dentry_path:string(task:long,dentry:long,vfsmnt:long)
Arguments
task
task_struct pointer.
dentry
direntry pointer.
vfsmnt
vfsmnt pointer.
Description
Returns the full dirent name (full path to the root), like the kernel d_path function.
Name
function::d_path — get the full nameidata path
Synopsis
function d_path:string(nd:long)
Description
Returns the full dirent name (full path to the root), like the kernel d_path function.