Lines Matching defs:statbuf
242 struct stat statbuf;
248 if (stat(daemon->namebuff, &statbuf) == -1 || !S_ISDIR(statbuf.st_mode))
294 struct stat statbuf;
315 if (fstat(fd, &statbuf) == -1)
321 if (!(statbuf.st_mode & S_IROTH))
325 else if ((daemon->options & OPT_TFTP_SECURE) && uid != statbuf.st_uid)
334 if (t->file->dev == statbuf.st_dev &&
335 t->file->inode == statbuf.st_ino &&
350 file->size = statbuf.st_size;
351 file->dev = statbuf.st_dev;
352 file->inode = statbuf.st_ino;