1LOOKUP_ONE_LEN(9) The Linux VFS LOOKUP_ONE_LEN(9)
2
3
4
6 lookup_one_len - filesystem helper to lookup single pathname component
7
9 struct dentry * lookup_one_len(const char * name, struct dentry * base,
10 int len);
11
13 name
14 pathname component to lookup
15
16 base
17 base directory to lookup from
18
19 len
20 maximum length len should be interpreted to
21
23 Note that this routine is purely a helper for filesystem usage and
24 should not be called by generic code. Also note that by using this
25 function the nameidata argument is passed to the filesystem methods and
26 a filesystem using this helper needs to be prepared for that.
27
28 The caller must hold base->i_mutex.
29
31Kernel Hackers Manual 3.10 June 2019 LOOKUP_ONE_LEN(9)