Lines Matching refs:stbuf
36 static int null_getattr(const char *path, struct stat *stbuf,
44 stbuf->st_mode = S_IFREG | 0644;
45 stbuf->st_nlink = 1;
46 stbuf->st_uid = getuid();
47 stbuf->st_gid = getgid();
48 stbuf->st_size = (1ULL << 32); /* 4G */
49 stbuf->st_blocks = 0;
50 stbuf->st_atime = stbuf->st_mtime = stbuf->st_ctime = time(NULL);
119 struct stat stbuf;
130 if (stat(opts.mountpoint, &stbuf) == -1) {
137 if (!S_ISREG(stbuf.st_mode)) {