Lines Matching refs:statb
87 struct stat statb;
93 if (stat("/", &statb) < 0)
95 rootdev = statb.st_dev;
100 if (stat(devstr, &statb) < 0) {
111 if ((statb.st_mode & S_IFMT) == S_IFDIR) {
117 if ((statb.st_mode & S_IFMT) == S_IFBLK) {
118 if (rootdev == statb.st_rdev)
120 else if (ustat(statb.st_rdev, &ustatb) == 0) {
127 if ((statb.st_mode & S_IFMT) == S_IFDIR) {
159 } else if (((statb.st_mode & S_IFMT) != S_IFBLK) &&
160 ((statb.st_mode & S_IFMT) != S_IFCHR)) {
193 if (stat(unrawname(blockname), &statb) < 0) {
199 if (rootdev == statb.st_rdev)