lookup_one_len_unlocked(9)

lookup_one_len_unlocked9

Filesystem helper to lookup single pathname component

Usage

struct dentry * lookup_one_len_unlocked(const char * name, struct dentry * base, int len);

Arguments

name

pathname component to lookup

base

base directory to lookup from

len

maximum length len should be interpreted to

Overview

Note that this routine is purely a helper for filesystem usage and should not be called by generic code.

Unlike lookup_one_len, it should be called without the parent i_mutex held, and will take the i_mutex itself if necessary.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.