d_hash_and_lookup(9) 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)

COPYRIGHT