Searched defs:converted_fd (Results 1 - 2 of 2) sorted by relevance

/systemd/src/import/
H A Dimport-raw.c177 _cleanup_close_ int converted_fd = -1; local
194 converted_fd = open(t, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0664);
195 if (converted_fd < 0)
198 r = chattr_fd(converted_fd, FS_NOCOW_FL, FS_NOCOW_FL);
204 r = qcow2_convert(i->output_fd, converted_fd);
216 i->output_fd = converted_fd;
217 converted_fd = -1;
H A Dpull-raw.c221 _cleanup_close_ int converted_fd = -1; local
239 converted_fd = open(t, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY|O_CLOEXEC, 0664);
240 if (converted_fd < 0)
243 r = chattr_fd(converted_fd, FS_NOCOW_FL, FS_NOCOW_FL);
249 r = qcow2_convert(i->raw_job->disk_fd, converted_fd);
261 i->raw_job->disk_fd = converted_fd;
262 converted_fd = -1;

Completed in 12 milliseconds