Lines Matching refs:dentry
136 static int __oprofilefs_create_file(struct dentry *root, char const *name, in __oprofilefs_create_file()
139 struct dentry *dentry; in __oprofilefs_create_file() local
146 dentry = d_alloc_name(root, name); in __oprofilefs_create_file()
147 if (!dentry) { in __oprofilefs_create_file()
153 dput(dentry); in __oprofilefs_create_file()
159 d_add(dentry, inode); in __oprofilefs_create_file()
165 int oprofilefs_create_ulong(struct dentry *root, in oprofilefs_create_ulong()
173 int oprofilefs_create_ro_ulong(struct dentry *root, in oprofilefs_create_ro_ulong()
195 int oprofilefs_create_ro_atomic(struct dentry *root, in oprofilefs_create_ro_atomic()
203 int oprofilefs_create_file(struct dentry *root, in oprofilefs_create_file()
210 int oprofilefs_create_file_perm(struct dentry *root, in oprofilefs_create_file_perm()
217 struct dentry *oprofilefs_mkdir(struct dentry *parent, char const *name) in oprofilefs_mkdir()
219 struct dentry *dentry; in oprofilefs_mkdir() local
223 dentry = d_alloc_name(parent, name); in oprofilefs_mkdir()
224 if (!dentry) { in oprofilefs_mkdir()
230 dput(dentry); in oprofilefs_mkdir()
236 d_add(dentry, inode); in oprofilefs_mkdir()
238 return dentry; in oprofilefs_mkdir()