Searched refs:seekpos_aligned (Results 1 – 1 of 1) sorted by relevance
289 const off_t seekpos_aligned = pos - (pos % 512); in fs_read() local290 const size_t seek_delta = (size_t)(pos - seekpos_aligned); in fs_read()292 const size_t readsize = (size_t)(pos - seekpos_aligned) + readsize_aligned; in fs_read()295 if (lseek(fd, seekpos_aligned, 0) != seekpos_aligned) pdie("Seek to %lld",pos); in fs_read()329 const off_t seekpos_aligned = pos - (pos % 512); // TMN: in fs_test() local331 if (lseek(fd, seekpos_aligned, 0) != seekpos_aligned) pdie("Seek to %lld",pos); in fs_test()355 const off_t seekpos_aligned = pos - (pos % 512); in fs_write() local356 const size_t seek_delta = (size_t)(pos - seekpos_aligned); in fs_write()366 if (lseek(fd, seekpos_aligned, 0) != seekpos_aligned) pdie("Seek to %lld",seekpos_aligned); in fs_write()