Searched refs:off_in (Results 1 – 2 of 2) sorted by relevance
/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);
|