d_hash_and_lookup(9)

d_hash_and_lookup9

Hash the qstr then search for a dentry

Usage

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

Overview

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

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.