/linux-6.6.21/tools/perf/util/ |
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()
|
D | copyfile.h | 14 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size);
|
/linux-6.6.21/io_uring/ |
D | splice.c | 20 loff_t off_in; member 83 sp->off_in = READ_ONCE(sqe->splice_off_in); in io_splice_prep() 108 poff_in = (sp->off_in == -1) ? NULL : &sp->off_in; in io_splice()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | test_bpf_syscall_macro.c | 18 loff_t off_in, off_out; in test_bpf_syscall_macro() local 76 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro() 82 ASSERT_EQ(skel->bss->splice_off_in, (__u64)&off_in, "splice_arg2"); in test_bpf_syscall_macro()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | bpf_syscall_macro.c | 92 int BPF_KSYSCALL(splice_enter, int fd_in, loff_t *off_in, int fd_out, in BPF_KSYSCALL() argument 101 splice_off_in = (__u64)off_in; in BPF_KSYSCALL()
|
/linux-6.6.21/fs/ |
D | splice.c | 1243 long do_splice(struct file *in, loff_t *off_in, struct file *out, in do_splice() argument 1259 if (off_in || off_out) in do_splice() 1271 if (off_in) in do_splice() 1302 if (off_in) { in do_splice() 1305 offset = *off_in; in do_splice() 1315 if (!off_in) in do_splice() 1318 *off_in = offset; in do_splice() 1336 static long __do_splice(struct file *in, loff_t __user *off_in, in __do_splice() argument 1349 if (off_in) in __do_splice() 1364 if (off_in) { in __do_splice() [all …]
|
D | read_write.c | 1558 SYSCALL_DEFINE6(copy_file_range, int, fd_in, loff_t __user *, off_in, in SYSCALL_DEFINE6() argument 1577 if (off_in) { in SYSCALL_DEFINE6() 1578 if (copy_from_user(&pos_in, off_in, sizeof(loff_t))) in SYSCALL_DEFINE6() 1601 if (off_in) { in SYSCALL_DEFINE6() 1602 if (copy_to_user(off_in, &pos_in, sizeof(loff_t))) in SYSCALL_DEFINE6()
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 360 qla82xx_pci_set_crbwindow_2M(struct qla_hw_data *ha, ulong off_in, in qla82xx_pci_set_crbwindow_2M() argument 366 ha->crb_win = CRB_HI(off_in); in qla82xx_pci_set_crbwindow_2M() 377 __func__, ha->crb_win, win_read, off_in); in qla82xx_pci_set_crbwindow_2M() 379 *off_out = (off_in & MASK(16)) + CRB_INDIRECT_2M + ha->nx_pcibase; in qla82xx_pci_set_crbwindow_2M() 383 qla82xx_pci_get_crb_addr_2M(struct qla_hw_data *ha, ulong off_in, in qla82xx_pci_get_crb_addr_2M() argument 388 if (off_in >= QLA82XX_CRB_MAX) in qla82xx_pci_get_crb_addr_2M() 391 if (off_in >= QLA82XX_PCI_CAMQM && off_in < QLA82XX_PCI_CAMQM_2M_END) { in qla82xx_pci_get_crb_addr_2M() 392 *off_out = (off_in - QLA82XX_PCI_CAMQM) + in qla82xx_pci_get_crb_addr_2M() 397 if (off_in < QLA82XX_PCI_CRBSPACE) in qla82xx_pci_get_crb_addr_2M() 400 off_in -= QLA82XX_PCI_CRBSPACE; in qla82xx_pci_get_crb_addr_2M() [all …]
|
/linux-6.6.21/include/linux/ |
D | splice.h | 85 extern long do_splice(struct file *in, loff_t *off_in,
|
D | syscalls.h | 488 asmlinkage long sys_splice(int fd_in, loff_t __user *off_in, 898 asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in,
|
/linux-6.6.21/include/uapi/linux/ |
D | fuse.h | 1069 uint64_t off_in; member
|
/linux-6.6.21/fs/fuse/ |
D | file.c | 3095 .off_in = pos_in, in __fuse_copy_file_range()
|