Scroll to navigation

D_HASH_AND_LOOKUP(9) The Linux VFS D_HASH_AND_LOOKUP(9)

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)

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11