Lines Matching defs:stat_buf
354 * Mask for stat_buf.st_rdev member
368 struct stat stat_buf; /* stat() buffer for device file */
373 if (stat(device_path, &stat_buf) != 0) {
376 if ((stat_buf.st_mode & S_IFCHR) == 0) {
384 *st_rdev = stat_buf.st_rdev;
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) {