Lines Matching defs:mode
23 static int hpfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
49 if (!(mode & 0222)) dee.read_only = 1;
95 if (!(mode & 0222)) de->read_only = 1;
108 result->i_mode != (mode | S_IFDIR)) {
111 result->i_mode = mode | S_IFDIR;
131 static int hpfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl)
150 if (!(mode & 0222)) dee.read_only = 1;
197 result->i_mode != (mode | S_IFREG)) {
200 result->i_mode = mode | S_IFREG;
218 static int hpfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
237 if (!(mode & 0222)) dee.read_only = 1;
260 init_special_inode(result, mode, rdev);