Home
last modified time | relevance | path

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

12

/linux-6.6.21/Documentation/filesystems/
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
Dindex.rst24 splice
/linux-6.6.21/tools/virtio/virtio-trace/
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()
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.6.21/fs/btrfs/
Dordered-data.c690 LIST_HEAD(splice); in btrfs_wait_ordered_extents()
699 list_splice_init(&root->ordered_extents, &splice); in btrfs_wait_ordered_extents()
700 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents()
701 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
728 list_splice_tail(&splice, &root->ordered_extents); in btrfs_wait_ordered_extents()
746 LIST_HEAD(splice); in btrfs_wait_ordered_roots()
751 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots()
752 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots()
753 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots()
770 list_splice_tail(&splice, &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
Ddisk-io.c4566 LIST_HEAD(splice); in btrfs_destroy_all_ordered_extents()
4569 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4570 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4571 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4672 LIST_HEAD(splice); in btrfs_destroy_delalloc_inodes()
4675 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4677 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4679 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4705 LIST_HEAD(splice); in btrfs_destroy_all_delalloc_inodes()
4708 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
[all …]
Dinode.c9254 LIST_HEAD(splice); in start_delalloc_inodes()
9260 list_splice_init(&root->delalloc_inodes, &splice); in start_delalloc_inodes()
9261 while (!list_empty(&splice)) { in start_delalloc_inodes()
9262 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
9310 if (!list_empty(&splice)) { in start_delalloc_inodes()
9312 list_splice_tail(&splice, &root->delalloc_inodes); in start_delalloc_inodes()
9345 LIST_HEAD(splice); in btrfs_start_delalloc_roots()
9353 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_start_delalloc_roots()
9354 while (!list_empty(&splice)) { in btrfs_start_delalloc_roots()
9362 root = list_first_entry(&splice, struct btrfs_root, in btrfs_start_delalloc_roots()
[all …]
/linux-6.6.21/rust/macros/
Dpaste.rs83 tokens.splice(i + 3..i + 4, group.stream()); in expand()
90 tokens.splice(i..i + 1, group.stream()); in expand()
Dpinned_drop.rs38 toks.splice(idx..idx, quote!(::kernel::init::)); in pinned_drop()
/linux-6.6.21/tools/testing/selftests/splice/
Ddefault_file_splice_read.c7 splice(0, 0, 1, 0, 1<<30, 0); in main()
Dsplice_read.c48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main()
/linux-6.6.21/io_uring/
DMakefile5 obj-$(CONFIG_IO_URING) += io_uring.o xattr.o nop.o fs.o splice.o \
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtest_bpf_syscall_macro.c76 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro()
/linux-6.6.21/tools/testing/selftests/net/
Dtls.c705 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0); in TEST_F()
723 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
725 EXPECT_EQ(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
746 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len); in TEST_F()
763 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), send_len); in TEST_F()
781 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
806 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
826 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F()
854 i = splice(self->cfd, NULL, p[1], NULL, send_len - n, 0); in TEST_F()
/linux-6.6.21/fs/
DMakefile15 pnode.o splice.o sync.o utimes.o d_path.o \
Dread_write.c1480 bool splice = flags & COPY_FILE_SPLICE; in vfs_copy_file_range() local
1508 if (!splice && file_out->f_op->copy_file_range) { in vfs_copy_file_range()
1515 if (!splice && file_in->f_op->remap_file_range && in vfs_copy_file_range()
/linux-6.6.21/tools/testing/selftests/
DMakefile81 TARGETS += splice
/linux-6.6.21/rust/alloc/vec/
Dmod.rs84 pub use self::splice::Splice;
87 mod splice; module
3184 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A> in splice() method
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Dlog-writes.rst23 Once we see a REQ_PREFLUSH request we splice this list onto the request and once
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux-6.6.21/arch/ia64/kernel/syscalls/
Dsyscall.tbl285 273 common splice sys_splice
/linux-6.6.21/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux-6.6.21/Documentation/crypto/
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.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl286 275 common splice sys_splice
/linux-6.6.21/arch/xtensa/kernel/syscalls/
Dsyscall.tbl290 268 common splice sys_splice

12