• Home
  • Raw
  • Download

Lines Matching refs:dentry

107 static struct dentry *securityfs_create_dentry(const char *name, umode_t mode,  in securityfs_create_dentry()
108 struct dentry *parent, void *data, in securityfs_create_dentry()
112 struct dentry *dentry; in securityfs_create_dentry() local
131 dentry = lookup_one_len2(name, mount, parent, strlen(name)); in securityfs_create_dentry()
132 if (IS_ERR(dentry)) in securityfs_create_dentry()
135 if (d_really_is_positive(dentry)) { in securityfs_create_dentry()
161 d_instantiate(dentry, inode); in securityfs_create_dentry()
162 dget(dentry); in securityfs_create_dentry()
164 return dentry; in securityfs_create_dentry()
167 dput(dentry); in securityfs_create_dentry()
168 dentry = ERR_PTR(error); in securityfs_create_dentry()
172 return dentry; in securityfs_create_dentry()
200 struct dentry *securityfs_create_file(const char *name, umode_t mode, in securityfs_create_file()
201 struct dentry *parent, void *data, in securityfs_create_file()
228 struct dentry *securityfs_create_dir(const char *name, struct dentry *parent) in securityfs_create_dir()
260 struct dentry *securityfs_create_symlink(const char *name, in securityfs_create_symlink()
261 struct dentry *parent, in securityfs_create_symlink()
265 struct dentry *dent; in securityfs_create_symlink()
295 void securityfs_remove(struct dentry *dentry) in securityfs_remove() argument
299 if (!dentry || IS_ERR(dentry)) in securityfs_remove()
302 dir = d_inode(dentry->d_parent); in securityfs_remove()
304 if (simple_positive(dentry)) { in securityfs_remove()
305 if (d_is_dir(dentry)) in securityfs_remove()
306 simple_rmdir(dir, dentry); in securityfs_remove()
308 simple_unlink(dir, dentry); in securityfs_remove()
309 dput(dentry); in securityfs_remove()
317 static struct dentry *lsm_dentry;