Lines Matching refs:stat
35 #include <sys/stat.h> /* stat() */
342 * pointer, return the (struct stat).st_rdev value. Open the file
368 struct stat stat_buf; /* stat() buffer for device file */
373 if (stat(device_path, &stat_buf) != 0) {
854 int device_rdev, /* st_rdev value returned by stat() */
861 int stream_rdev; /* st_rdev value returned by stat() */
1064 int st_rdev; /* st_rdev value returned by stat() */
1421 struct stat stat_buf; /* stat() buffer for device file */
1423 if (stat(xserver_path[xserver_arg], &stat_buf) != 0) {
1441 struct stat stat_buf; /* stat() buffer for device file */
1460 if (stat(efb_path, &stat_buf) != 0) {
1469 if (stat(efb_path, &stat_buf) == 0) {
1491 if ((stat("/platform/sun4u/kernel/drv/sparcv9/pfb", &stat_buf) == 0) ||
1492 (stat("/platform/sun4v/kernel/drv/sparcv9/pfb", &stat_buf) == 0) ||
1493 (stat("/platform/sun4us/kernel/drv/sparcv9/pfb", &stat_buf) == 0)) {
1497 if (stat(pfb_path, &stat_buf) == 0) {
1506 if (stat(nfb_path, &stat_buf) != 0) {
1526 if (stat(efb_path, &stat_buf) == 0) {
1530 if (stat(nfb_path, &stat_buf) == 0) {