Lines Matching defs:mode
12 * device, owned by root and have a default mode of 0600. Subsystems
72 static int dev_mkdir(const char *name, mode_t mode)
85 err = vfs_mkdir(nd.path.dentry->d_inode, dentry, mode);
139 mode_t mode = 0;
147 nodename = device_get_devnode(dev, &mode, &tmp);
151 if (mode == 0)
152 mode = 0600;
154 mode |= S_IFBLK;
156 mode |= S_IFCHR;
173 dentry, mode, dev->devt);
177 /* fixup possibly umasked mode */
178 newattrs.ia_mode = mode;
268 if (!S_ISBLK(stat->mode))
271 if (!S_ISCHR(stat->mode))
318 newattrs.ia_mode = stat.mode & ~0777;
377 char *options = "mode=0755";