Lines Matching refs:target_fname
25 static char target_fname[PATH_MAX]; variable
35 snprintf(target_fname, sizeof(target_fname), "%s/%s", in hv_start_fcopy()
38 syslog(LOG_INFO, "Target file name: %s", target_fname); in hv_start_fcopy()
66 if (!access(target_fname, F_OK)) { in hv_start_fcopy()
67 syslog(LOG_INFO, "File: %s exists", target_fname); in hv_start_fcopy()
74 target_fd = open(target_fname, in hv_start_fcopy()
84 target_fname[0] = '\0'; in hv_start_fcopy()
126 target_fname[0] = '\0'; in hv_copy_finished()
132 if (strlen(target_fname) > 0) { in hv_copy_cancel()
133 unlink(target_fname); in hv_copy_cancel()
134 target_fname[0] = '\0'; in hv_copy_cancel()