Home | History | Annotate | Download | only in dumpstate

Lines Matching defs:newpath

515     char *newpath = NULL;
537 for (; ((d = readdir(dirp))); free(newpath), newpath = NULL) {
543 asprintf(&newpath, "%s%s%s%s", dir, slash, d->d_name,
545 if (!newpath) {
549 if (skip && (*skip)(newpath)) {
553 int ret = dump_files(NULL, newpath, skip, dump_from_fd);
559 fd = TEMP_FAILURE_RETRY(open(newpath, O_RDONLY | O_NONBLOCK | O_CLOEXEC));
562 printf("*** %s: %s\n", newpath, strerror(errno));
565 (*dump_from_fd)(NULL, newpath, fd);