Lines Matching refs:c_descr
455 struct ctio_descr *c_descr;
460 c_descr = (struct ctio_descr *)
462 c_descr->event = AIO_DONE;
466 oo += run_queue(c_descr->atio);
585 struct ctio_descr *c_descr;
588 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
589 c_descr->event = CTIO_DONE;
593 oo += run_queue(c_descr->atio);
615 struct ctio_descr *c_descr;
634 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
635 c_descr->atio = atio;
637 c_descr->offset = a_descr->base_off + a_descr->targ_req;
639 c_descr->offset = a_descr->base_off + a_descr->init_req;
641 c_descr->offset = a_descr->base_off;
688 struct ctio_descr *c_descr;
690 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
691 if (c_descr->atio == NULL) {
694 ioq = &((struct atio_descr *)c_descr->atio->ccb_h.targ_descr)->cmplt_io;
704 if (curr_descr->offset <= c_descr->offset) {
734 struct ctio_descr *c_descr;
737 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
748 if ((c_descr->event == AIO_DONE &&
749 c_descr->offset == a_descr->base_off + a_descr->targ_ack)
750 || (c_descr->event == CTIO_DONE &&
751 c_descr->offset == a_descr->base_off + a_descr->init_ack)) {
753 event = c_descr->event;
757 tcmd_handle(atio, ctio, c_descr->event);
766 a_descr, c_descr->event == AIO_DONE?
846 struct ctio_descr *c_descr;
859 c_descr = (struct ctio_descr *)malloc(sizeof(*c_descr));
860 if (c_descr == NULL) {
865 c_descr->buf = malloc(buf_size);
866 if (c_descr->buf == NULL) {
867 free(c_descr);
878 ctio->data_ptr = c_descr->buf;
879 ctio->ccb_h.targ_descr = c_descr;
880 c_descr->aiocb.aio_buf = c_descr->buf;
881 c_descr->aiocb.aio_fildes = file_fd;
882 se = &c_descr->aiocb.aio_sigevent;
896 struct ctio_descr *c_descr;
898 c_descr = (struct ctio_descr *)ccb->ccb_h.targ_descr;
899 free(c_descr->buf);