Lines Matching refs:dentry
135 static int __oprofilefs_create_file(struct dentry *root, char const *name, in __oprofilefs_create_file()
138 struct dentry *dentry; in __oprofilefs_create_file() local
142 dentry = d_alloc_name(root, name); in __oprofilefs_create_file()
143 if (!dentry) { in __oprofilefs_create_file()
149 dput(dentry); in __oprofilefs_create_file()
155 d_add(dentry, inode); in __oprofilefs_create_file()
161 int oprofilefs_create_ulong(struct dentry *root, in oprofilefs_create_ulong()
169 int oprofilefs_create_ro_ulong(struct dentry *root, in oprofilefs_create_ro_ulong()
191 int oprofilefs_create_ro_atomic(struct dentry *root, in oprofilefs_create_ro_atomic()
199 int oprofilefs_create_file(struct dentry *root, in oprofilefs_create_file()
206 int oprofilefs_create_file_perm(struct dentry *root, in oprofilefs_create_file_perm()
213 struct dentry *oprofilefs_mkdir(struct dentry *parent, char const *name) in oprofilefs_mkdir()
215 struct dentry *dentry; in oprofilefs_mkdir() local
219 dentry = d_alloc_name(parent, name); in oprofilefs_mkdir()
220 if (!dentry) { in oprofilefs_mkdir()
226 dput(dentry); in oprofilefs_mkdir()
232 d_add(dentry, inode); in oprofilefs_mkdir()
234 return dentry; in oprofilefs_mkdir()
264 static struct dentry *oprofilefs_mount(struct file_system_type *fs_type, in oprofilefs_mount()