Searched refs:converted_fd (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/import/ |
D | import-raw.c | 158 _cleanup_close_ int converted_fd = -1; in raw_import_maybe_convert_qcow2() local 182 converted_fd = open(f, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0664); in raw_import_maybe_convert_qcow2() 183 if (converted_fd < 0) in raw_import_maybe_convert_qcow2() 188 (void) import_set_nocow_and_log(converted_fd, t); in raw_import_maybe_convert_qcow2() 192 r = qcow2_convert(i->output_fd, converted_fd); in raw_import_maybe_convert_qcow2() 198 CLOSE_AND_REPLACE(i->output_fd, converted_fd); in raw_import_maybe_convert_qcow2()
|
D | pull-raw.c | 242 _cleanup_close_ int converted_fd = -1; in raw_pull_maybe_convert_qcow2() local 267 converted_fd = open(f, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0664); in raw_pull_maybe_convert_qcow2() 268 if (converted_fd < 0) in raw_pull_maybe_convert_qcow2() 273 (void) import_set_nocow_and_log(converted_fd, t); in raw_pull_maybe_convert_qcow2() 277 r = qcow2_convert(i->raw_job->disk_fd, converted_fd); in raw_pull_maybe_convert_qcow2() 283 CLOSE_AND_REPLACE(i->raw_job->disk_fd, converted_fd); in raw_pull_maybe_convert_qcow2()
|