Lines Matching refs:statb
52 struct stat statb; in devid_get() local
55 if (fstat(fd, &statb) != 0) in devid_get()
59 if (!S_ISCHR(statb.st_mode) && !S_ISBLK(statb.st_mode)) in devid_get()
63 dev = statb.st_rdev; in devid_get()
92 struct stat statb; in devid_get_minor_name() local
94 if (fstat(fd, &statb) != 0) in devid_get_minor_name()
98 if (!S_ISCHR(statb.st_mode) && !S_ISBLK(statb.st_mode)) in devid_get_minor_name()
101 spectype = statb.st_mode & S_IFMT; in devid_get_minor_name()
102 dev = statb.st_rdev; in devid_get_minor_name()
134 struct stat statb; in nmlist_add() local
139 if ((stat(path, &statb) == 0) && in nmlist_add()
140 (S_ISCHR(statb.st_mode) || S_ISBLK(statb.st_mode))) in nmlist_add()
141 dev = statb.st_rdev; in nmlist_add()