1D_ALLOC(9) The Linux VFS D_ALLOC(9)
2
3
4
6 d_alloc - allocate a dcache entry
7
9 struct dentry * d_alloc(struct dentry * parent,
10 const struct qstr * name);
11
13 parent
14 parent of entry to allocate
15
16 name
17 qstr of the name
18
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 2.6. November 2011 D_ALLOC(9)