1D_ALLOC(9) The Linux VFS D_ALLOC(9)
23
4
NAME
6d_alloc - allocate a dcache entry
7
SYNOPSIS
9struct dentry * d_alloc(struct dentry * parent,
10const struct qstr * name);
11
ARGUMENTS
13parent
14parent of entry to allocate
1516
name
17qstr of the name
18
DESCRIPTION
20Allocates a dentry. It returns NULL if there is insufficient memory
21available. On a success the dentry is returned. The name passed in is
22copied and the copy passed in may be reused after this call.
23
COPYRIGHT
25Kernel Hackers Manual 3.10 June 2019 D_ALLOC(9)