Home
last modified time | relevance | path

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

123

/linux-6.15/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-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_splice_tcp_splice_loop_test.pkt19 +0 splice(4, NULL, 6, NULL, 99, 0) = 99
20 +0 splice(4, NULL, 6, NULL, 1, 0) = 0
/linux-6.15/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-6.15/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.c4611 LIST_HEAD(splice); in btrfs_destroy_all_ordered_extents()
4614 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4615 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4616 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4641 LIST_HEAD(splice); in btrfs_destroy_delalloc_inodes()
4644 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4646 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4674 LIST_HEAD(splice); in btrfs_destroy_all_delalloc_inodes()
4677 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4678 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
[all …]
H A Dinode.c8547 LIST_HEAD(splice); in start_delalloc_inodes()
8553 list_splice_init(&root->delalloc_inodes, &splice); in start_delalloc_inodes()
8554 while (!list_empty(&splice)) { in start_delalloc_inodes()
8603 if (!list_empty(&splice)) { in start_delalloc_inodes()
8605 list_splice_tail(&splice, &root->delalloc_inodes); in start_delalloc_inodes()
8638 LIST_HEAD(splice); in btrfs_start_delalloc_roots()
8646 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_start_delalloc_roots()
8647 while (!list_empty(&splice)) { in btrfs_start_delalloc_roots()
8655 root = list_first_entry(&splice, struct btrfs_root, in btrfs_start_delalloc_roots()
8673 if (!list_empty(&splice)) { in btrfs_start_delalloc_roots()
[all …]
/linux-6.15/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-6.15/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()
/linux-6.15/io_uring/
H A DMakefile12 sqpoll.o xattr.o nop.o fs.o splice.o \
/linux-6.15/rust/pin-init/internal/src/
H A Dpinned_drop.rs40 toks.splice(idx..idx, quote!(::pin_init::)); in pinned_drop()
/linux-6.15/tools/testing/selftests/net/
H A Dtls.c726 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0); in TEST_F()
742 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, send_pipe, f), 1); in TEST_F()
758 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
760 EXPECT_EQ(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
781 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len); in TEST_F()
798 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), send_len); in TEST_F()
816 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
841 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
861 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F()
889 i = splice(self->cfd, NULL, p[1], NULL, send_len - n, 0); in TEST_F()
[all …]
/linux-6.15/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-6.15/fs/
H A Dread_write.c1555 bool splice = flags & COPY_FILE_SPLICE; in vfs_copy_file_range() local
1584 if (!splice && file_out->f_op->copy_file_range) { in vfs_copy_file_range()
1588 } else if (!splice && file_in->f_op->remap_file_range && samesb) { in vfs_copy_file_range()
1595 splice = true; in vfs_copy_file_range()
1598 splice = true; in vfs_copy_file_range()
1603 if (!splice) in vfs_copy_file_range()
H A DMakefile15 pnode.o splice.o sync.o utimes.o d_path.o \
/linux-6.15/tools/testing/selftests/arm64/fp/
H A Dkernel-test.c219 ret = splice(zerocopy[0], NULL, sock, NULL, wrote, 0); in compute_digest()
/linux-6.15/Documentation/trace/
H A Dring-buffer-map.rst40 each subbuf). It is also not possible to use snapshot and causes splice to copy
/linux-6.15/tools/testing/selftests/
H A DMakefile102 TARGETS += splice
/linux-6.15/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-6.15/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux-6.15/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux-6.15/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-6.15/tools/scripts/
H A Dsyscall.tbl98 76 common splice sys_splice

123