Home
last modified time | relevance | path

Searched refs:target_fname (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/tools/hv/
Dhv_fcopy_daemon.c25 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()
[all …]