1D_ALLOC(9)                       The Linux VFS                      D_ALLOC(9)
2
3
4

NAME

6       d_alloc - allocate a dcache entry
7

SYNOPSIS

9       struct dentry * d_alloc(struct dentry * parent,
10                               const struct qstr * name);
11

ARGUMENTS

13       parent
14           parent of entry to allocate
15
16       name
17           qstr of the name
18

DESCRIPTION

20       Allocates a dentry. It returns NULL if there is insufficient memory
21       available. On a success the dentry is returned. The name passed in is
22       copied and the copy passed in may be reused after this call.
23
25Kernel Hackers Manual 3.10         June 2019                        D_ALLOC(9)
Impressum