/linux/Documentation/filesystems/ |
H A D | splice.rst | 2 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
|
H A D | index.rst | 24 splice
|
/linux/tools/virtio/virtio-trace/ |
H A D | trace-agent-rw.c | 127 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 D | README | 6 - 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/fs/btrfs/ |
H A D | ordered-data.c | 744 LIST_HEAD(splice); in btrfs_wait_ordered_extents() 763 list_splice_init(&root->ordered_extents, &splice); in btrfs_wait_ordered_extents() 764 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents() 765 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents() 792 list_splice_tail(&splice, &root->ordered_extents); in btrfs_wait_ordered_extents() 814 LIST_HEAD(splice); in btrfs_wait_ordered_roots() 819 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots() 820 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots() 821 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots() 837 list_splice_tail(&splice, &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
|
H A D | disk-io.c | 4507 LIST_HEAD(splice); in btrfs_destroy_all_ordered_extents() 4510 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents() 4511 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents() 4512 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents() 4606 LIST_HEAD(splice); in btrfs_destroy_delalloc_inodes() 4609 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes() 4611 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes() 4613 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes() 4639 LIST_HEAD(splice); in btrfs_destroy_all_delalloc_inodes() 4642 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes() [all …]
|
H A D | inode.c | 8447 LIST_HEAD(splice); in start_delalloc_inodes() 8453 list_splice_init(&root->delalloc_inodes, &splice); in start_delalloc_inodes() 8454 while (!list_empty(&splice)) { in start_delalloc_inodes() 8455 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes() 8503 if (!list_empty(&splice)) { in start_delalloc_inodes() 8505 list_splice_tail(&splice, &root->delalloc_inodes); in start_delalloc_inodes() 8538 LIST_HEAD(splice); in btrfs_start_delalloc_roots() 8546 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_start_delalloc_roots() 8547 while (!list_empty(&splice)) { in btrfs_start_delalloc_roots() 8555 root = list_first_entry(&splice, struct btrfs_root, in btrfs_start_delalloc_roots() [all …]
|
/linux/rust/macros/ |
H A D | paste.rs | 91 tokens.splice(i + 3..i + 4, group.stream()); in expand() 98 tokens.splice(i..i + 1, group.stream()); in expand()
|
H A D | pinned_drop.rs | 38 toks.splice(idx..idx, quote!(::kernel::init::)); in pinned_drop()
|
/linux/tools/testing/selftests/splice/ |
H A D | default_file_splice_read.c | 7 splice(0, 0, 1, 0, 1<<30, 0); in main()
|
H A D | splice_read.c | 48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main()
|
/linux/io_uring/ |
H A D | Makefile | 12 sqpoll.o xattr.o nop.o fs.o splice.o \
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpf_syscall_macro.c | 72 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro()
|
/linux/tools/testing/selftests/net/ |
H A D | tls.c | 705 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0); in TEST_F() 721 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, send_pipe, f), 1); in TEST_F() 737 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F() 739 EXPECT_EQ(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F() 760 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len); in TEST_F() 777 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), send_len); in TEST_F() 795 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F() 820 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F() 840 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F() 868 i = splice(self->cfd, NULL, p[1], NULL, send_len - n, 0); in TEST_F()
|
/linux/fs/ |
H A D | read_write.c | 1581 bool splice = flags & COPY_FILE_SPLICE; in vfs_copy_file_range() local 1610 if (!splice && file_out->f_op->copy_file_range) { in vfs_copy_file_range() 1614 } else if (!splice && file_in->f_op->remap_file_range && samesb) { in vfs_copy_file_range() 1621 splice = true; in vfs_copy_file_range() 1624 splice = true; in vfs_copy_file_range() 1629 if (!splice) in vfs_copy_file_range()
|
H A D | Makefile | 15 pnode.o splice.o sync.o utimes.o d_path.o \
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | kernel-test.c | 221 ret = splice(zerocopy[0], NULL, sock, NULL, wrote, 0); in compute_digest()
|
/linux/Documentation/trace/ |
H A D | ring-buffer-map.rst | 40 each subbuf). It is also not possible to use snapshot and causes splice to copy
|
/linux/tools/testing/selftests/ |
H A D | Makefile | 97 TARGETS += splice
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | log-writes.rst | 23 Once we see a REQ_PREFLUSH request we splice this list onto the request and once
|
/linux/Documentation/crypto/ |
H A D | userspace-if.rst | 333 splice/vmsplice. As the name indicates, the kernel tries to avoid a copy 356 splice(pipes[0], NULL, opfd, NULL, ret, 0);
|
/linux/tools/perf/arch/mips/entry/syscalls/ |
H A D | syscall_n64.tbl | 274 263 n64 splice sys_splice
|
/linux/arch/mips/kernel/syscalls/ |
H A D | syscall_n64.tbl | 274 263 n64 splice sys_splice
|
/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 287 275 common splice sys_splice
|
/linux/arch/xtensa/kernel/syscalls/ |
H A D | syscall.tbl | 290 268 common splice sys_splice
|