Home
last modified time | relevance | path

Searched refs:off_in (Results 1 – 10 of 10) sorted by relevance

/linux/tools/perf/util/
A Dcopyfile.c45 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()
A Dcopyfile.h14 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size);
/linux/fs/
A Dsplice.c1044 if (off_in || off_out) in do_splice()
1058 if (off_in) in do_splice()
1093 if (off_in) { in do_splice()
1096 offset = *off_in; in do_splice()
1105 if (!off_in) in do_splice()
1108 *off_in = offset; in do_splice()
1128 if (ipipe && off_in) in __do_splice()
1138 if (off_in) { in __do_splice()
1139 if (copy_from_user(&offset, off_in, sizeof(loff_t))) in __do_splice()
1332 SYSCALL_DEFINE6(splice, int, fd_in, loff_t __user *, off_in, in SYSCALL_DEFINE6() argument
[all …]
A Dread_write.c1528 SYSCALL_DEFINE6(copy_file_range, int, fd_in, loff_t __user *, off_in, in SYSCALL_DEFINE6() argument
1547 if (off_in) { in SYSCALL_DEFINE6()
1548 if (copy_from_user(&pos_in, off_in, sizeof(loff_t))) in SYSCALL_DEFINE6()
1567 if (off_in) { in SYSCALL_DEFINE6()
1568 if (copy_to_user(off_in, &pos_in, sizeof(loff_t))) in SYSCALL_DEFINE6()
A Dio_uring.c624 loff_t off_in; member
4085 sp->off_in = READ_ONCE(sqe->splice_off_in); in io_splice_prep()
4102 poff_in = (sp->off_in == -1) ? NULL : &sp->off_in; in io_splice()
/linux/drivers/scsi/qla2xxx/
A Dqla_nx.c366 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()
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()
403 m = &crb_128M_2M_map[CRB_BLK(off_in)].sub_block[CRB_SUBBLK(off_in)]; in qla82xx_pci_get_crb_addr_2M()
405 if (m->valid && (m->start_128M <= off_in) && (m->end_128M > off_in)) { in qla82xx_pci_get_crb_addr_2M()
410 *off_out = (void __iomem *)off_in; in qla82xx_pci_get_crb_addr_2M()
[all …]
/linux/include/linux/
A Dsplice.h81 extern long do_splice(struct file *in, loff_t *off_in,
A Dsyscalls.h545 asmlinkage long sys_splice(int fd_in, loff_t __user *off_in,
1021 asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in,
/linux/include/uapi/linux/
A Dfuse.h945 uint64_t off_in; member
/linux/fs/fuse/
A Dfile.c3030 .off_in = pos_in, in __fuse_copy_file_range()

Completed in 49 milliseconds