d_hash_and_lookup (9) Linux Manual Page
d_hash_and_lookup – hash the qstr then search for a dentry
Synopsis
struct dentry *d_hash_and_lookup(struct dentry *dir, struct qstr *name);
Arguments
dir
-
- Directory to search in
name
- qstr of name we wish to find
Description
On lookup failure NULL is returned; on bad name – ERR_PTR(-error)
