'\" t .\" Title: lookup_one_len .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "LOOKUP_ONE_LEN" "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" lookup_one_len \- filesystem helper to lookup single pathname component .SH "SYNOPSIS" .HP \w'struct\ dentry\ *\ lookup_one_len('u .BI "struct dentry * lookup_one_len(const\ char\ *\ " "name" ", struct\ dentry\ *\ " "base" ", int\ " "len" ");" .SH "ARGUMENTS" .PP \fIname\fR .RS 4 pathname component to lookup .RE .PP \fIbase\fR .RS 4 base directory to lookup from .RE .PP \fIlen\fR .RS 4 maximum length \fIlen\fR should be interpreted to .RE .SH "DESCRIPTION" .PP Note that this routine is purely a helper for filesystem usage and should not be called by generic code\&. .PP The caller must hold base\->i_mutex\&. .SH "COPYRIGHT" .br