Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/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-v6.6/fs/btrfs/
Dordered-data.c687 LIST_HEAD(splice); in btrfs_wait_ordered_extents()
696 list_splice_init(&root->ordered_extents, &splice); in btrfs_wait_ordered_extents()
697 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents()
698 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
725 list_splice_tail(&splice, &root->ordered_extents); in btrfs_wait_ordered_extents()
743 LIST_HEAD(splice); in btrfs_wait_ordered_roots()
748 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots()
749 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots()
750 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots()
767 list_splice_tail(&splice, &fs_info->ordered_roots); in btrfs_wait_ordered_roots()
Ddisk-io.c4551 LIST_HEAD(splice); in btrfs_destroy_all_ordered_extents()
4554 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4555 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4556 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4657 LIST_HEAD(splice); in btrfs_destroy_delalloc_inodes()
4660 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4662 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4664 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4690 LIST_HEAD(splice); in btrfs_destroy_all_delalloc_inodes()
4693 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
[all …]
Dinode.c9228 LIST_HEAD(splice); in start_delalloc_inodes()
9234 list_splice_init(&root->delalloc_inodes, &splice); in start_delalloc_inodes()
9235 while (!list_empty(&splice)) { in start_delalloc_inodes()
9236 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
9284 if (!list_empty(&splice)) { in start_delalloc_inodes()
9286 list_splice_tail(&splice, &root->delalloc_inodes); in start_delalloc_inodes()
9319 LIST_HEAD(splice); in btrfs_start_delalloc_roots()
9327 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_start_delalloc_roots()
9328 while (!list_empty(&splice)) { in btrfs_start_delalloc_roots()
9336 root = list_first_entry(&splice, struct btrfs_root, in btrfs_start_delalloc_roots()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/io_uring/
DMakefile5 obj-$(CONFIG_IO_URING) += io_uring.o xattr.o nop.o fs.o splice.o \
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/
DMakefile81 TARGETS += splice
/Linux-v6.6/rust/alloc/vec/
Dmod.rs84 pub use self::splice::Splice;
87 mod splice; module
3199 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A> in splice() method
/Linux-v6.6/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-v6.6/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl274 263 n64 splice sys_splice
Dsyscall_n32.tbl278 267 n32 splice sys_splice
/Linux-v6.6/arch/ia64/kernel/syscalls/
Dsyscall.tbl285 273 common splice sys_splice
/Linux-v6.6/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl274 263 n64 splice sys_splice
/Linux-v6.6/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-v6.6/arch/xtensa/kernel/syscalls/
Dsyscall.tbl290 268 common splice sys_splice

12