Lines Matching refs:mode
54 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode() argument
60 inode_init_owner(inode, dir, mode); in ramfs_get_inode()
65 switch (mode & S_IFMT) { in ramfs_get_inode()
67 init_special_inode(inode, mode, dev); in ramfs_get_inode()
93 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod() argument
95 struct inode * inode = ramfs_get_inode(dir->i_sb, dir, mode, dev); in ramfs_mknod()
107 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ramfs_mkdir() argument
109 int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir()
115 static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in ramfs_create() argument
117 return ramfs_mknod(dir, dentry, mode | S_IFREG, 0); in ramfs_create()
158 umode_t mode; member
182 opts->mode = RAMFS_DEFAULT_MODE; in ramfs_parse_options()
193 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
231 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()