Scroll to navigation

LOOKUP_ONE_LEN_UNLOC(9) The Linux VFS LOOKUP_ONE_LEN_UNLOC(9)

NAME

lookup_one_len_unlocked - filesystem helper to lookup single pathname component

SYNOPSIS

struct dentry * lookup_one_len_unlocked(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.

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

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11