Lines Matching defs:stat_buf
397 PUBLIC int stat(const char* path, struct stat* stat_buf)
405 return real_stat(path, stat_buf);
421 return real_stat(path, stat_buf);
423 memset(stat_buf, 0, sizeof(*stat_buf));
424 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor);
425 stat_buf->st_mode = S_IFCHR;
430 PUBLIC int stat64(const char* path, struct stat64* stat_buf)
438 return real_stat64(path, stat_buf);
454 return real_stat64(path, stat_buf);
456 memset(stat_buf, 0, sizeof(*stat_buf));
457 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor);
458 stat_buf->st_mode = S_IFCHR;
463 PUBLIC int fstat(int fd, struct stat* stat_buf)
470 return real_fstat(fd, stat_buf);
472 memset(stat_buf, 0, sizeof(*stat_buf));
473 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor);
474 stat_buf->st_mode = S_IFCHR;
479 PUBLIC int fstat64(int fd, struct stat64* stat_buf)
486 return real_fstat64(fd, stat_buf);
488 memset(stat_buf, 0, sizeof(*stat_buf));
489 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor);
490 stat_buf->st_mode = S_IFCHR;