Lines Matching refs:stat
32 #include <sys/stat.h>
47 struct stat st_buf;
57 if (stat(file, &st_buf) == 0) {
59 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
70 if (stat(mnt->mnt_fsname, &st_buf) == 0) {
85 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
93 if (file_rdev && stat("/", &st_buf) == 0) {
111 if (stat(mnt->mnt_dir, &st_buf) < 0) {
241 struct stat st_buf;
245 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */
246 if ((stat(file, &st_buf) == 0) &&
267 if (file_dev && (stat(buf, &st_buf) == 0) &&
294 struct stat st_buf;
319 if ((stat(device, &st_buf) != 0) ||