1LOOKUP_CREATE(9) The Linux VFS LOOKUP_CREATE(9)
23
4
NAME
6lookup_create - lookup a dentry, creating it if it doesn´t exist
7
SYNOPSIS
9struct dentry * lookup_create(struct nameidata * nd, int is_dir);
10
ARGUMENTS
12nd
13nameidata info
1415
is_dir
16directory flag
17
DESCRIPTION
19Simple function to lookup and return a dentry and create it if it
20doesn´t exist. Is SMP-safe.
2122
Returns with nd->path.dentry->d_inode->i_mutex locked.
23
COPYRIGHT
25Kernel Hackers Manual 2.6. June 2019 LOOKUP_CREATE(9)