Home
last modified time | relevance | path

Searched refs:splice (Results 1 – 25 of 34) 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/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/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()
910 /* Recv hald of the record, splice the other half */ in TEST_F()
912 EXPECT_EQ(splice(sel in TEST_F()
[all...]
/linux/Documentation/translations/zh_CN/networking/
H A Dmsg_zerocopy.rst30splice。MSG_ZEROCOPY 标志将底层的拷贝避免机制扩展到了常见的套接字发送调用中。
/linux/tools/testing/selftests/arm64/fp/
H A Dkernel-test.c219 ret = splice(zerocopy[0], NULL, sock, NULL, wrote, 0); in compute_digest()
/linux/fs/btrfs/
H A Ddisk-io.c4582 LIST_HEAD(splice); in btrfs_destroy_all_ordered_extents()
4585 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4586 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4587 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4612 LIST_HEAD(splice); in btrfs_destroy_delalloc_inodes()
4615 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4617 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4619 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4645 LIST_HEAD(splice); in btrfs_destroy_all_delalloc_inodes()
4648 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/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 DMakefile114 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/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
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl323 313 common splice sys_splice

12