Lines Matching defs:mode
190 u16 mode;
192 mode = be16_to_cpu(perms->mode);
195 if ((test_bit(HFSPLUS_SB_UID, &sbi->flags)) || (!i_uid_read(inode) && !mode))
199 if ((test_bit(HFSPLUS_SB_GID, &sbi->flags)) || (!i_gid_read(inode) && !mode))
203 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask));
204 mode |= S_IFDIR;
205 } else if (!mode)
206 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask));
207 inode->i_mode = mode;
383 umode_t mode)
393 inode_init_owner(&nop_mnt_idmap, inode, dir, mode);