Home
last modified time | relevance | path

Searched refs:splice (Results 1 – 25 of 47) 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
H A Dindex.rst24 splice
/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/fs/btrfs/
H A Dordered-data.c744 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 Ddisk-io.c4507 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 Dinode.c8447 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 Dpaste.rs91 tokens.splice(i + 3..i + 4, group.stream()); in expand()
98 tokens.splice(i..i + 1, group.stream()); in expand()
H A Dpinned_drop.rs38 toks.splice(idx..idx, quote!(::kernel::init::)); in pinned_drop()
/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/io_uring/
H A DMakefile12 sqpoll.o xattr.o nop.o fs.o splice.o \
/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.c705 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 Dread_write.c1581 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 DMakefile15 pnode.o splice.o sync.o utimes.o d_path.o \
/linux/tools/testing/selftests/arm64/fp/
H A Dkernel-test.c221 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 DMakefile97 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/crypto/
H A Duserspace-if.rst333 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 Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl287 275 common splice sys_splice
/linux/arch/xtensa/kernel/syscalls/
H A Dsyscall.tbl290 268 common splice sys_splice

12