Lines Matching refs:file_pos
28 unsigned long long file_pos; member
118 current_memmap_file.file_pos = 0; in memmap_block_open()
148 fp->file_pos = (unsigned long long)offset; in memmap_block_seek()
181 pos_after = fp->file_pos + length; in memmap_block_read()
182 assert((pos_after >= fp->file_pos) && (pos_after <= fp->size)); in memmap_block_read()
185 (void *)((uintptr_t)(fp->base + fp->file_pos)), length); in memmap_block_read()
190 fp->file_pos = pos_after; in memmap_block_read()
209 pos_after = fp->file_pos + length; in memmap_block_write()
210 assert((pos_after >= fp->file_pos) && (pos_after <= fp->size)); in memmap_block_write()
212 memcpy((void *)((uintptr_t)(fp->base + fp->file_pos)), in memmap_block_write()
218 fp->file_pos = pos_after; in memmap_block_write()