Lines Matching refs:path_name
60 static int hv_fcopy_create_file(char *file_name, char *path_name, __u32 flags) in hv_fcopy_create_file() argument
66 p = path_name; in hv_fcopy_create_file()
68 path_name, file_name); in hv_fcopy_create_file()
80 if (access(path_name, F_OK)) { in hv_fcopy_create_file()
82 if (mkdir(path_name, 0755)) { in hv_fcopy_create_file()
84 path_name); in hv_fcopy_create_file()
88 syslog(LOG_ERR, "Invalid path: %s", path_name); in hv_fcopy_create_file()
289 char *file_name, *path_name; in hv_fcopy_start() local
291 char *in_path_name = (char *)smsg_in->path_name; in hv_fcopy_start()
297 path_name = (char *)malloc(path_size * sizeof(char)); in hv_fcopy_start()
299 if (!file_name || !path_name) { in hv_fcopy_start()
301 free(path_name); in hv_fcopy_start()
307 wcstoutf8(path_name, (__u16 *)in_path_name, path_size); in hv_fcopy_start()
309 return hv_fcopy_create_file(file_name, path_name, smsg_in->copy_flags); in hv_fcopy_start()