Name

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

struct dentry * dir

Directory to search in

struct qstr * name

qstr of name we wish to find

Description

On lookup failure NULL is returned; on bad name - ERR_PTR(-error)