Searched refs:fdf (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
55 assert(fdf >= 0);
61 lseek(fdf, 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);
119 n = read(fdf, buf, m);
162 _cleanup_close_ int fdf = -1, fdt = -1; local
170 fdf = openat(df, from, O_RDONLY|O_CLOEXEC|O_NOCTTY|O_NOFOLLOW);
171 if (fdf <
256 _cleanup_close_ int fdf = -1, fdt = -1; local
343 copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge) argument
387 _cleanup_close_ int fdf = -1; 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
376 assert(fdf >= 0);
393 n = read(fdf, buf, m);
445 int compress_stream_lz4(int fdf, int fdt, uint64_t max_bytes) { argument
466 if (fstat(fdf, &st) < 0)
479 src = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fdf, 0);
538 int decompress_stream_xz(int fdf, int fdt, uint64_t max_bytes) { argument
547 assert(fdf >= 0);
560 n = read(fdf, buf, sizeof(buf));
674 int decompress_stream(const char *filename, int fdf, in 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.c645 _cleanup_close_ int fdf; local
647 fdf = open(filename, O_RDONLY | O_CLOEXEC);
648 if (fdf < 0) {
655 r = decompress_stream(filename, fdf, fd, -1);

Completed in 18 milliseconds