other versions
- stretch 4.9.168-1
D_LOOKUP(9) | The Linux VFS | D_LOOKUP(9) |
NAME¶
d_lookup - search for a dentrySYNOPSIS¶
struct dentry * d_lookup(const struct dentry * parent, const struct qstr * name);
ARGUMENTS¶
parentparent dentry
name
qstr of name we wish to find
RETURN¶
dentry, or NULLd_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. NULL is returned if the dentry does not exist.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |