Searched refs:fdt (Results 1 - 6 of 6) sorted by relevance

/systemd/src/basic/
H A Dcopy.h31 int copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge);
33 int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink);
34 int copy_times(int fdf, int fdt);
35 int copy_xattr(int fdf, int fdt);
H A Dcopy.c51 int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink) { argument
56 assert(fdt >= 0);
62 lseek(fdt, 0, SEEK_CUR) == 0) {
64 r = btrfs_reflink(fdf, fdt);
85 n = sendfile(fdt, fdf, NULL, m);
101 n = splice(fdf, NULL, fdt, NULL, m, 0);
125 r = loop_write(fdt, buf, (size_t) n, false);
162 _cleanup_close_ int fdf = -1, fdt = -1; local
174 fdt = openat(dt, to, O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC|O_NOCTTY|O_NOFOLLOW, st->st_mode & 07777);
175 if (fdt <
256 _cleanup_close_ int fdf = -1, fdt = -1; local
302 (void) copy_xattr(dirfd(d), fdt); local
343 copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge) argument
386 copy_file_fd(const char *from, int fdt, bool try_reflink) argument
406 int fdt = -1, r; local
464 copy_times(int fdf, int fdt) argument
487 copy_xattr(int fdf, int fdt) argument
[all...]
/systemd/src/journal/
H A Dcompress.h71 int compress_stream_xz(int fdf, int fdt, uint64_t max_bytes);
72 int compress_stream_lz4(int fdf, int fdt, uint64_t max_bytes);
74 int decompress_stream_xz(int fdf, int fdt, uint64_t max_size);
75 int decompress_stream_lz4(int fdf, int fdt, uint64_t max_size);
85 int decompress_stream(const char *filename, int fdf, int fdt, uint64_t max_bytes);
H A Dcompress.c369 int compress_stream_xz(int fdf, int fdt, uint64_t max_bytes) { argument
377 assert(fdt >= 0);
425 k = loop_write(fdt, out, n, false);
445 int compress_stream_lz4(int fdf, int fdt, uint64_t max_bytes) { argument
506 k = loop_write(fdt, buf, offset, false);
523 r = loop_write(fdt, buf, offset, false);
538 int decompress_stream_xz(int fdf, int fdt, uint64_t max_bytes) { argument
548 assert(fdt >= 0);
594 k = loop_write(fdt, out, n, false);
674 int decompress_stream(const char *filename, int fdf, int fdt, uint64_ argument
[all...]
H A Dtest-compress.c54 typedef int (compress_stream_t)(int fdf, int fdt, uint64_t max_bytes);
55 typedef int (decompress_stream_t)(int fdf, int fdt, uint64_t max_size);
/systemd/src/coredump/
H A Dcoredumpctl.c608 _cleanup_close_ int fdt = -1; local
616 fdt = mkostemp_safe(temp, O_WRONLY|O_CLOEXEC);
617 if (fdt < 0)
618 return log_error_errno(fdt, "Failed to create temporary file: %m");
621 fd = fdt;
632 sz = write(fdt, data, len);

Completed in 24 milliseconds