Lines Matching defs:cbp

905 	aiocb_t		*cbp, **ucbp;
988 if ((cbp = *ucbp++) == NULL)
992 &cbp->aio_resultp);
994 cbp64 = (aiocb64_32_t *)cbp;
1155 aio_req_assoc_port_rw(port_notify_t *pntfy, aiocb_t *cbp,
1169 port_init_event(pkevp, (uintptr_t)cbp, pntfy->portnfy_user,
1210 aiocb_t *cbp;
1323 cbp = *ucbp;
1325 if (cbp == NULL || copyin(cbp, aiocb, sizeof (*aiocb))) {
1338 cbp = NULL;
1350 lio_set_uerror(&cbp->aio_resultp, EBADF);
1366 lio_set_uerror(&cbp->aio_resultp, EBADF);
1388 lio_set_uerror(&cbp->aio_resultp, EBADFD);
1404 &cbp->aio_resultp, vp, 0);
1407 lio_set_uerror(&cbp->aio_resultp, error);
1425 (void) suword32(&cbp->aio_resultp.aio_errno,
1428 reqp->aio_req_iocb.iocb = (caddr_t)cbp;
1460 port_init_event(lpkevp, (uintptr_t)cbp,
1488 lio_set_uerror(&cbp->aio_resultp, error);
1561 aiocb_t *cbp, **ucbp;
1615 if ((cbp = *ucbp++) == NULL)
1618 if (head = aio_list_get(&cbp->aio_resultp))
1628 &(((aiocb64_32_t *)cbp)->aio_resultp)))
1729 alio_cleanup(aio_t *aiop, aiocb_t **cbp, int nent, int run_mode)
1738 if (cbp[i] == NULL)
1741 aiocb_64 = (aiocb64_32_t *)cbp[i];
1745 resultp = &cbp[i]->aio_resultp;
1752 cbp32 = (caddr32_t *)cbp;
2912 aiocb64_32_t *cbp;
3032 cbp = (aiocb64_32_t *)(uintptr_t)*ucbp;
3034 if (cbp == NULL || copyin(cbp, aiocb, sizeof (*aiocb))) {
3047 cbp = NULL;
3059 lio_set_uerror(&cbp->aio_resultp, EBADF);
3075 lio_set_uerror(&cbp->aio_resultp, EBADF);
3097 lio_set_uerror(&cbp->aio_resultp, EBADFD);
3115 (aio_result_t *)&cbp->aio_resultp, vp, 0);
3118 (aio_result_t *)&cbp->aio_resultp, vp, 0);
3122 lio_set_uerror(&cbp->aio_resultp, error);
3140 (void) suword32(&cbp->aio_resultp.aio_errno,
3203 lio_set_uerror(&cbp->aio_resultp, error);
3388 aiocb32_t *cbp;
3394 aiocb_t *cbp, **ucbp;
3519 cbp = (aiocb32_t *)(uintptr_t)*ucbp;
3520 if (cbp == NULL || copyin(cbp, aiocb32, sizeof (*aiocb32)))
3522 cbp = (aiocb_t *)*ucbp;
3523 if (cbp == NULL || copyin(cbp, aiocb, sizeof (*aiocb)))
3544 cbp = NULL;
3556 lio_set_uerror(&cbp->aio_resultp, EBADF);
3572 lio_set_uerror(&cbp->aio_resultp, EBADF);
3594 lio_set_uerror(&cbp->aio_resultp, EBADFD);
3610 (aio_result_t *)&cbp->aio_resultp, vp, 0);
3613 lio_set_uerror(&cbp->aio_resultp, error);
3631 (void) suword32(&cbp->aio_resultp.aio_errno,
3634 reqp->aio_req_iocb.iocb32 = (caddr32_t)(uintptr_t)cbp;
3680 port_init_event(lpkevp, (uintptr_t)cbp,
3708 lio_set_uerror(&cbp->aio_resultp, error);