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

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

June 2024 Kernel Hackers Manual 3.10