Lines Matching refs:i_mode
67 result->i_mode |= S_IFDIR; in hpfs_mkdir()
74 result->i_mode &= ~0222; in hpfs_mkdir()
109 result->i_mode != (mode | S_IFDIR)) { in hpfs_mkdir()
112 result->i_mode = mode | S_IFDIR; in hpfs_mkdir()
164 result->i_mode |= S_IFREG; in hpfs_create()
165 result->i_mode &= ~0111; in hpfs_create()
176 result->i_mode &= ~0222; in hpfs_create()
199 result->i_mode != (mode | S_IFREG)) { in hpfs_create()
202 result->i_mode = mode | S_IFREG; in hpfs_create()
334 result->i_mode = S_IFLNK | 0777; in hpfs_symlink()
544 if (new_inode && S_ISDIR(new_inode->i_mode)) { in hpfs_rename()
600 if (S_ISDIR(i->i_mode)) { in hpfs_rename()