lookup_one_len(9)
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
name
- pathname component to lookup
base
- base directory to lookup from
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.