.\" 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_ALLOC" "" "06 October 2005" "" ""
.SH NAME
d_alloc \- allocate a dcache entry
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct dentry * d_alloc (struct dentry * \fIparent\fB, const struct qstr * \fIname\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIparent\fB\fR
parent of entry to allocate
.TP
\fB\fIname\fB\fR
qstr of the name
.SH "DESCRIPTION"
.PP
Allocates a dentry. It returns NULL if there is insufficient memory
available. On a success the dentry is returned. The name passed in is
copied and the copy passed in may be reused after this call.