Lines Matching refs:file_offset
360 file_offset: u64, in read_to_mem()
368 file_offset: u64, in write_from_mem()
374 async fn punch_hole(&self, file_offset: u64, length: u64) -> Result<()>; in punch_hole()
377 async fn write_zeroes_at(&self, file_offset: u64, length: u64) -> Result<()>; in write_zeroes_at()
382 async fn read_double_buffered(&self, file_offset: u64, buf: &mut [u8]) -> Result<usize> { in read_double_buffered()
390 file_offset, in read_double_buffered()
407 async fn write_double_buffered(&self, file_offset: u64, buf: &[u8]) -> Result<usize> { in write_double_buffered()
414 file_offset, in write_double_buffered()
465 file_offset: u64, in read_to_mem()
470 .read_to_mem(Some(file_offset), mem, mem_offsets) in read_to_mem()
477 file_offset: u64, in write_from_mem()
482 .write_from_mem(Some(file_offset), mem, mem_offsets) in write_from_mem()
487 async fn punch_hole(&self, file_offset: u64, length: u64) -> Result<()> { in punch_hole()
490 return base::linux::discard_block(self.inner.as_source(), file_offset, length) in punch_hole()
494 .punch_hole(file_offset, length) in punch_hole()
499 async fn write_zeroes_at(&self, file_offset: u64, length: u64) -> Result<()> { in write_zeroes_at()
502 .write_zeroes_at(file_offset, length) in write_zeroes_at()
518 .write_from_vec(Some(file_offset + nwritten), buf) in write_zeroes_at()