Lines Matching refs:i_mode
1059 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode))
1080 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) {
1095 if (S_ISLNK(inode->i_mode) || S_ISDIR(inode->i_mode)) {
1143 inode->i_mode = sd_v1_mode(sd);
1188 inode->i_mode = sd_v2_mode(sd);
1201 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode))
1207 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))
1223 if (S_ISREG(inode->i_mode)) {
1227 } else if (S_ISDIR(inode->i_mode)) {
1230 } else if (S_ISLNK(inode->i_mode)) {
1236 init_special_inode(inode, inode->i_mode, new_decode_dev(rdev));
1246 set_sd_v2_mode(sd_v2, inode->i_mode);
1255 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode))
1269 set_sd_v1_mode(sd_v1, inode->i_mode);
1278 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode))
1817 if (S_ISLNK(inode->i_mode))