.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "__D_PATH" "9" "09 October 2005" "" ""
.SH NAME
__d_path \- return the path of a dentry
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
char * __d_path (struct dentry * \fIdentry\fB, struct vfsmount * \fIvfsmnt\fB, struct dentry * \fIroot\fB, struct vfsmount * \fIrootmnt\fB, char * \fIbuffer\fB, int \fIbuflen\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdentry\fB\fR
dentry to report
.TP
\fB\fIvfsmnt\fB\fR
vfsmnt to which the dentry belongs
.TP
\fB\fIroot\fB\fR
root dentry
.TP
\fB\fIrootmnt\fB\fR
vfsmnt to which the root dentry belongs
.TP
\fB\fIbuffer\fB\fR
buffer to return value in
.TP
\fB\fIbuflen\fB\fR
buffer length
.SH "DESCRIPTION"
.PP
Convert a dentry into an ASCII path name. If the entry has been deleted
the string `` (deleted)'' is appended. Note that this is ambiguous.
.PP
Returns the buffer or an error code if the path was too long.
.PP
``buflen'' should be positive. Caller holds the dcache_lock.