'\" t .\" Title: d_alloc_pseudo .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "D_ALLOC_PSEUDO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" d_alloc_pseudo \- allocate a dentry (for lookup\-less filesystems) .SH "SYNOPSIS" .HP \w'struct\ dentry\ *\ d_alloc_pseudo('u .BI "struct dentry * d_alloc_pseudo(struct\ super_block\ *\ " "sb" ", const\ struct\ qstr\ *\ " "name" ");" .SH "ARGUMENTS" .PP \fIsb\fR .RS 4 the superblock .RE .PP \fIname\fR .RS 4 qstr of the name .RE .SH "DESCRIPTION" .PP For a filesystem that just pins its dentries in memory and never performs lookups at all, return an unhashed IS_ROOT dentry\&. .SH "COPYRIGHT" .br