Lines Matching refs:stbuf
124 static int tfs_stat(fuse_ino_t ino, struct stat *stbuf) {
125 stbuf->st_ino = ino;
127 stbuf->st_mode = S_IFDIR | 0755;
128 stbuf->st_nlink = 1;
132 stbuf->st_mode = S_IFREG | 0000;
133 stbuf->st_nlink = 1;
134 stbuf->st_size = 0;
179 struct stat stbuf;
183 memset(&stbuf, 0, sizeof(stbuf));
184 if (tfs_stat(ino, &stbuf) != 0)
187 fuse_reply_attr(req, &stbuf, options.timeout);
197 struct stat stbuf;
201 memset(&stbuf, 0, sizeof(stbuf));
202 stbuf.st_ino = ino;
203 fuse_add_direntry(req, b->p + oldsize, b->size - oldsize, name, &stbuf,