/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ordered-data.c | 558 LIST_HEAD(splice); in btrfs_wait_ordered_extents() 567 list_splice_init(&root->ordered_extents, &splice); in btrfs_wait_ordered_extents() 568 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents() 569 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents() 596 list_splice_tail(&splice, &root->ordered_extents); in btrfs_wait_ordered_extents() 614 struct list_head splice; in btrfs_wait_ordered_roots() local 617 INIT_LIST_HEAD(&splice); in btrfs_wait_ordered_roots() 621 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots() 622 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots() 623 root = list_first_entry(&splice, struc in btrfs_wait_ordered_roots() [all...] |
H A D | disk-io.c | 4412 struct list_head splice; in btrfs_destroy_all_ordered_extents() local 4414 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents() 4417 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents() 4418 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents() 4419 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents() 4527 struct list_head splice; in btrfs_destroy_delalloc_inodes() local 4529 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes() 4532 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes() 4534 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes() 4536 btrfs_inode = list_first_entry(&splice, struc in btrfs_destroy_delalloc_inodes() 4562 struct list_head splice; btrfs_destroy_all_delalloc_inodes() local [all...] |
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/ |
H A D | trace-agent-rw.c | 127 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()
|
/kernel/linux/linux-6.6/rust/macros/ |
H A D | paste.rs | 83 tokens.splice(i + 3..i + 4, group.stream()); 90 tokens.splice(i..i + 1, group.stream());
|
H A D | pinned_drop.rs | 38 toks.splice(idx..idx, quote!(::kernel::init::));
|
/kernel/linux/linux-6.6/tools/virtio/virtio-trace/ |
H A D | trace-agent-rw.c | 127 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/splice/ |
H A D | default_file_splice_read.c | 7 splice(0, 0, 1, 0, 1<<30, 0); in main()
|
H A D | splice_read.c | 47 /* splice(2) file to stdout. */ in main() 48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main() 51 perror("splice"); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/splice/ |
H A D | default_file_splice_read.c | 7 splice(0, 0, 1, 0, 1<<30, 0); in main()
|
H A D | splice_read.c | 47 /* splice(2) file to stdout. */ in main() 48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main() 51 perror("splice"); in main()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | ordered-data.c | 690 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, in btrfs_wait_ordered_roots() [all...] |
H A D | disk-io.c | 4566 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...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpf_syscall_macro.c | 76 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | splice.c | 10 #include <linux/splice.h> 15 #include "splice.h"
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tls.c | 705 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() 824 /* Recv hald of the record, splice the other half */ in TEST_F() 826 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F() 854 i = splice(sel in TEST_F() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | Makefile | 14 pnode.o splice.o sync.o utimes.o d_path.o \
|
H A D | read_write.c | 19 #include <linux/splice.h> 1418 /* cross sb splice is allowed */ in generic_copy_file_checks() 1469 bool splice = flags & COPY_FILE_SPLICE; in vfs_copy_file_range() local 1497 if (!splice && file_out->f_op->copy_file_range) { in vfs_copy_file_range() 1504 if (!splice && file_in->f_op->remap_file_range && in vfs_copy_file_range()
|
H A D | remap_range.c | 13 #include <linux/splice.h>
|
/kernel/linux/linux-6.6/fs/ |
H A D | Makefile | 15 pnode.o splice.o sync.o utimes.o d_path.o \
|
H A D | read_write.c | 19 #include <linux/splice.h> 1429 /* cross sb splice is allowed */ in generic_copy_file_checks() 1480 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tls.c | 476 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), 0); in TEST_F() 492 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, 8000, 0), 0); in TEST_F() 494 EXPECT_GE(splice(p2[0], NULL, self->fd, NULL, 8000, 0), 0); in TEST_F() 515 EXPECT_GE(splice(p[0], NULL, self->fd, NULL, send_len, 0), send_len); in TEST_F() 530 EXPECT_GE(splice(self->cfd, NULL, p[1], NULL, send_len, 0), 0); in TEST_F()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
H A D | Makefile | 56 TARGETS += splice
|
/kernel/linux/linux-6.6/tools/testing/selftests/ |
H A D | Makefile | 81 TARGETS += splice
|
/kernel/linux/linux-6.6/rust/alloc/vec/ |
H A D | mod.rs | 84 pub use self::splice::Splice; 87 mod splice; modules 3177 /// let u: Vec<_> = v.splice(1..3, new).collect(); 3184 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A> in splice() functions
|
/kernel/linux/linux-6.6/fs/coda/ |
H A D | file.c | 26 #include <linux/splice.h>
|