Lines Matching defs:c_descr
478 struct ctio_descr *c_descr;
482 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
501 a_descr, c_descr->offset, a_descr->targ_req);
506 a_descr, c_descr->offset, a_descr->init_req);
587 struct ctio_descr *c_descr;
592 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
595 c_descr->offset = a_descr->base_off + a_descr->targ_req;
598 c_descr->offset = a_descr->base_off + a_descr->init_req;
604 c_descr->aiocb.aio_offset = c_descr->offset;
605 c_descr->aiocb.aio_nbytes = ctio->dxfer_len;
615 c_descr->offset / sector_size);
616 if (lseek(c_descr->aiocb.aio_fildes,
617 c_descr->aiocb.aio_offset, SEEK_SET) < 0) {
621 if (read(c_descr->aiocb.aio_fildes,
622 (void *)c_descr->aiocb.aio_buf,
631 c_descr->offset / sector_size);
632 if (aio_read(&c_descr->aiocb) < 0) {
669 struct ctio_descr *c_descr;
672 c_descr = (struct ctio_descr *)ctio->ccb_h.targ_descr;
676 if (!notaio && aio_return(&c_descr->aiocb) < 0) {
710 if (aio_write(&c_descr->aiocb) < 0) {
714 if (aio_read(&c_descr->aiocb) < 0) {
731 c_descr->offset / sector_size);
732 if (lseek(c_descr->aiocb.aio_fildes,
733 c_descr->aiocb.aio_offset, SEEK_SET) < 0) {
737 if (write(c_descr->aiocb.aio_fildes,
738 (void *) c_descr->aiocb.aio_buf,
748 c_descr->offset / sector_size);
749 if (aio_write(&c_descr->aiocb) < 0) {