Lines Matching defs:stats
692 struct stat stats;
707 if (stat(file, &stats) == 0) {
712 if (devicepath[0] != '\0' && stat(devicepath, &stats) != 0) {
743 struct stat stats;
748 if (stat(attr, &stats) == 0) {
2678 struct stat stats;
2686 if (stat(device_node, &stats) != 0)
2688 if (!S_ISBLK(stats.st_mode) && !S_ISCHR(stats.st_mode))
2723 if (mode != (stats.st_mode & 01777)) {
2732 if ((uid != 0 && uid != stats.st_uid) || (gid != 0 && gid != stats.st_gid)) {