Lines Matching refs:name
71 .name = "securityfs",
79 * @name: a pointer to a string containing the name of the file to create.
107 static struct dentry *securityfs_create_dentry(const char *name, umode_t mode,
119 pr_debug("securityfs: creating file '%s'\n",name);
131 dentry = lookup_one_len(name, parent, strlen(name));
178 * @name: a pointer to a string containing the name of the file to create.
189 * This function creates a file in securityfs with the given @name.
200 struct dentry *securityfs_create_file(const char *name, umode_t mode,
204 return securityfs_create_dentry(name, mode, parent, data, fops, NULL);
211 * @name: a pointer to a string containing the name of the directory to
217 * This function creates a directory in securityfs with the given @name.
228 struct dentry *securityfs_create_dir(const char *name, struct dentry *parent)
230 return securityfs_create_file(name, S_IFDIR | 0755, parent, NULL, NULL);
237 * @name: a pointer to a string containing the name of the symlink to
242 * @target: a pointer to a string containing the name of the symlink's target.
249 * This function creates a symlink in securityfs with the given @name.
260 struct dentry *securityfs_create_symlink(const char *name,
273 dent = securityfs_create_dentry(name, S_IFLNK | 0444, parent,