Lines Matching refs:stat
49 #include <sys/stat.h>
50 #define stat_t struct stat
806 if (stat(DRM_DIR_NAME, &st)) {
815 if (stat(buf, &st)) {
832 if (stat(DRM_DIR_NAME, &st)) {
841 if (stat(buf, &st)) {
3223 struct stat sbuf;
3236 struct stat sbuf;
3250 if (stat(name, &sbuf) == 0 && sbuf.st_rdev == d)
3264 struct stat sbuf;
3268 return stat(path, &sbuf) == 0;
3286 struct stat sbuf;
3353 struct stat sbuf;
3393 struct stat sbuf;
3436 struct stat sbuf;
4412 struct stat sbuf;
4422 if (stat(node, &sbuf))
4486 struct stat sbuf;
4490 if (stat(device->nodes[i], &sbuf) == 0 &&
4521 * Avoid stat'ing all of /dev needlessly by implementing this custom path.
4549 if (stat(node, &sbuf))
4645 struct stat sbuf;
4765 struct stat sbuf;
4791 struct stat sbuf;