Lines Matching refs:i_mode
66 result->i_mode |= S_IFDIR; in hpfs_mkdir()
73 result->i_mode &= ~0222; in hpfs_mkdir()
108 result->i_mode != (mode | S_IFDIR)) { in hpfs_mkdir()
111 result->i_mode = mode | S_IFDIR; in hpfs_mkdir()
162 result->i_mode |= S_IFREG; in hpfs_create()
163 result->i_mode &= ~0111; in hpfs_create()
174 result->i_mode &= ~0222; in hpfs_create()
197 result->i_mode != (mode | S_IFREG)) { in hpfs_create()
200 result->i_mode = mode | S_IFREG; in hpfs_create()
330 result->i_mode = S_IFLNK | 0777; in hpfs_symlink()
540 if (new_inode && S_ISDIR(new_inode->i_mode)) { in hpfs_rename()
596 if (S_ISDIR(i->i_mode)) { in hpfs_rename()