Scroll to navigation

LOOKUP_ONE_LEN(9) The Linux VFS LOOKUP_ONE_LEN(9)

NAME

lookup_one_len - filesystem helper to lookup single pathname component

SYNOPSIS

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

ARGUMENTS

const char * name

pathname component to lookup

struct dentry * base

base directory to lookup from

int len

maximum length len should be interpreted to

DESCRIPTION

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

The caller must hold base->i_mutex.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11