Lines Matching refs:opio
75 ctx->opios = calloc(1, sizeof(struct opio) * num_iocbs); in opio_init()
76 ctx->free_opios = calloc(1, sizeof(struct opio *) * num_iocbs); in opio_init()
94 static inline struct opio *
103 free_opio(struct opioctx *ctx, struct opio *op) in free_opio()
105 memset(op, 0, sizeof(struct opio)); in free_opio()
110 restore_iocb(struct opio *op) in restore_iocb()
124 unsigned long end = start + (ctx->num_opios * sizeof(struct opio)); in iocb_optimized()
150 init_opio_list(struct opio *op) in init_opio_list()
155 static struct opio *
158 struct opio *op; in opio_iocb_init()
176 static inline struct opio *
180 return (struct opio *)io->data; in opio_get()
188 struct opio *ophead, *opio; in merge_tail() local
194 opio = opio_get(ctx, io); in merge_tail()
195 if (!opio) in merge_tail()
198 opio->head = ophead; in merge_tail()
200 ophead->list.tail = ophead->list.tail->next = opio; in merge_tail()
222 struct opio *ophead; in io_merge()
248 struct opio *op, *next; in expand_iocb()
251 op = (struct opio *)io->data; in expand_iocb()
294 struct opio *ophead, *op, *next; in expand_event()
297 ophead = (struct opio *)io->data; in expand_event()
380 print_optimized_iocbs(struct opioctx *ctx, struct opio *op, int *cnt) in print_optimized_iocbs()
397 struct opio *op; in print_merged_iocbs()
406 op = (struct opio *)io->data; in print_merged_iocbs()