Home
last modified time | relevance | path

Searched refs:reqp (Results 1 – 25 of 54) sorted by relevance

123

/titanic_50/usr/src/uts/common/crypto/io/
H A Ddca_dsa.c60 dca_request_t *reqp = ctx->cc_provider_private; in dca_dsa_sign() local
89 reqp->dr_job_stat = DS_DSASIGN; in dca_dsa_sign()
90 reqp->dr_byte_stat = -1; in dca_dsa_sign()
91 reqp->dr_in = data; in dca_dsa_sign()
92 reqp->dr_out = sig; in dca_dsa_sign()
93 reqp->dr_callback = dca_dsa_sign_done; in dca_dsa_sign()
95 reqp->dr_kcf_req = req; in dca_dsa_sign()
97 err = dca_gather(data, reqp->dr_ibuf_kaddr, SHA1LEN, 1); in dca_dsa_sign()
106 (void) ddi_dma_sync(reqp->dr_ibuf_dmah, 0, SHA1LEN, in dca_dsa_sign()
108 if (dca_check_dma_handle(dca, reqp->dr_ibuf_dmah, in dca_dsa_sign()
[all …]
H A Ddca_rsa.c66 dca_request_t *reqp = ctx->cc_provider_private; in dca_rsastart() local
90 if (dca_length(out) < reqp->dr_ctx.modlen) { in dca_rsastart()
93 dca_length(out), reqp->dr_ctx.modlen); in dca_rsastart()
94 out->cd_length = reqp->dr_ctx.modlen; in dca_rsastart()
99 if (out != in && out->cd_length > reqp->dr_ctx.modlen) in dca_rsastart()
100 out->cd_length = reqp->dr_ctx.modlen; in dca_rsastart()
103 if (len > reqp->dr_ctx.modlen) { in dca_rsastart()
113 if (len < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC || in dca_rsastart()
124 if (out->cd_length < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC || in dca_rsastart()
126 reqp->dr_ctx.ctx_cm_type == RSA_X_509_MECH_INFO_TYPE) { in dca_rsastart()
[all …]
H A Ddca_rng.c55 dca_request_t *reqp; in dca_rng() local
59 if ((reqp = dca_getreq(dca, MCR2, 1)) == NULL) { in dca_rng()
64 reqp->dr_kcf_req = req; in dca_rng()
66 data = &reqp->dr_ctx.in_dup; in dca_rng()
72 reqp->dr_out = data; in dca_rng()
73 reqp->dr_in = NULL; in dca_rng()
75 rv = dca_rngstart(dca, reqp); in dca_rng()
77 if (reqp->destroy) in dca_rng()
78 dca_destroyreq(reqp); in dca_rng()
80 dca_freereq(reqp); in dca_rng()
[all …]
H A Ddca_3des.c60 dca_request_t *reqp = ctx->cc_provider_private; in dca_3des() local
63 crypto_data_t *nin = &reqp->dr_ctx.in_dup; in dca_3des()
125 reqp->dr_kcf_req = req; in dca_3des()
126 reqp->dr_in = nin; in dca_3des()
127 reqp->dr_out = out; in dca_3des()
128 reqp->dr_job_stat = DS_3DESJOBS; in dca_3des()
129 reqp->dr_byte_stat = DS_3DESBYTES; in dca_3des()
131 rv = dca_3desstart(dca, flags, reqp); in dca_3des()
168 dca_request_t *reqp = ctx->cc_provider_private; in dca_3desupdate() local
171 crypto_data_t *nin = &reqp->dr_ctx.in_dup; in dca_3desupdate()
[all …]
H A Ddca.c426 static int dca_bindchains_one(dca_request_t *reqp, size_t cnt, int dr_offset,
1150 dca_request_t *reqp; in dca_initworklist() local
1152 if ((reqp = dca_newreq(dca)) == NULL) { in dca_initworklist()
1156 reqp->dr_dca = dca; in dca_initworklist()
1157 reqp->dr_wlp = wlp; in dca_initworklist()
1158 dca_freereq(reqp); in dca_initworklist()
1232 dca_request_t *reqp; in dca_uninit() local
1243 while ((reqp = dca_getreq(dca, mcr, 0)) != NULL) { in dca_uninit()
1244 dca_destroyreq(reqp); in dca_uninit()
1590 dca_request_t *reqp; in dca_newreq() local
[all …]
/titanic_50/usr/src/cmd/lp/lib/requests/
H A Dgetrequest.c62 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->actions |= ACT_RESUME;
162 reqp->actions |= ACT_HOLD;
[all …]
/titanic_50/usr/src/uts/common/os/
H A Daio_subr.c81 aio_req_t *reqp = (aio_req_t *)aio->aio_private; in aphysio() local
82 struct buf *bp = &reqp->aio_req_buf; in aphysio()
136 bp->b_forw = (struct buf *)reqp; in aphysio()
157 reqp->aio_req_flags |= AIO_PAGELOCKDONE; in aphysio()
167 reqp->aio_req_cancel = cancel; in aphysio()
196 aio_req_t *reqp; in aio_done() local
214 reqp = (aio_req_t *)bp->b_forw; in aio_done()
215 fd = reqp->aio_req_fd; in aio_done()
220 tnf_offset, blkno, btodt(reqp->aio_req_uio.uio_loffset), in aio_done()
221 tnf_size, size, reqp->aio_req_uio.uio_iov->iov_len, in aio_done()
[all …]
H A Daio.c527 aio_req_t *reqp; in aiowait() local
559 if ((reqp = aio_req_remove(NULL)) != NULL) { in aiowait()
560 *rval = (long)reqp->aio_req_resultp; in aiowait()
590 if (reqp) { in aiowait()
591 aphysio_unlock(reqp); in aiowait()
592 aio_copyout_result(reqp); in aiowait()
594 aio_req_free(aiop, reqp); in aiowait()
813 aio_req_t *reqp, *nreqp; in aio_unlock_requests() local
816 for (reqp = reqlist; reqp != NULL; reqp = nreqp) { in aio_unlock_requests()
818 reqp->aio_req_iocb.iocb; in aio_unlock_requests()
[all …]
/titanic_50/usr/src/lib/libc/port/aio/
H A Daio.c351 aio_req_t *reqp; in _aiorw() local
425 if ((reqp = _aio_req_alloc()) == NULL) { in _aiorw()
434 reqp->req_op = mode; in _aiorw()
435 reqp->req_resultp = resultp; in _aiorw()
436 ap = &reqp->req_args; in _aiorw()
442 if (_aio_hash_insert(resultp, reqp) != 0) { in _aiorw()
443 _aio_req_free(reqp); in _aiorw()
451 _aio_req_add(reqp, &__nextworker_rw, umode); in _aiorw()
458 aio_req_t *reqp; in aiocancel() local
470 reqp = _aio_hash_find(resultp); in aiocancel()
[all …]
H A Daio_alloc.c166 aio_req_t *reqp; in _aio_req_alloc() local
173 if ((reqp = _aio_freelist) == NULL) { in _aio_req_alloc()
183 for (i = 0, reqp = _aio_freelist; i < nelem; i++, reqp++) { in _aio_req_alloc()
184 reqp->req_state = AIO_REQ_FREE; in _aio_req_alloc()
185 reqp->req_link = reqp + 1; in _aio_req_alloc()
187 _aio_freelast = reqp - 1; in _aio_req_alloc()
190 reqp = _aio_freelist; in _aio_req_alloc()
192 if ((_aio_freelist = reqp->req_link) == NULL) in _aio_req_alloc()
198 ASSERT(reqp->req_state == AIO_REQ_FREE); in _aio_req_alloc()
199 reqp->req_state = 0; in _aio_req_alloc()
[all …]
H A Dposix_aio.c635 aio_req_t *reqp; in aio_error() local
656 if ((reqp = _aio_hash_del((aio_result_t *)resultp)) == NULL) { in aio_error()
661 ASSERT(reqp->req_head == NULL); in aio_error()
662 (void) _aio_req_remove(reqp); in aio_error()
664 _aio_req_free(reqp); in aio_error()
674 aio_req_t *reqp; in aio_return() local
712 if ((reqp = _aio_hash_del(resultp)) == NULL) in aio_return()
716 ASSERT(reqp->req_head == NULL); in aio_return()
717 (void) _aio_req_remove(reqp); in aio_return()
719 _aio_req_free(reqp); in aio_return()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mbox.c121 sbbc_msg_t request, *reqp = &request; in sbdp_get_board_status() local
148 sbdp_init_msg_pkt(reqp, DR_MBOX_SHOW_BOARD, len, (caddr_t)informp); in sbdp_get_board_status()
160 rv = sbbc_mbox_request_response(reqp, resp, sbdp_shw_bd_wait); in sbdp_get_board_status()
251 sbbc_msg_t request, *reqp = &request; in sbdp_assign_board() local
276 sbdp_init_msg_pkt(reqp, DR_MBOX_ASSIGN, len, (caddr_t)informp); in sbdp_assign_board()
282 rv = sbbc_mbox_request_response(reqp, resp, sbdp_mbox_wait); in sbdp_assign_board()
302 sbbc_msg_t request, *reqp = &request; in sbdp_unassign_board() local
327 sbdp_init_msg_pkt(reqp, DR_MBOX_ASSIGN, len, (caddr_t)informp); in sbdp_unassign_board()
333 rv = sbbc_mbox_request_response(reqp, resp, sbdp_mbox_wait); in sbdp_unassign_board()
396 sbbc_msg_t request, *reqp = &request; in sbdp_connect_board() local
[all …]
H A Dsghsc.c1225 sbbc_msg_t request, *reqp = &request; in sghsc_scctl() local
1233 reqp->msg_type.type = CPCI_MBOX; in sghsc_scctl()
1234 reqp->msg_status = 0xeeeeffff; in sghsc_scctl()
1235 reqp->msg_len = sizeof (cmd_info); in sghsc_scctl()
1236 reqp->msg_bytes = 8; in sghsc_scctl()
1237 reqp->msg_buf = (caddr_t)cmd_infop; in sghsc_scctl()
1238 reqp->msg_data[0] = 0; in sghsc_scctl()
1239 reqp->msg_data[1] = 0; in sghsc_scctl()
1253 reqp->msg_type.sub_type = CPCI_GET_SLOT_STATUS; in sghsc_scctl()
1255 reqp->msg_len -= 4; in sghsc_scctl()
[all …]
/titanic_50/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c492 xcppm_detach_ctlop(dev_info_t *dip, power_req_t *reqp) in xcppm_detach_ctlop() argument
497 if (ppmd == NULL || reqp->req.ppm_config_req.result != DDI_SUCCESS) in xcppm_detach_ctlop()
512 xcppm_resume_ctlop(dev_info_t *dip, power_req_t *reqp) in xcppm_resume_ctlop() argument
908 xcppm_manage_cpus(dev_info_t *dip, power_req_t *reqp, int *result) in xcppm_manage_cpus() argument
920 switch (reqp->request_type) { in xcppm_manage_cpus()
931 old = reqp->req.ppm_set_power_req.old_level; in xcppm_manage_cpus()
932 new = reqp->req.ppm_set_power_req.new_level; in xcppm_manage_cpus()
992 if (reqp->req.ppm_set_power_req.canblock == PM_CANBLOCK_BLOCK) in xcppm_manage_cpus()
1013 reqp->req.ppm_set_power_req.cookie = (void *) devlist; in xcppm_manage_cpus()
1030 xcppm_manage_fet(dev_info_t *dip, power_req_t *reqp, int *result) in xcppm_manage_fet() argument
[all …]
/titanic_50/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c2411 usb_ctrl_req_t *reqp = NULL; in ugen_epx_ctrl_req() local
2448 reqp = usb_alloc_ctrl_req(ugenp->ug_dip, wLength, USB_FLAGS_NOSLEEP); in ugen_epx_ctrl_req()
2449 if (reqp == NULL) { in ugen_epx_ctrl_req()
2456 reqp->ctrl_bmRequestType = setup[0]; in ugen_epx_ctrl_req()
2457 reqp->ctrl_bRequest = setup[1]; in ugen_epx_ctrl_req()
2458 reqp->ctrl_wValue = (setup[3] << 8) | setup[2]; in ugen_epx_ctrl_req()
2459 reqp->ctrl_wIndex = (setup[5] << 8) | setup[4]; in ugen_epx_ctrl_req()
2460 reqp->ctrl_wLength = wLength; in ugen_epx_ctrl_req()
2461 reqp->ctrl_timeout = ugen_ctrl_timeout; in ugen_epx_ctrl_req()
2462 reqp->ctrl_attributes = USB_ATTRS_AUTOCLEARING | in ugen_epx_ctrl_req()
[all …]
H A Dusba10_calls.c245 usba10_usb_free_ctrl_req(usb_ctrl_req_t *reqp) in usba10_usb_free_ctrl_req() argument
247 usb_free_ctrl_req(reqp); in usba10_usb_free_ctrl_req()
254 usb_ctrl_req_t *reqp, in usba10_usb_pipe_ctrl_xfer() argument
257 return (usb_pipe_ctrl_xfer(pipe_handle, reqp, flags)); in usba10_usb_pipe_ctrl_xfer()
367 usba10_usb_free_bulk_req(usb_bulk_req_t *reqp) in usba10_usb_free_bulk_req() argument
369 usb_free_bulk_req(reqp); in usba10_usb_free_bulk_req()
376 usb_bulk_req_t *reqp, in usba10_usb_pipe_bulk_xfer() argument
379 return (usb_pipe_bulk_xfer(pipe_handle, reqp, flags)); in usba10_usb_pipe_bulk_xfer()
403 usba10_usb_free_intr_req(usb_intr_req_t *reqp) in usba10_usb_free_intr_req() argument
405 usb_free_intr_req(reqp); in usba10_usb_free_intr_req()
[all …]
H A Dusbai_req.c1735 usb_intr_req_t *reqp, in usba_hcdi_dup_intr_req() argument
1742 if (reqp == NULL) { in usba_hcdi_dup_intr_req()
1747 req_wrp = USBA_REQ2WRP(reqp); in usba_hcdi_dup_intr_req()
1750 intr_reqp->intr_client_private = reqp->intr_client_private; in usba_hcdi_dup_intr_req()
1751 intr_reqp->intr_timeout = reqp->intr_timeout; in usba_hcdi_dup_intr_req()
1752 intr_reqp->intr_attributes = reqp->intr_attributes; in usba_hcdi_dup_intr_req()
1753 intr_reqp->intr_len = reqp->intr_len; in usba_hcdi_dup_intr_req()
1754 intr_reqp->intr_cb = reqp->intr_cb; in usba_hcdi_dup_intr_req()
1755 intr_reqp->intr_exc_cb = reqp->intr_exc_cb; in usba_hcdi_dup_intr_req()
2193 usb_isoc_req_t *reqp, in usba_hcdi_dup_isoc_req() argument
[all …]
/titanic_50/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c92 int okm_process_req(okms_t *okmsp, okm_req_hdr_t *reqp, uint32_t len,
467 okm_req_hdr_t *reqp; in okm_get_req() local
482 reqp = okmsp->km_reqp; in okm_get_req()
539 reqp = (okm_req_hdr_t *)msgbuf; in okm_get_req()
540 reqp->krq_version = ntohl(reqp->krq_version); in okm_get_req()
541 reqp->krq_transid = ntohl(reqp->krq_transid); in okm_get_req()
542 reqp->krq_cmd = ntohl(reqp->krq_cmd); in okm_get_req()
543 reqp->krq_reserved = ntohl(reqp->krq_reserved); in okm_get_req()
546 if (reqp->krq_version != OKM_PROTOCOL_VERSION) { in okm_get_req()
547 (void) okm_send_reply(okmsp, reqp->krq_transid, in okm_get_req()
[all …]
/titanic_50/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c1158 sbbc_msg_t request, *reqp = &request; in sgfru_mbox() local
1166 reqp->msg_type.type = SGFRU_MBOX; in sgfru_mbox()
1174 reqp->msg_type.sub_type = SGFRU_MBOX_GETCHILDLIST; in sgfru_mbox()
1175 reqp->msg_len = sizeof (fru_info_t); in sgfru_mbox()
1176 reqp->msg_buf = (caddr_t)fru; in sgfru_mbox()
1183 reqp->msg_type.sub_type = SGFRU_MBOX_GETCHILDHANDLES; in sgfru_mbox()
1184 reqp->msg_len = sizeof (fru_info_t); in sgfru_mbox()
1185 reqp->msg_buf = (caddr_t)fru; in sgfru_mbox()
1192 reqp->msg_type.sub_type = SGFRU_MBOX_GETNODEINFO; in sgfru_mbox()
1193 reqp->msg_len = sizeof (fru_hdl_t); in sgfru_mbox()
[all …]
H A Dlw8.c837 sbbc_msg_t request, *reqp = &request; in lw8_lomcmd() local
843 reqp->msg_type.type = LW8_MBOX; in lw8_lomcmd()
844 reqp->msg_type.sub_type = cmd; in lw8_lomcmd()
851 reqp->msg_len = 0; in lw8_lomcmd()
852 reqp->msg_buf = (caddr_t)NULL; in lw8_lomcmd()
857 reqp->msg_len = sizeof (lom_ctl2_t); in lw8_lomcmd()
858 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
863 reqp->msg_len = sizeof (lom_prog_t); in lw8_lomcmd()
864 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
869 reqp->msg_len = sizeof (lw8_get_led_payload_t); in lw8_lomcmd()
[all …]
/titanic_50/usr/src/uts/common/io/ppm/
H A Dppm.c759 power_req_t *reqp = (power_req_t *)arg; in ppm_ctlops() local
773 char *ctlstr = ppm_get_ctlstr(reqp->request_type, mask); in ppm_ctlops()
785 switch (reqp->request_type) { in ppm_ctlops()
789 mode = (reqp->req.ppm_all_lowest_req.mode == PM_ALL_LOWEST); in ppm_ctlops()
798 ASSERT(reqp->req.ppm_set_power_req.who == rdip); in ppm_ctlops()
800 if (reqp->req.ppm_config_req.result != DDI_SUCCESS || in ppm_ctlops()
811 ppm_svc_resume_ctlop(rdip, reqp); in ppm_ctlops()
824 else if (reqp->request_type != PMR_PPM_UNLOCK_POWER) { in ppm_ctlops()
832 ppmd->path, ppm_get_ctlstr(reqp->request_type, D_LOCKS))) in ppm_ctlops()
835 ppm_lock_all(domp, reqp, result); in ppm_ctlops()
[all …]
/titanic_50/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c273 usb_free_ctrl_req(usb_ctrl_req_t *reqp) in usb_free_ctrl_req() argument
275 usba10_usb_free_ctrl_req(reqp); in usb_free_ctrl_req()
282 usb_ctrl_req_t *reqp, in usb_pipe_ctrl_xfer() argument
285 return (usba10_usb_pipe_ctrl_xfer(pipe_handle, reqp, flags)); in usb_pipe_ctrl_xfer()
395 usb_free_bulk_req(usb_bulk_req_t *reqp) in usb_free_bulk_req() argument
397 usba10_usb_free_bulk_req(reqp); in usb_free_bulk_req()
404 usb_bulk_req_t *reqp, in usb_pipe_bulk_xfer() argument
407 return (usba10_usb_pipe_bulk_xfer(pipe_handle, reqp, flags)); in usb_pipe_bulk_xfer()
431 usb_free_intr_req(usb_intr_req_t *reqp) in usb_free_intr_req() argument
433 usba10_usb_free_intr_req(reqp); in usb_free_intr_req()
[all …]
/titanic_50/usr/src/uts/common/sys/usb/usba/
H A Dusba10.h242 usba10_usb_free_ctrl_req(usb_ctrl_req_t *reqp);
247 usb_ctrl_req_t *reqp,
322 usba10_usb_free_bulk_req(usb_bulk_req_t *reqp);
327 usb_bulk_req_t *reqp,
342 usba10_usb_free_intr_req(usb_intr_req_t *reqp);
374 usb_isoc_req_t *reqp,
/titanic_50/usr/src/uts/i86pc/sys/
H A Dapic_common.h174 extern int apic_cpu_add(psm_cpu_request_t *reqp);
175 extern int apic_cpu_remove(psm_cpu_request_t *reqp);
176 extern int apic_cpu_ops(psm_cpu_request_t *reqp);
/titanic_50/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_common.c580 apic_cpu_ops(psm_cpu_request_t *reqp) in apic_cpu_ops() argument
582 if (reqp == NULL) { in apic_cpu_ops()
586 switch (reqp->pcr_cmd) { in apic_cpu_ops()
588 return (apic_cpu_add(reqp)); in apic_cpu_ops()
591 return (apic_cpu_remove(reqp)); in apic_cpu_ops()
594 return (apic_cpu_stop(reqp->req.cpu_stop.cpuid, in apic_cpu_ops()
595 reqp->req.cpu_stop.ctx)); in apic_cpu_ops()
845 apic_cpu_add(psm_cpu_request_t *reqp) in apic_cpu_add() argument
855 ASSERT(reqp != NULL); in apic_cpu_add()
856 reqp->req.cpu_add.cpuid = (processorid_t)-1; in apic_cpu_add()
[all …]

123