Searched refs:dev_statp (Results 1 – 1 of 1) sorted by relevance
194 check_file_type(int dev_fd, struct stat * dev_statp, bool * is_bsg_p, in check_file_type() argument207 if (fstat(dev_fd, dev_statp) < 0) { in check_file_type()214 major_num = (int)SG_DEV_MAJOR(dev_statp->st_rdev); in check_file_type()215 if (S_ISCHR(dev_statp->st_mode)) { in check_file_type()222 } else if (S_ISBLK(dev_statp->st_mode)) { in check_file_type()