Lines Matching defs:mode
80 * @mode: the permission that the file should have
107 static struct dentry *securityfs_create_dentry(const char *name, umode_t mode,
116 if (!(mode & S_IFMT))
117 mode = (mode & S_IALLUGO) | S_IFREG;
147 inode->i_mode = mode;
150 if (S_ISDIR(mode)) {
155 } else if (S_ISLNK(mode)) {
179 * @mode: the permission that the file should have
200 struct dentry *securityfs_create_file(const char *name, umode_t mode,
204 return securityfs_create_dentry(name, mode, parent, data, fops, NULL);