Lines Matching defs:path
1012 char *path;
1015 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0)
1019 logit("opendir \"%s\"", path);
1020 dirp = opendir(path);
1024 handle = handle_new(HANDLE_DIR, path, 0, 0, dirp);
1035 free(path);
1043 char *path;
1052 path = handle_to_name(handle);
1053 if (dirp == NULL || path == NULL) {
1068 snprintf(pathname, sizeof pathname, "%s%s%s", path,
1069 strcmp(path, "/") ? "/" : "", dp->d_name);
1153 char *path;
1156 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0)
1159 if (path[0] == '\0') {
1160 free(path);
1161 path = xstrdup(".");
1164 verbose("realpath \"%s\"", path);
1165 if (realpath(path, resolvedname) == NULL) {
1173 free(path);
1241 char *path;
1243 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0)
1247 verbose("readlink \"%s\"", path);
1248 if ((len = readlink(path, buf, sizeof(buf) - 1)) == -1)
1258 free(path);
1303 char *path;
1307 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0)
1310 logit("statvfs \"%s\"", path);
1312 if (statvfs(path, &st) != 0)
1316 free(path);