Lines Matching refs:offset
62 test_value(long offset, int generation) in test_value() argument
64 return (uint8_t) my_permute(offset * (generation + 1)); in test_value()
68 fill_buf(long offset, int generation, void *b, size_t len) in fill_buf() argument
72 *bp++ = test_value(offset++, generation); in fill_buf()
76 check_buf(long offset, int generation, void *b, size_t len) in check_buf() argument
80 if (test_value(offset, generation) != *bp++) { in check_buf()
81 return offset; in check_buf()
83 offset++; in check_buf()
119 off_t offset; in main() local
157 offset = 0; in main()
159 fseek(f, size * offsets[op] - offset, SEEK_CUR); in main()
161 offset = size * offsets[op] + size * per_op; in main()
178 offset = 0; in main()
180 fseek(f, size * offsets[op] - offset, SEEK_CUR); in main()
182 offset = size * offsets[op] + size * per_op; in main()