Lines Matching refs:file_pos
22 unsigned long long file_pos; member
144 cur->file_pos = 0; in block_open()
162 cur->file_pos = (unsigned long long)offset; in block_seek()
165 cur->file_pos += (unsigned long long)offset; in block_seek()
170 assert(cur->file_pos < cur->size); in block_seek()
291 skip = cur->file_pos & (block_size - 1U); in block_read()
297 lba = (cur->file_pos + cur->base) / block_size; in block_read()
341 cur->file_pos += nbytes; in block_read()
404 skip = cur->file_pos & (block_size - 1U); in block_write()
410 lba = (cur->file_pos + cur->base) / block_size; in block_write()
485 cur->file_pos += nbytes; in block_write()