Searched refs:off_in (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | copyfile.c | 45 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size) in copyfile_offset() argument 50 pgoff = off_in & ~(page_size - 1); in copyfile_offset() 51 off_in -= pgoff; in copyfile_offset() 53 ptr = mmap(NULL, off_in + size, PROT_READ, MAP_PRIVATE, ifd, pgoff); in copyfile_offset() 58 ssize_t ret = pwrite(ofd, ptr + off_in, size, off_out); in copyfile_offset() 65 off_in += ret; in copyfile_offset() 68 munmap(ptr, off_in + size); in copyfile_offset()
|
| H A D | copyfile.h | 14 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_bpf_syscall_macro.c | 18 loff_t off_in, off_out; in test_bpf_syscall_macro() local 72 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro() 78 ASSERT_EQ(skel->bss->splice_off_in, (__u64)&off_in, "splice_arg2"); in test_bpf_syscall_macro()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_syscall_macro.c | 90 int BPF_KSYSCALL(splice_enter, int fd_in, loff_t *off_in, int fd_out, in BPF_KSYSCALL() argument 99 splice_off_in = (__u64)off_in; in BPF_KSYSCALL()
|
| /linux/fs/ |
| H A D | splice.c | 1300 ssize_t do_splice(struct file *in, loff_t *off_in, struct file *out, in do_splice() argument 1316 if (off_in || off_out) in do_splice() 1328 if (off_in) in do_splice() 1359 if (off_in) { in do_splice() 1362 offset = *off_in; in do_splice() 1376 if (!off_in) in do_splice() 1379 *off_in = offset; in do_splice() 1397 static ssize_t __do_splice(struct file *in, loff_t __user *off_in, in __do_splice() argument 1410 if (off_in) in __do_splice() 1425 if (off_in) { in __do_splice() [all …]
|
| /linux/include/linux/ |
| H A D | splice.h | 84 ssize_t do_splice(struct file *in, loff_t *off_in, struct file *out,
|
| /linux/include/uapi/linux/ |
| H A D | fuse.h | 1173 uint64_t off_in; 1156 uint64_t off_in; global() member
|
| /linux/fs/fuse/ |
| H A D | file.c | 2946 .off_in = pos_in, in __fuse_copy_file_range()
|