Home
last modified time | relevance | path

Searched refs:splice (Results 1 – 25 of 35) sorted by relevance

12

/linux/Documentation/filesystems/
H A Dsplice.rst2 splice and pipes
5 splice API
8 splice is a method for moving blocks of data around inside the kernel,
11 .. kernel-doc:: fs/splice.c
/linux/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c127 rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL, in rw_thread_main()
148 ret = splice(ts->write_pipe, NULL, ts->out_fd, NULL, in rw_thread_main()
H A DREADME6 - splice a page of ring-buffer to read_pipe without memory copying
7 - splice the page from write_pipe to virtio-console without memory copying
/linux/rust/macros/
H A Dpaste.rs100 tokens.splice(i + 3..i + 4, group.stream()); in expand()
107 tokens.splice(i..i + 1, group.stream()); in expand()
H A Dpinned_drop.rs
/linux/tools/testing/selftests/splice/
H A Ddefault_file_splice_read.c7 splice(0, 0, 1, 0, 1<<30, 0); in main()
H A Dsplice_read.c48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main()
/linux/rust/pin-init/internal/src/
H A Dpinned_drop.rs
/linux/tools/testing/selftests/net/
H A Dtls.c777 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0); in TEST_F()
793 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, send_pipe, f), 1); in TEST_F()
809 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
811 EXPECT_EQ(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
832 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len); in TEST_F()
849 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), send_len); in TEST_F()
867 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
892 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
912 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F()
940 i = splice(self->cfd, NULL, p[1], NULL, send_len - n, 0); in TEST_F()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpf_syscall_macro.c72 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro()
/linux/Documentation/translations/zh_CN/networking/
H A Dmsg_zerocopy.rst30splice。MSG_ZEROCOPY 标志将底层的拷贝避免机制扩展到了常见的套接字发送调用中。
/linux/fs/btrfs/
H A Ddisk-io.c4605 LIST_HEAD(splice); in btrfs_destroy_all_ordered_extents()
4608 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4609 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4610 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4635 LIST_HEAD(splice); in btrfs_destroy_delalloc_inodes()
4638 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4640 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4642 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4668 LIST_HEAD(splice); in btrfs_destroy_all_delalloc_inodes()
4671 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
[all …]
H A Dinode.c8911 LIST_HEAD(splice); in start_delalloc_inodes()
8916 list_splice_init(&root->delalloc_inodes, &splice); in start_delalloc_inodes()
8917 while (!list_empty(&splice)) { in start_delalloc_inodes()
8921 inode = list_first_entry(&splice, struct btrfs_inode, delalloc_inodes); in start_delalloc_inodes()
8968 if (!list_empty(&splice)) { in start_delalloc_inodes()
8970 list_splice_tail(&splice, &root->delalloc_inodes); in start_delalloc_inodes()
8991 LIST_HEAD(splice); in btrfs_start_delalloc_roots()
8999 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_start_delalloc_roots()
9000 while (!list_empty(&splice)) { in btrfs_start_delalloc_roots()
9001 root = list_first_entry(&splice, struct btrfs_root, in btrfs_start_delalloc_roots()
[all …]
/linux/tools/testing/selftests/arm64/fp/
H A Dkernel-test.c219 ret = splice(zerocopy[0], NULL, sock, NULL, wrote, 0); in compute_digest()
/linux/Documentation/trace/
H A Dring-buffer-map.rst40 each subbuf). It is also not possible to use snapshot and causes splice to copy
/linux/tools/testing/selftests/
H A DMakefile109 TARGETS += splice
/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst23 Once we see a REQ_PREFLUSH request we splice this list onto the request and once
/linux/Documentation/filesystems/fuse/
H A Dfuse-passthrough.rst26 (via ``read_iter``/``write_iter``), ``splice(2)``, and ``mmap(2)``.
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c950 in_bytes = splice(infd, NULL, pipefd[1], NULL, len - winfo->total_len, in do_splice()
956 out_bytes = splice(pipefd[0], NULL, outfd, NULL, in_bytes, in do_splice()
/linux/Documentation/crypto/
H A Duserspace-if.rst332 splice/vmsplice. As the name indicates, the kernel tries to avoid a copy
355 splice(pipes[0], NULL, opfd, NULL, ret, 0);
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux/scripts/
H A Dsyscall.tbl98 76 common splice sys_splice
/linux/tools/scripts/
H A Dsyscall.tbl98 76 common splice sys_splice
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl260 306 common splice sys_splice
/linux/Documentation/networking/
H A Dmsg_zerocopy.rst19 such as sendfile and splice. The MSG_ZEROCOPY flag extends the

12