Searched refs:off_in (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/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-v5.10/fs/ |
D | splice.c | 1008 long do_splice(struct file *in, loff_t *off_in, struct file *out, in do_splice() argument 1024 if (off_in || off_out) in do_splice() 1038 if (off_in) in do_splice() 1073 if (off_in) { in do_splice() 1076 offset = *off_in; in do_splice() 1098 if (!off_in) in do_splice() 1101 *off_in = offset; in do_splice() 1109 static long __do_splice(struct file *in, loff_t __user *off_in, in __do_splice() argument 1121 if (ipipe && off_in) in __do_splice() 1131 if (off_in) { in __do_splice() [all …]
|
D | read_write.c | 1536 SYSCALL_DEFINE6(copy_file_range, int, fd_in, loff_t __user *, off_in, in SYSCALL_DEFINE6() argument 1555 if (off_in) { in SYSCALL_DEFINE6() 1556 if (copy_from_user(&pos_in, off_in, sizeof(loff_t))) in SYSCALL_DEFINE6() 1575 if (off_in) { in SYSCALL_DEFINE6() 1576 if (copy_to_user(off_in, &pos_in, sizeof(loff_t))) in SYSCALL_DEFINE6()
|
D | io_uring.c | 521 loff_t off_in; member 3661 sp->off_in = READ_ONCE(sqe->splice_off_in); in io_splice_prep() 3678 poff_in = (sp->off_in == -1) ? NULL : &sp->off_in; in io_splice()
|
/Linux-v5.10/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-v5.10/include/linux/ |
D | splice.h | 81 extern long do_splice(struct file *in, loff_t *off_in,
|
D | syscalls.h | 510 asmlinkage long sys_splice(int fd_in, loff_t __user *off_in, 981 asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in,
|
/Linux-v5.10/include/uapi/linux/ |
D | fuse.h | 901 uint64_t off_in; member
|
/Linux-v5.10/fs/fuse/ |
D | file.c | 3326 .off_in = pos_in, in __fuse_copy_file_range()
|