Lines Matching defs:iocb
163 /* note, iocb must go first! */
164 struct iocb iocb;
202 /* preallocated array of iocb pointers, only used in run_active */
203 struct iocb **iocbs;
340 s.st_size > (io->iocb.u.c.offset + io->res)) {
343 io->res, tst_strerrno(-io->res), io->iocb.aio_lio_opcode,
344 io->iocb.u.c.offset, io->buf_size);
354 io->io_oper->file_name, io->iocb.u.c.offset);
603 * build an aio iocb for an operation, based on oper->rw and the
605 * to the iocb, and things are ready for submission to aio after this
621 io_prep_pwrite(&io->iocb, oper->fd, io->buf, oper->reclen, oper->last_offset);
625 io_prep_pread(&io->iocb, oper->fd, io->buf, oper->reclen, oper->last_offset);
631 io_prep_pread(&io->iocb, oper->fd, io->buf, oper->reclen, rand_byte);
636 io_prep_pwrite(&io->iocb, oper->fd, io->buf, oper->reclen, rand_byte);
695 struct iocb **my_iocbs)
714 my_iocbs[i] = &io->iocb;
724 static void update_iou_counters(struct iocb **my_iocbs, int nr, struct timeval *tv_now)
738 static int run_built(struct thread_info *t, int num_ios, struct iocb **my_iocbs)
858 struct iocb **my_iocbs = t->iocbs;
941 t->iocbs = SAFE_MALLOC(sizeof(struct iocb *) * max_io_submit);
942 memset(t->iocbs, 0, max_io_submit * sizeof(struct iocb *));