/illumos-gate/usr/src/cmd/lp/lib/requests/ |
H A D | getrequest.c | 62 REQUEST *reqp; local 108 reqp = calloc(sizeof (*reqp), 1); 109 reqp->copies = 1; 110 reqp->priority = -1; 142 reqp->copies = atoi(p); 146 reqp->destination = Strdup(p); 150 appendlist (&reqp->file_list, p); 155 reqp->form = Strdup(p); 160 reqp [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_rng.c | 55 dca_request_t *reqp; local 59 if ((reqp = dca_getreq(dca, MCR2, 1)) == NULL) { 64 reqp->dr_kcf_req = req; 66 data = &reqp->dr_ctx.in_dup; 72 reqp->dr_out = data; 73 reqp->dr_in = NULL; 75 rv = dca_rngstart(dca, reqp); 77 if (reqp->destroy) 78 dca_destroyreq(reqp); 80 dca_freereq(reqp); 86 dca_rngstart(dca_t *dca, dca_request_t *reqp) argument 149 dca_rngdone(dca_request_t *reqp, int errno) argument [all...] |
H A D | dca_dsa.c | 60 dca_request_t *reqp = ctx->cc_provider_private; local 89 reqp->dr_job_stat = DS_DSASIGN; 90 reqp->dr_byte_stat = -1; 91 reqp->dr_in = data; 92 reqp->dr_out = sig; 93 reqp->dr_callback = dca_dsa_sign_done; 95 reqp->dr_kcf_req = req; 97 err = dca_gather(data, reqp->dr_ibuf_kaddr, SHA1LEN, 1); 106 (void) ddi_dma_sync(reqp->dr_ibuf_dmah, 0, SHA1LEN, 108 if (dca_check_dma_handle(dca, reqp 149 dca_dsa_sign_done(dca_request_t *reqp, int errno) argument 204 dca_request_t *reqp = ctx->cc_provider_private; local 325 dca_dsa_verify_done(dca_request_t *reqp, int errno) argument 388 dca_request_t *reqp = NULL; local 526 dca_request_t *reqp = ctx->cc_provider_private; local [all...] |
H A D | dca_3des.c | 60 dca_request_t *reqp = ctx->cc_provider_private; local 63 crypto_data_t *nin = &reqp->dr_ctx.in_dup; 125 reqp->dr_kcf_req = req; 126 reqp->dr_in = nin; 127 reqp->dr_out = out; 128 reqp->dr_job_stat = DS_3DESJOBS; 129 reqp->dr_byte_stat = DS_3DESBYTES; 131 rv = dca_3desstart(dca, flags, reqp); 168 dca_request_t *reqp = ctx->cc_provider_private; local 171 crypto_data_t *nin = &reqp 378 dca_3desstart(dca_t *dca, uint32_t flags, dca_request_t *reqp) argument 530 dca_3desdone(dca_request_t *reqp, int errno) argument [all...] |
H A D | dca_rsa.c | 66 dca_request_t *reqp = ctx->cc_provider_private; local 90 if (dca_length(out) < reqp->dr_ctx.modlen) { 93 dca_length(out), reqp->dr_ctx.modlen); 94 out->cd_length = reqp->dr_ctx.modlen; 99 if (out != in && out->cd_length > reqp->dr_ctx.modlen) 100 out->cd_length = reqp->dr_ctx.modlen; 103 if (len > reqp->dr_ctx.modlen) { 113 if (len < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC || 124 if (out->cd_length < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC || 126 reqp 209 dca_rsadone(dca_request_t *reqp, int errno) argument 297 dca_rsaverifydone(dca_request_t *reqp, int errno) argument 417 dca_request_t *reqp = NULL; local 606 dca_request_t *reqp = ctx->cc_provider_private; local [all...] |
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio_alloc.c | 166 aio_req_t *reqp; local 173 if ((reqp = _aio_freelist) == NULL) { 183 for (i = 0, reqp = _aio_freelist; i < nelem; i++, reqp++) { 184 reqp->req_state = AIO_REQ_FREE; 185 reqp->req_link = reqp + 1; 187 _aio_freelast = reqp - 1; 190 reqp = _aio_freelist; 192 if ((_aio_freelist = reqp 210 _aio_req_free(aio_req_t *reqp) argument [all...] |
H A D | posix_aio.c | 635 aio_req_t *reqp; local 656 if ((reqp = _aio_hash_del((aio_result_t *)resultp)) == NULL) { 661 ASSERT(reqp->req_head == NULL); 662 (void) _aio_req_remove(reqp); 664 _aio_req_free(reqp); 674 aio_req_t *reqp; local 712 if ((reqp = _aio_hash_del(resultp)) == NULL) 716 ASSERT(reqp->req_head == NULL); 717 (void) _aio_req_remove(reqp); 719 _aio_req_free(reqp); 728 _lio_remove(aio_req_t *reqp) argument 862 aio_req_t *reqp; local 942 aio_req_t *reqp; local 1553 aio_req_t *reqp; local 1720 aio_req_t *reqp; local [all...] |
H A D | aio.c | 351 aio_req_t *reqp; local 425 if ((reqp = _aio_req_alloc()) == NULL) { 431 * _aio_do_request() checks reqp->req_op to differentiate 434 reqp->req_op = mode; 435 reqp->req_resultp = resultp; 436 ap = &reqp->req_args; 442 if (_aio_hash_insert(resultp, reqp) != 0) { 443 _aio_req_free(reqp); 451 _aio_req_add(reqp, &__nextworker_rw, umode); 458 aio_req_t *reqp; local 691 aio_req_t *reqp; local 767 aio_req_t *reqp; local 803 _aio_cancel_req(aio_worker_t *aiowp, aio_req_t *reqp, int *canceled, int *done) argument 874 _aio_create_worker(aio_req_t *reqp, int mode) argument 1030 aio_req_t *reqp; /* current AIO request */ local 1209 aio_req_t *reqp; local 1260 _aio_req_mark_done(aio_req_t *reqp) argument 1313 aio_req_t *reqp; local 1343 _aiodone(aio_req_t *reqp, ssize_t retval, int error) argument 1515 _aio_fsync_del(aio_worker_t *aiowp, aio_req_t *reqp) argument 1594 aio_req_t *reqp; local 1657 aio_req_t *reqp; local 1693 _aio_set_result(aio_req_t *reqp, ssize_t retval, int error) argument 1713 _aio_req_add(aio_req_t *reqp, aio_worker_t **nextworker, int mode) argument 1859 aio_req_t *reqp; local 1915 _aio_req_del(aio_worker_t *aiowp, aio_req_t *reqp, int ostate) argument 1983 _aio_enq_doneq(aio_req_t *reqp) argument 2002 _aio_req_remove(aio_req_t *reqp) argument 2042 _aio_hash_insert(aio_result_t *resultp, aio_req_t *reqp) argument 2122 aio_req_t *reqp; local 2243 aio_req_t *reqp; local [all...] |
/illumos-gate/usr/src/common/bignum/ |
H A D | bignum.h | 116 void *reqp; member in struct:__anon1944
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_cm.c | 101 ibt_cm_req_rcv_t *reqp; local 113 reqp = &evp->cm_event.req; 114 rgid = reqp->req_prim_addr.av_dgid; /* requester gid */ 115 lgid = reqp->req_prim_addr.av_sgid; /* receiver gid */ 198 ipcm_info.SRCIP, reqp, RDS_SESSION_PASSIVE); 446 chanhdl = rds_ep_alloc_rc_channel(ep, reqp->req_prim_hca_port);
|
H A D | rdsib_ep.c | 1206 ibt_cm_req_rcv_t *reqp, uint8_t type) 1378 newp->session_rgid = reqp->req_prim_addr.av_dgid; 1379 newp->session_lgid = reqp->req_prim_addr.av_sgid; 1205 rds_session_create(rds_state_t *statep, ipaddr_t localip, ipaddr_t remip, ibt_cm_req_rcv_t *reqp, uint8_t type) argument
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 121 sbbc_msg_t request, *reqp = &request; local 148 sbdp_init_msg_pkt(reqp, DR_MBOX_SHOW_BOARD, len, (caddr_t)informp); 160 rv = sbbc_mbox_request_response(reqp, resp, sbdp_shw_bd_wait); 251 sbbc_msg_t request, *reqp = &request; local 276 sbdp_init_msg_pkt(reqp, DR_MBOX_ASSIGN, len, (caddr_t)informp); 282 rv = sbbc_mbox_request_response(reqp, resp, sbdp_mbox_wait); 302 sbbc_msg_t request, *reqp = &request; local 327 sbdp_init_msg_pkt(reqp, DR_MBOX_ASSIGN, len, (caddr_t)informp); 333 rv = sbbc_mbox_request_response(reqp, resp, sbdp_mbox_wait); 396 sbbc_msg_t request, *reqp local 495 sbbc_msg_t request, *reqp = &request; local 576 sbbc_msg_t request, *reqp = &request; local 630 sbbc_msg_t request, *reqp = &request; local 734 sbbc_msg_t request, *reqp = &request; local 807 sbbc_msg_t request, *reqp = &request; local 884 sbbc_msg_t request, *reqp = &request; local 909 sbbc_msg_t request, *reqp = &request; local 938 sbbc_msg_t request, *reqp = &request; local [all...] |
H A D | sghsc.c | 1225 sbbc_msg_t request, *reqp = &request; local 1233 reqp->msg_type.type = CPCI_MBOX; 1234 reqp->msg_status = 0xeeeeffff; 1235 reqp->msg_len = sizeof (cmd_info); 1236 reqp->msg_bytes = 8; 1237 reqp->msg_buf = (caddr_t)cmd_infop; 1238 reqp->msg_data[0] = 0; 1239 reqp->msg_data[1] = 0; 1253 reqp->msg_type.sub_type = CPCI_GET_SLOT_STATUS; 1255 reqp [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_mem.c | 620 * nsc_mem_sizes (nsc_mem_t *mem, size_t *usedp, size_t *hwmp, size_t *reqp) 631 * The reqp parameter is used to estimate the amount of special 635 nsc_mem_sizes(nsc_mem_t *mem, size_t *usedp, size_t *hwmp, size_t *reqp) argument 644 if (reqp) 645 *reqp = (size_t)ptob(mem->pagehwm);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | oplkmdrv.c | 92 int okm_process_req(okms_t *okmsp, okm_req_hdr_t *reqp, uint32_t len, 467 okm_req_hdr_t *reqp; local 482 reqp = okmsp->km_reqp; 539 reqp = (okm_req_hdr_t *)msgbuf; 540 reqp->krq_version = ntohl(reqp->krq_version); 541 reqp->krq_transid = ntohl(reqp->krq_transid); 542 reqp->krq_cmd = ntohl(reqp 578 okm_process_req(okms_t *okmsp, okm_req_hdr_t *reqp, uint32_t len, sckm_ioctl_getreq_t *ireqp, intptr_t data, int flag) argument 650 okm_req_hdr_t *reqp = okmsp->km_reqp; local 1083 okm_print_req(okm_req_hdr_t *reqp, uint32_t len) argument [all...] |
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_engine.c | 453 smp_action_get_request(const smp_action_t *ap, void **reqp, size_t *dlenp) argument 455 if (reqp != NULL) { 457 *reqp = ap->sa_request + ap->sa_request_data_off; 459 *reqp = NULL; 494 smp_action_get_request_frame(const smp_action_t *ap, void **reqp, size_t *alenp) argument 496 if (reqp != NULL) 497 *reqp = ap->sa_request;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio_subr.c | 81 aio_req_t *reqp = (aio_req_t *)aio->aio_private; local 82 struct buf *bp = &reqp->aio_req_buf; 136 bp->b_forw = (struct buf *)reqp; 157 reqp->aio_req_flags |= AIO_PAGELOCKDONE; 167 reqp->aio_req_cancel = cancel; 196 aio_req_t *reqp; local 214 reqp = (aio_req_t *)bp->b_forw; 215 fd = reqp->aio_req_fd; 220 tnf_offset, blkno, btodt(reqp->aio_req_uio.uio_loffset), 221 tnf_size, size, reqp 453 aio_zerolen(aio_req_t *reqp) argument 473 aphysio_unlock(aio_req_t *reqp) argument 504 aio_hash_delete(aio_t *aiop, struct aio_req_t *reqp) argument 540 aio_req_free(aio_t *aiop, aio_req_t *reqp) argument 573 aio_req_free_port(aio_t *aiop, aio_req_t *reqp) argument 593 aio_req_t *reqp; local 618 aio_enq(aio_req_t **qhead, aio_req_t *reqp, int qflg_new) argument 642 aio_deq(aio_req_t **qhead, aio_req_t *reqp) argument 668 aio_req_t *reqp = q2; local 805 aio_req_t *reqp; local 901 aio_req_t *reqp, *next; local 942 aio_req_t *reqp, *next; local 993 aio_req_t *reqp, *next; local 1027 aio_req_t *reqp, *next, *head; local 1094 aio_copyout_result(aio_req_t *reqp) argument 1173 aio_req_remove_portq(aio_t *aiop, aio_req_t *reqp) argument 1195 aio_req_t *reqp; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci.c | 597 power_req_t *reqp = (power_req_t *)arg; local 602 if ((reqp->request_type == PMR_REPORT_PMCAP) && 603 (reqp->req.report_pmcap_req.cap == PCI_PM_IDLESPEED)) {
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 766 power_req_t *reqp = (power_req_t *)arg; local 771 if ((reqp->request_type == PMR_REPORT_PMCAP) && 772 (reqp->req.report_pmcap_req.cap == PCI_PM_IDLESPEED))
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 1427 usb_ctrl_req_t *reqp = (usb_ctrl_req_t *)tw->tw_curr_xfer_reqp; local 1500 reqp->ctrl_attributes)) != USB_SUCCESS) { 1553 reqp->ctrl_attributes)) != USB_SUCCESS) { 1626 reqp->ctrl_attributes)) != USB_SUCCESS) { 1646 reqp->ctrl_attributes)) != USB_SUCCESS) {
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_req.c | 1724 * reqp - original requestp pointer 1735 usb_intr_req_t *reqp, 1742 if (reqp == NULL) { 1747 req_wrp = USBA_REQ2WRP(reqp); 1750 intr_reqp->intr_client_private = reqp->intr_client_private; 1751 intr_reqp->intr_timeout = reqp->intr_timeout; 1752 intr_reqp->intr_attributes = reqp->intr_attributes; 1753 intr_reqp->intr_len = reqp->intr_len; 1754 intr_reqp->intr_cb = reqp->intr_cb; 1755 intr_reqp->intr_exc_cb = reqp 1733 usba_hcdi_dup_intr_req( dev_info_t *dip, usb_intr_req_t *reqp, size_t len, usb_flags_t flags) argument 2191 usba_hcdi_dup_isoc_req( dev_info_t *dip, usb_isoc_req_t *reqp, usb_flags_t flags) argument [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_srv.c | 336 krb5_pa_pk_as_req *reqp = NULL; local 380 retval = k5int_decode_krb5_pa_pk_as_req(&k5data, &reqp); 386 print_buffer_bin(reqp->signedAuthPack.data, 387 reqp->signedAuthPack.length, 393 reqp->signedAuthPack.data, reqp->signedAuthPack.length, 521 if (reqp->kdcPkId.data != NULL) { 525 reqp->kdcPkId.data, reqp->kdcPkId.length, &valid_kdcPkId); 639 free_krb5_pa_pk_as_req(&reqp); 682 krb5_pa_pk_as_req *reqp = NULL; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_metad_subr.c | 106 ckncvt_set_record(mddb_userreq_t *reqp, md_error_t *ep) argument 112 if (reqp->ur_size == sizeof (*sr)) 116 if (reqp->ur_size >= sizeof (*sr)) 119 reqp->ur_data = (uintptr_t)Realloc((void *)(uintptr_t) 120 reqp->ur_data, sizeof (*sr)); 122 ((char *)(uintptr_t)reqp->ur_data) + reqp->ur_size, 123 '\0', sizeof (*sr) - reqp->ur_size); 124 reqp->ur_size = sizeof (*sr); 134 req = *reqp; /* structur 218 mddb_userreq_t *reqp = Zalloc(sizeof (*reqp)); local 308 mddb_userreq_t *reqp = NULL; local 878 mddb_userreq_t *reqp; local [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdb.c | 537 blkif_request_t req, *reqp = &req; local 564 while (xdb_get_request(vdp, reqp)) { 567 op = ddi_get8(vdp->xs_ring_hdl, &reqp->operation); 573 xdb_dump_request_oe(reqp); 593 bp = xdb_get_buf(vdp, reqp, xreq); 597 xdb_response(vdp, reqp, B_FALSE); 615 xdb_response(vdp, reqp, B_FALSE);
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 759 power_req_t *reqp = (power_req_t *)arg; local 773 char *ctlstr = ppm_get_ctlstr(reqp->request_type, mask); 785 switch (reqp->request_type) { 789 mode = (reqp->req.ppm_all_lowest_req.mode == PM_ALL_LOWEST); 798 ASSERT(reqp->req.ppm_set_power_req.who == rdip); 800 if (reqp->req.ppm_config_req.result != DDI_SUCCESS || 811 ppm_svc_resume_ctlop(rdip, reqp); 824 else if (reqp->request_type != PMR_PPM_UNLOCK_POWER) { 832 ppmd->path, ppm_get_ctlstr(reqp->request_type, D_LOCKS))) 835 ppm_lock_all(domp, reqp, resul 1069 ppm_manage_cpus(dev_info_t *dip, power_req_t *reqp, int *result) argument 1200 ppm_svc_resume_ctlop(dev_info_t *dip, power_req_t *reqp) argument 1505 ppm_manage_fet(dev_info_t *dip, power_req_t *reqp, int *result) argument 1927 ppm_manage_pci(dev_info_t *dip, power_req_t *reqp, int *result) argument 2070 ppm_manage_pcie(dev_info_t *dip, power_req_t *reqp, int *result) argument [all...] |