1D_LOOKUP(9)                      The Linux VFS                     D_LOOKUP(9)
2
3
4

NAME

6       d_lookup - search for a dentry
7

SYNOPSIS

9       struct dentry * d_lookup(const struct dentry * parent,
10                                const struct qstr * name);
11

ARGUMENTS

13       parent
14           parent dentry
15
16       name
17           qstr of name we wish to find
18

RETURNS

20       dentry, or NULL
21
22       d_lookup searches the children of the parent dentry for the name in
23       question. If the dentry is found its reference count is incremented and
24       the dentry is returned. The caller must use dput to free the entry when
25       it has finished using it.  NULL is returned if the dentry does not
26       exist.
27
29Kernel Hackers Manual 3.10         June 2019                       D_LOOKUP(9)
Impressum