Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/fs/btrfs/
Dordered-data.c628 LIST_HEAD(splice); in btrfs_wait_ordered_extents()
637 list_splice_init(&root->ordered_extents, &splice); in btrfs_wait_ordered_extents()
638 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents()
639 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
666 list_splice_tail(&splice, &root->ordered_extents); in btrfs_wait_ordered_extents()
684 struct list_head splice; in btrfs_wait_ordered_roots() local
687 INIT_LIST_HEAD(&splice); in btrfs_wait_ordered_roots()
691 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots()
692 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots()
693 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots()
[all …]
Ddisk-io.c4881 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4883 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4886 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4887 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4888 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4993 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4995 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4998 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
5000 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
5002 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
[all …]
Dinode.c9555 struct list_head splice; in start_delalloc_inodes() local
9560 INIT_LIST_HEAD(&splice); in start_delalloc_inodes()
9564 list_splice_init(&root->delalloc_inodes, &splice); in start_delalloc_inodes()
9565 while (!list_empty(&splice)) { in start_delalloc_inodes()
9566 binode = list_entry(splice.next, struct btrfs_inode, in start_delalloc_inodes()
9614 if (!list_empty(&splice)) { in start_delalloc_inodes()
9616 list_splice_tail(&splice, &root->delalloc_inodes); in start_delalloc_inodes()
9649 struct list_head splice; in btrfs_start_delalloc_roots() local
9655 INIT_LIST_HEAD(&splice); in btrfs_start_delalloc_roots()
9659 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_start_delalloc_roots()
[all …]
/linux-6.1.9/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.1.9/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.1.9/io_uring/
DMakefile5 obj-$(CONFIG_IO_URING) += io_uring.o xattr.o nop.o fs.o splice.o \
/linux-6.1.9/tools/testing/selftests/net/
Dtls.c634 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0); in TEST_F()
652 EXPECT_EQ(splice(p[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
654 EXPECT_EQ(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 8000); in TEST_F()
675 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len); in TEST_F()
692 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), send_len); in TEST_F()
710 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
735 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, send_len, 0), -1); in TEST_F()
755 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F()
783 i = splice(self->cfd, NULL, p[1], NULL, send_len - n, 0); in TEST_F()
/linux-6.1.9/fs/
DMakefile16 pnode.o splice.o sync.o utimes.o d_path.o \
Dread_write.c1481 bool splice = flags & COPY_FILE_SPLICE; in vfs_copy_file_range() local
1509 if (!splice && file_out->f_op->copy_file_range) { in vfs_copy_file_range()
1516 if (!splice && file_in->f_op->remap_file_range && in vfs_copy_file_range()
/linux-6.1.9/tools/testing/selftests/
DMakefile71 TARGETS += splice
/linux-6.1.9/rust/alloc/vec/
Dmod.rs87 pub use self::splice::Splice;
90 mod splice; module
2786 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A> in splice() method
/linux-6.1.9/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.1.9/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.1.9/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl274 263 n64 splice sys_splice
/linux-6.1.9/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl274 263 n64 splice sys_splice
Dsyscall_n32.tbl278 267 n32 splice sys_splice
/linux-6.1.9/arch/ia64/kernel/syscalls/
Dsyscall.tbl285 273 common splice sys_splice
/linux-6.1.9/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl286 275 common splice sys_splice
/linux-6.1.9/arch/xtensa/kernel/syscalls/
Dsyscall.tbl290 268 common splice sys_splice
/linux-6.1.9/arch/x86/entry/syscalls/
Dsyscall_64.tbl286 275 common splice sys_splice
/linux-6.1.9/arch/m68k/kernel/syscalls/
Dsyscall.tbl316 306 common splice sys_splice

12