Lines Matching refs:i_mode
65 result->i_mode |= S_IFDIR; in hpfs_mkdir()
72 result->i_mode &= ~0222; in hpfs_mkdir()
107 result->i_mode != (mode | S_IFDIR)) { in hpfs_mkdir()
110 result->i_mode = mode | S_IFDIR; in hpfs_mkdir()
161 result->i_mode |= S_IFREG; in hpfs_create()
162 result->i_mode &= ~0111; in hpfs_create()
173 result->i_mode &= ~0222; in hpfs_create()
196 result->i_mode != (mode | S_IFREG)) { in hpfs_create()
199 result->i_mode = mode | S_IFREG; in hpfs_create()
329 result->i_mode = S_IFLNK | 0777; in hpfs_symlink()
536 if (new_inode && S_ISDIR(new_inode->i_mode)) { in hpfs_rename()
592 if (S_ISDIR(i->i_mode)) { in hpfs_rename()