Home | History | Annotate | Download | only in ext4_utils

Lines Matching defs:out_path

109 static void cpy_file(int out_fd, char *out_path, int in_fd, char *in_path,
128 error_exit("\"%s\": %s", out_path, strerror(errno));
130 error_exit("\"%s\": Short data write (%lu)", out_path,
184 char *in_path, *out_path, *out_fmt;
260 if ((out_path = malloc(i + 1)) == 0)
300 sprintf(out_path, out_fmt, in_path, file_count);
301 if ((out_fd = creat(out_path, 0666)) < 0)
302 error_exit("\"%s\": %s", out_path, strerror(errno));
311 error_exit("\"%s\": %s", out_path, strerror(errno));
313 error_exit("\"%s\": Short write (%lu)", out_path, (unsigned long)s);
316 cpy_file(out_fd, out_path, in_fd, in_path, to_write);
320 error_exit("close \"%s\": %s", out_path, strerror(errno));