Searched refs:splice (Results 1 - 25 of 42) sorted by relevance

12

/linux-master/tools/testing/selftests/splice/
H A Ddefault_file_splice_read.c7 splice(0, 0, 1, 0, 1<<30, 0);
H A Dsplice_read.c47 /* splice(2) file to stdout. */
48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL,
51 perror("splice");
/linux-master/io_uring/
H A DMakefile5 obj-$(CONFIG_IO_URING) += io_uring.o xattr.o nop.o fs.o splice.o \
H A Dsplice.c10 #include <linux/splice.h>
15 #include "splice.h"
/linux-master/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c127 rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL,
148 ret = splice(ts->write_pipe, NULL, ts->out_fd, NULL,
/linux-master/fs/btrfs/
H A Dordered-data.c685 LIST_HEAD(splice);
694 list_splice_init(&root->ordered_extents, &splice);
695 while (!list_empty(&splice) && nr) {
696 ordered = list_first_entry(&splice, struct btrfs_ordered_extent,
723 list_splice_tail(&splice, &root->ordered_extents);
741 LIST_HEAD(splice);
746 list_splice_init(&fs_info->ordered_roots, &splice);
747 while (!list_empty(&splice) && nr) {
748 root = list_first_entry(&splice, struct btrfs_root,
765 list_splice_tail(&splice,
[all...]
H A Ddisk-io.c4516 LIST_HEAD(splice);
4519 list_splice_init(&fs_info->ordered_roots, &splice);
4520 while (!list_empty(&splice)) {
4521 root = list_first_entry(&splice, struct btrfs_root,
4623 LIST_HEAD(splice);
4626 list_splice_init(&root->delalloc_inodes, &splice);
4628 while (!list_empty(&splice)) {
4630 btrfs_inode = list_first_entry(&splice, struct btrfs_inode,
4656 LIST_HEAD(splice);
4659 list_splice_init(&fs_info->delalloc_roots, &splice);
[all...]
H A Dinode.c9363 LIST_HEAD(splice);
9369 list_splice_init(&root->delalloc_inodes, &splice);
9370 while (!list_empty(&splice)) {
9371 binode = list_entry(splice.next, struct btrfs_inode,
9419 if (!list_empty(&splice)) {
9421 list_splice_tail(&splice, &root->delalloc_inodes);
9454 LIST_HEAD(splice);
9462 list_splice_init(&fs_info->delalloc_roots, &splice);
9463 while (!list_empty(&splice)) {
9471 root = list_first_entry(&splice, struc
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpf_syscall_macro.c76 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK);
/linux-master/fs/
H A DMakefile15 pnode.o splice.o sync.o utimes.o d_path.o \
H A Dread_write.c19 #include <linux/splice.h>
1437 /* cross sb splice is allowed */
1488 bool splice = flags & COPY_FILE_SPLICE; local
1517 if (!splice && file_out->f_op->copy_file_range) {
1521 } else if (!splice && file_in->f_op->remap_file_range && samesb) {
1526 /* fallback to splice */
1528 splice = true;
1530 /* Fallback to splice for same sb copy for backward compat */
1531 splice = true;
1536 if (!splice)
[all...]
H A Dbacking-file.c13 #include <linux/splice.h>
H A Dremap_range.c13 #include <linux/splice.h>
H A Dsplice.c3 * "splice": joining two ropes together by interweaving their strands.
9 * The traditional unix read/write is extended with a "splice()" operation
25 #include <linux/splice.h>
45 * here if set to avoid blocking other users of this pipe if splice is
130 * splice, if this is the first page.
302 * copy_splice_read - Copy data from a file and splice the copy into a pipe
305 * @pipe: The pipe to splice into
306 * @len: The amount to splice
427 * @pipe: pipe to splice from
511 * splice_from_pipe_next - wait for some data to splice fro
[all...]
/linux-master/tools/testing/selftests/net/
H A Dtls.c705 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0);
721 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, send_pipe, f), 1);
737 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, 8000, 0), 8000);
739 EXPECT_EQ(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 8000);
760 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len);
777 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), send_len);
795 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1);
820 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1);
838 /* Recv hald of the record, splice the other half */
840 EXPECT_EQ(splice(sel
[all...]
/linux-master/fs/coda/
H A Dfile.c26 #include <linux/splice.h>
/linux-master/fs/fuse/
H A Dpassthrough.c12 #include <linux/splice.h>
/linux-master/tools/testing/selftests/
H A DMakefile89 TARGETS += splice
/linux-master/net/smc/
H A Dsmc_rx.c16 #include <linux/splice.h>
339 * @pipe: copy data to pipe if set - indicates splice() call
448 /* subsequent splice() calls pick up where previous left */
/linux-master/fs/nfs/
H A Dnfs4file.c13 #include <linux/splice.h>
/linux-master/drivers/char/
H A Dmem.c26 #include <linux/splice.h>
H A Dvirtio_console.c14 #include <linux/splice.h>
916 * Rproc_serial does not yet support splice. To support splice
/linux-master/kernel/
H A Drelay.c24 #include <linux/splice.h>
/linux-master/fs/overlayfs/
H A Dcopy_up.c12 #include <linux/splice.h>
/linux-master/lib/
H A Diov_iter.c10 #include <linux/splice.h>

Completed in 1129 milliseconds

12