Lines Matching refs:offset
68 * + Add in per-op stats - time and offset - so one could start mapping out
105 set_aio(struct aiocb *a, iot_t iot, int fd, off_t offset, int size, char *buf)
111 a->aio_offset = offset;
131 off_t file_size, offset;
166 * Lets instead treat random() as returning a block offset w/ block size
199 offset = random() % (file_size / io_size);
200 offset *= io_size;
201 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]);
209 offset = random() % (file_size / io_size);
210 offset *= io_size;
211 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);