Lines Matching refs:mode
226 u16 mode; in hfsplus_readdir() local
235 mode = be16_to_cpu(entry.file.permissions.mode); in hfsplus_readdir()
236 if (S_ISREG(mode)) in hfsplus_readdir()
238 else if (S_ISLNK(mode)) in hfsplus_readdir()
240 else if (S_ISFIFO(mode)) in hfsplus_readdir()
242 else if (S_ISCHR(mode)) in hfsplus_readdir()
244 else if (S_ISBLK(mode)) in hfsplus_readdir()
246 else if (S_ISSOCK(mode)) in hfsplus_readdir()
475 umode_t mode, dev_t rdev) in hfsplus_mknod() argument
482 inode = hfsplus_new_inode(dir->i_sb, mode); in hfsplus_mknod()
486 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
487 init_special_inode(inode, mode, rdev); in hfsplus_mknod()
515 static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hfsplus_create() argument
518 return hfsplus_mknod(dir, dentry, mode, 0); in hfsplus_create()
521 static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hfsplus_mkdir() argument
523 return hfsplus_mknod(dir, dentry, mode | S_IFDIR, 0); in hfsplus_mkdir()