D_HASH_AND_LOOKUP(9) The Linux VFS D_HASH_AND_LOOKUP(9)NAMEd_hash_and_lookup - hash the qstr then search for a dentrySYNOPSISstruct dentry * d_hash_and_lookup(struct dentry * dir, struct qstr * name);ARGUMENTSdir Directory to search in name qstr of name we wish to findDESCRIPTIONOn lookup failure NULL is returned; on bad name - ERR_PTR(-error)COPYRIGHTKernel Hackers Manual 3.10 June 2014 D_HASH_AND_LOOKUP(9)