Home
last modified time | relevance | path

Searched refs:stbd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c306 struct stat stbd, stbr; in check_sanity() local
315 if (stat(filename, &stbd) < 0) { in check_sanity()
322 if ((stbd.st_mode & S_IFMT) == S_IFBLK) in check_sanity()
324 else if ((stbd.st_mode & S_IFMT) == S_IFCHR) in check_sanity()
348 if (stbr.st_rdev == stbd.st_rdev) in check_sanity()
357 if (stbr.st_rdev == stbd.st_rdev) in check_sanity()
367 if (is_root == 0 && is_usr == 0 && ustat(stbd.st_rdev, &usb) == 0) { in check_sanity()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c722 struct stat64 stbd, stbr; in check_sanity() local
737 if (stat64(filename, &stbd) < 0) { in check_sanity()
743 if (S_ISBLK(stbd.st_mode)) { in check_sanity()
745 } else if (S_ISCHR(stbd.st_mode)) { in check_sanity()
747 } else if (S_ISREG(stbd.st_mode)) { in check_sanity()
767 if (stbr.st_rdev == stbd.st_rdev) { in check_sanity()
782 if (!is_magic && (ustat(stbd.st_rdev, &usb) == 0)) { in check_sanity()