Searched defs:output_fd (Results 1 - 5 of 5) sorted by relevance

/systemd/src/import/
H A Dexport-raw.c52 int output_fd; member in struct:RawExport
109 e->output_fd = e->input_fd = -1;
163 r = btrfs_reflink(e->input_fd, e->output_fd);
174 l = sendfile(e->output_fd, e->input_fd, NULL, COPY_BUFFER_SIZE);
220 l = write(e->output_fd, e->buffer, e->buffer_size);
240 (void) copy_times(e->input_fd, e->output_fd);
241 (void) copy_xattr(e->input_fd, e->output_fd);
305 if (e->output_fd >= 0)
350 e->output_fd = fd;
H A Dexport-tar.c44 int output_fd; member in struct:TarExport
114 e->output_fd = e->tar_fd = -1;
169 l = splice(e->tar_fd, NULL, e->output_fd, NULL, COPY_BUFFER_SIZE, 0);
215 l = write(e->output_fd, e->buffer, e->buffer_size);
264 if (e->output_fd >= 0)
326 e->output_fd = fd;
H A Dimport-raw.c63 int output_fd; member in struct:RawImport
98 safe_close(i->output_fd);
124 i->input_fd = i->output_fd = -1;
183 r = qcow2_detect(i->output_fd);
204 r = qcow2_convert(i->output_fd, converted_fd);
215 safe_close(i->output_fd);
216 i->output_fd = converted_fd;
226 assert(i->output_fd >= 0);
232 if (ftruncate(i->output_fd, i->written_uncompressed) < 0)
241 (void) copy_times(i->input_fd, i->output_fd);
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dbus-internal.h190 int input_fd, output_fd; member in struct:sd_bus
H A Dsd-bus.c84 if (b->input_fd != b->output_fd)
85 safe_close(b->output_fd);
86 b->output_fd = b->input_fd = safe_close(b->input_fd);
184 r->input_fd = r->output_fd = -1;
222 _public_ int sd_bus_set_fd(sd_bus *bus, int input_fd, int output_fd) { argument
226 assert_return(output_fd >= 0, -EBADF);
230 bus->output_fd = output_fd;
1088 assert(b->output_fd >= 0);
1098 if (b->input_fd != b->output_fd) {
[all...]

Completed in 20 milliseconds