'\" t .\" Title: d_hash_and_lookup .\" 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_HASH_AND_LOOKUP" "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_hash_and_lookup \- hash the qstr then search for a dentry .SH "SYNOPSIS" .HP \w'struct\ dentry\ *\ d_hash_and_lookup('u .BI "struct dentry * d_hash_and_lookup(struct\ dentry\ *\ " "dir" ", struct\ qstr\ *\ " "name" ");" .SH "ARGUMENTS" .PP \fIdir\fR .RS 4 Directory to search in .RE .PP \fIname\fR .RS 4 qstr of name we wish to find .RE .SH "DESCRIPTION" .PP On lookup failure NULL is returned; on bad name \- ERR_PTR(\-error) .SH "COPYRIGHT" .br