Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_dsa.c113 reqp->dr_in_paddr = reqp->dr_ibuf_paddr; in dca_dsa_sign()
121 kaddr = reqp->dr_ctx_kaddr + reqp->dr_offset; in dca_dsa_sign()
124 reqp->dr_out_paddr = reqp->dr_obuf_paddr; in dca_dsa_sign()
126 reqp->dr_out_next = reqp->dr_ctx_paddr + reqp->dr_offset; in dca_dsa_sign()
152 if (dca_check_dma_handle(reqp->dr_dca, reqp->dr_obuf_dmah, in dca_dsa_sign_done()
288 reqp->dr_in_paddr = reqp->dr_ibuf_paddr; in dca_dsa_verify()
290 reqp->dr_in_next = reqp->dr_ctx_paddr + reqp->dr_offset; in dca_dsa_verify()
292 reqp->dr_out_paddr = reqp->dr_obuf_paddr; in dca_dsa_verify()
297 kaddr = reqp->dr_ctx_kaddr + reqp->dr_offset; in dca_dsa_verify()
300 reqp->dr_ctx_paddr + reqp->dr_offset + DESC_SIZE); in dca_dsa_verify()
[all …]
H A Ddca_rsa.c171 len, reqp->dr_ctx.modlen, reqp->dr_ctx.pqfix)) != in dca_rsastart()
188 reqp->dr_in_paddr = reqp->dr_ibuf_head.dc_buffer_paddr; in dca_rsastart()
190 reqp->dr_in_len = reqp->dr_pkt_length; in dca_rsastart()
191 reqp->dr_out_paddr = reqp->dr_obuf_head.dc_buffer_paddr; in dca_rsastart()
193 reqp->dr_out_len = reqp->dr_pkt_length; in dca_rsastart()
233 reqp->dr_ctx.modlen, reqp->dr_ctx.mode); in dca_rsadone()
253 reqp->dr_pkt_length, reqp->dr_ctx.mode)) != in dca_rsadone()
326 reqp->dr_ctx.modlen, reqp->dr_ctx.mode); in dca_rsaverifydone()
346 reqp->dr_pkt_length, reqp->dr_ctx.mode)) != in dca_rsaverifydone()
474 bcopy(attrdata, reqp->dr_ctx.mod, reqp->dr_ctx.modlen); in dca_rsainit()
[all …]
H A Ddca_rng.c53 dca_request_t *reqp; in dca_rng() local
70 reqp->dr_out = data; in dca_rng()
71 reqp->dr_in = NULL; in dca_rng()
75 if (reqp->destroy) in dca_rng()
127 reqp->dr_out_paddr = reqp->dr_obuf_head.dc_buffer_paddr; in dca_rngstart()
128 reqp->dr_out_next = reqp->dr_obuf_head.dc_next_paddr; in dca_rngstart()
130 reqp->dr_out_len = reqp->dr_obuf_head.dc_buffer_length; in dca_rngstart()
162 reqp->dr_out, reqp->dr_param.dp_rng.dr_chunklen, 0); in dca_rngdone()
175 if (reqp->dr_out->cd_length < reqp->dr_out->cd_raw.iov_len) { in dca_rngdone()
176 errno = dca_rngstart(reqp->dr_dca, reqp); in dca_rngdone()
[all …]
H A Ddca_3des.c126 reqp->dr_in = nin; in dca_3des()
127 reqp->dr_out = out; in dca_3des()
496 reqp->dr_in_paddr = reqp->dr_ibuf_head.dc_buffer_paddr; in dca_3desstart()
497 reqp->dr_in_next = reqp->dr_ibuf_head.dc_next_paddr; in dca_3desstart()
499 reqp->dr_in_len = reqp->dr_ibuf_head.dc_buffer_length; in dca_3desstart()
510 reqp->dr_out_paddr = reqp->dr_obuf_head.dc_buffer_paddr; in dca_3desstart()
511 reqp->dr_out_next = reqp->dr_obuf_head.dc_next_paddr; in dca_3desstart()
513 reqp->dr_out_len = reqp->dr_obuf_head.dc_buffer_length; in dca_3desstart()
558 reqp->dr_out, reqp->dr_out_len, 0); in dca_3desdone()
609 errno = dca_3desstart(reqp->dr_dca, reqp->dr_flags, in dca_3desdone()
[all …]
H A Ddca.c1698 reqp->dr_ibuf_kaddr, reqp->dr_ibuf_dmah, in dca_newreq()
1709 reqp->dr_obuf_kaddr, reqp->dr_obuf_dmah, in dca_newreq()
1818 if (reqp) { in dca_getreq()
1897 reqp->dr_out_paddr = reqp->dr_in_paddr; in dca_bindchains()
1898 reqp->dr_out_len = reqp->dr_in_len; in dca_bindchains()
1899 reqp->dr_out_next = reqp->dr_in_next; in dca_bindchains()
2053 reqp, reqp->dr_in, reqp->dr_out, reqp->dr_ctx_kaddr, in dca_start()
2054 reqp->dr_ibuf_kaddr, reqp->dr_obuf_kaddr); in dca_start()
2056 reqp->dr_ctx_paddr, reqp->dr_ibuf_paddr, reqp->dr_obuf_paddr); in dca_start()
2401 reqp->dr_callback(reqp, err); in dca_done()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Daio_subr.c290 else if (reqp->aio_req_sigqp || reqp->aio_req_lio) in aio_done()
586 ASSERT(reqp->aio_req_prev->aio_req_next == reqp); in aio_verify_queue()
587 ASSERT(reqp->aio_req_next->aio_req_prev == reqp); in aio_verify_queue()
592 } while ((reqp = reqp->aio_req_next) != head); in aio_verify_queue()
613 reqp->aio_req_next = reqp; in aio_enq()
614 reqp->aio_req_prev = reqp; in aio_enq()
633 if (reqp->aio_req_next == reqp) { in aio_deq()
661 } while ((reqp = reqp->aio_req_next) != q2); in aio_cleanupq_concat()
1053 for (reqp = aiop->aio_free; reqp != NULL; reqp = next) { in aio_cleanup_exit()
1222 } while ((reqp = reqp->aio_req_next) != headp); in aio_close_port()
[all …]
H A Daio.c591 if (reqp) { in aiowait()
817 for (reqp = reqlist; reqp != NULL; reqp = nreqp) { in aio_unlock_requests()
830 for (reqp = reqlist; reqp != NULL; reqp = nreqp) { in aio_unlock_requests()
1069 for (reqp = found; reqp != NULL; reqp = next) { in aiosuspend()
1685 for (reqp = *bucket; reqp != NULL; in aio_list_get()
1686 reqp = reqp->aio_hash_next) { in aio_list_get()
2339 if (reqp->aio_req_next == reqp) { in aio_req_remove()
2365 if (reqp == reqp->aio_req_next) { in aio_req_remove()
2489 bzero(reqp, sizeof (*reqp)); in aio_req_alloc()
2503 reqp->aio_req.aio_uio = &reqp->aio_req_uio; in aio_req_alloc()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dgetrequest.c60 REQUEST *reqp; local
106 reqp = calloc(sizeof (*reqp), 1);
107 reqp->copies = 1;
108 reqp->priority = -1;
238 reqp->copies <= 0
239 || !reqp->file_list || !*(reqp->file_list)
240 || reqp->priority < -1 || 39 < reqp->priority
244 freerequest (reqp);
252 if (!reqp->destination || !*reqp->destination) {
257 if (!reqp->input_type || !*reqp->input_type) {
[all …]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio.c783 reqp = reqp->req_next; in _aio_cancel_work()
910 if (reqp) { in _aio_create_worker()
925 if (reqp) { in _aio_create_worker()
1185 if (_aio_hash_insert(reqp->req_resultp, reqp) != 0) in _aio_do_request()
1886 ASSERT(reqp != reqp->req_next); in _aio_req_get()
1984 reqp->req_next = reqp->req_prev = reqp; in _aio_enq_doneq()
2001 if (reqp && reqp->req_state != AIO_REQ_DONEQ) in _aio_req_remove()
2004 if (reqp) { in _aio_req_remove()
2017 if (reqp == reqp->req_next) { in _aio_req_remove()
2025 if (reqp) { in _aio_req_remove()
[all …]
H A Daio_alloc.c164 aio_req_t *reqp; in _aio_req_alloc() local
181 for (i = 0, reqp = _aio_freelist; i < nelem; i++, reqp++) { in _aio_req_alloc()
183 reqp->req_link = reqp + 1; in _aio_req_alloc()
185 _aio_freelast = reqp - 1; in _aio_req_alloc()
188 reqp = _aio_freelist; in _aio_req_alloc()
197 reqp->req_state = 0; in _aio_req_alloc()
198 reqp->req_link = NULL; in _aio_req_alloc()
201 return (reqp); in _aio_req_alloc()
208 _aio_req_free(aio_req_t *reqp) in _aio_req_free() argument
212 (void) memset(reqp, 0, sizeof (*reqp)); in _aio_req_free()
[all …]
H A Dposix_aio.c635 aio_req_t *reqp; in aio_error() local
664 _aio_req_free(reqp); in aio_error()
674 aio_req_t *reqp; in aio_return() local
719 _aio_req_free(reqp); in aio_return()
862 aio_req_t *reqp; in aio_cancel() local
879 if (reqp == NULL) { in aio_cancel()
941 aio_req_t *reqp; in __aio_waitn() local
1124 _lio_remove(reqp); in __aio_waitn()
1552 aio_req_t *reqp; in aio_return64() local
1597 _aio_req_free(reqp); in aio_return64()
[all …]
/illumos-gate/usr/src/test/nvme-tests/tests/libnvme/
H A Dbad-req.c34 nvme_id_req_fini(*reqp); in bad_id_req()
54 if (nvme_log_req_init(ctrl, reqp)) { in bad_log_req()
57 nvme_log_req_fini(*reqp); in bad_log_req()
80 nvme_log_req_fini(*reqp); in bad_log_req_by_name()
103 nvme_get_feat_req_fini(*reqp); in bad_get_feat_req()
126 nvme_get_feat_req_fini(*reqp); in bad_get_feat_req_by_name()
146 if (nvme_vuc_req_init(ctrl, reqp)) { in bad_vuc_req()
149 nvme_vuc_req_fini(*reqp); in bad_vuc_req()
172 nvme_fw_commit_req_fini(*reqp); in bad_fw_commit_req()
192 if (nvme_format_req_init(ctrl, reqp)) { in bad_format_req()
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mbox.c121 sbbc_msg_t request, *reqp = &request; in sbdp_get_board_status() local
251 sbbc_msg_t request, *reqp = &request; in sbdp_assign_board() local
302 sbbc_msg_t request, *reqp = &request; in sbdp_unassign_board() local
396 sbbc_msg_t request, *reqp = &request; in sbdp_connect_board() local
423 reqp->msg_data[0] = node; in sbdp_connect_board()
424 reqp->msg_data[1] = board; in sbdp_connect_board()
445 reqp->msg_data[0] = node; in sbdp_connect_board()
446 reqp->msg_data[1] = board; in sbdp_connect_board()
495 sbbc_msg_t request, *reqp = &request; in sbdp_disconnect_board() local
542 reqp->msg_data[0] = node; in sbdp_disconnect_board()
[all …]
H A Dsghsc.c1233 reqp->msg_type.type = CPCI_MBOX; in sghsc_scctl()
1234 reqp->msg_status = 0xeeeeffff; in sghsc_scctl()
1236 reqp->msg_bytes = 8; in sghsc_scctl()
1238 reqp->msg_data[0] = 0; in sghsc_scctl()
1239 reqp->msg_data[1] = 0; in sghsc_scctl()
1255 reqp->msg_len -= 4; in sghsc_scctl()
1260 reqp->msg_len -= 8; in sghsc_scctl()
1305 reqp->msg_len -= 8; in sghsc_scctl()
1318 reqp->msg_type.type, reqp->msg_type.sub_type, in sghsc_scctl()
1319 reqp->msg_len, (void *)reqp->msg_buf)); in sghsc_scctl()
[all …]
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c924 switch (reqp->request_type) { in xcppm_manage_cpus()
1048 switch (reqp->request_type) { in xcppm_manage_fet()
1150 switch (reqp->request_type) { in xcppm_manage_pciupa()
1272 switch (reqp->request_type) { in xcppm_manage_1394()
1350 switch (reqp->request_type) { in xcppm_lock_one()
1422 power_req_t *reqp = arg; in xcppm_ctlops() local
1439 switch (reqp->request_type) { in xcppm_ctlops()
1495 xcppm_detach_ctlop(rdip, reqp); in xcppm_ctlops()
1500 xcppm_resume_ctlop(rdip, reqp); in xcppm_ctlops()
1522 xcppm_lock_all(domp, reqp, result); in xcppm_ctlops()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c2464 if (reqp == NULL) { in ugen_epx_ctrl_req()
2578 reqp->ctrl_completion_reason, reqp->ctrl_cb_flags); in ugen_epx_ctrl_req_cb()
2688 (void *)ph, (void *)reqp, reqp->bulk_completion_reason, in ugen_epx_bulk_req_cb()
2951 reqp->intr_completion_reason, reqp->intr_cb_flags, in ugen_epx_intr_IN_req_cb()
3111 (void *)ph, (void *)reqp, reqp->intr_completion_reason, in ugen_epx_intr_OUT_req_cb()
3427 (void *)ph, (void *)reqp, reqp->isoc_completion_reason, in ugen_epx_isoc_IN_req_cb()
3428 reqp->isoc_cb_flags, (reqp->isoc_data == NULL) ? 0 : in ugen_epx_isoc_IN_req_cb()
3430 reqp->isoc_error_count, reqp->isoc_pkts_count); in ugen_epx_isoc_IN_req_cb()
3433 if (reqp->isoc_error_count == reqp->isoc_pkts_count) { in ugen_epx_isoc_IN_req_cb()
3442 if (reqp->isoc_data && !reqp->isoc_completion_reason) { in ugen_epx_isoc_IN_req_cb()
[all …]
H A Dusba10_calls.c246 usba10_usb_free_ctrl_req(usb_ctrl_req_t *reqp) in usba10_usb_free_ctrl_req() argument
248 usb_free_ctrl_req(reqp); in usba10_usb_free_ctrl_req()
255 usb_ctrl_req_t *reqp, in usba10_usb_pipe_ctrl_xfer() argument
258 return (usb_pipe_ctrl_xfer(pipe_handle, reqp, flags)); in usba10_usb_pipe_ctrl_xfer()
368 usba10_usb_free_bulk_req(usb_bulk_req_t *reqp) in usba10_usb_free_bulk_req() argument
370 usb_free_bulk_req(reqp); in usba10_usb_free_bulk_req()
377 usb_bulk_req_t *reqp, in usba10_usb_pipe_bulk_xfer() argument
380 return (usb_pipe_bulk_xfer(pipe_handle, reqp, flags)); in usba10_usb_pipe_bulk_xfer()
404 usba10_usb_free_intr_req(usb_intr_req_t *reqp) in usba10_usb_free_intr_req() argument
406 usb_free_intr_req(reqp); in usba10_usb_free_intr_req()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c467 okm_req_hdr_t *reqp; in okm_get_req() local
482 reqp = okmsp->km_reqp; 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()
563 kmem_free(reqp, len); in okm_get_req()
585 DUMP_REQ(reqp, len); in okm_process_req()
587 switch (reqp->krq_cmd) { in okm_process_req()
600 okmsp->km_reqp = reqp; in okm_process_req()
[all …]
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c1176 reqp->msg_buf = (caddr_t)fru; in sgfru_mbox()
1185 reqp->msg_buf = (caddr_t)fru; in sgfru_mbox()
1256 reqp->msg_len = size; in sgfru_mbox()
1257 reqp->msg_buf = datap; in sgfru_mbox()
1265 reqp->msg_len = size; in sgfru_mbox()
1274 reqp->msg_len = size; in sgfru_mbox()
1292 reqp->msg_len = size; in sgfru_mbox()
1293 reqp->msg_buf = datap; in sgfru_mbox()
1301 reqp->msg_len = size; in sgfru_mbox()
1319 reqp->msg_len = size; in sgfru_mbox()
[all …]
H A Dlw8.c843 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()
858 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
864 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
870 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
876 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
886 reqp->msg_buf = (caddr_t)arg; in lw8_lomcmd()
892 reqp->msg_len = 0; in lw8_lomcmd()
[all …]
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm.c759 power_req_t *reqp = (power_req_t *)arg; in ppm_ctlops() local
786 switch (reqp->request_type) { in ppm_ctlops()
812 ppm_svc_resume_ctlop(rdip, reqp); in ppm_ctlops()
839 ppm_lock_all(domp, reqp, result); in ppm_ctlops()
841 ppm_lock_one(ppmd, reqp, result); in ppm_ctlops()
968 reqp->req.ppm_config_req.result)) in ppm_ctlops()
1034 reqp->request_type); in ppm_ctlops()
1089 switch (reqp->request_type) { in ppm_manage_cpus()
1529 switch (reqp->request_type) { in ppm_manage_fet()
1950 switch (reqp->request_type) { in ppm_manage_pci()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c274 usb_free_ctrl_req(usb_ctrl_req_t *reqp) in usb_free_ctrl_req() argument
276 usba10_usb_free_ctrl_req(reqp); in usb_free_ctrl_req()
283 usb_ctrl_req_t *reqp, in usb_pipe_ctrl_xfer() argument
286 return (usba10_usb_pipe_ctrl_xfer(pipe_handle, reqp, flags)); in usb_pipe_ctrl_xfer()
396 usb_free_bulk_req(usb_bulk_req_t *reqp) in usb_free_bulk_req() argument
398 usba10_usb_free_bulk_req(reqp); in usb_free_bulk_req()
405 usb_bulk_req_t *reqp, in usb_pipe_bulk_xfer() argument
408 return (usba10_usb_pipe_bulk_xfer(pipe_handle, reqp, flags)); in usb_pipe_bulk_xfer()
432 usb_free_intr_req(usb_intr_req_t *reqp) in usb_free_intr_req() argument
434 usba10_usb_free_intr_req(reqp); in usb_free_intr_req()
[all …]
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme_feature.c323 nvme_get_feat_req_init(nvme_ctrl_t *ctrl, nvme_get_feat_req_t **reqp) in nvme_get_feat_req_init() argument
327 if (reqp == NULL) { in nvme_get_feat_req_init()
330 "%p", reqp)); in nvme_get_feat_req_init()
360 *reqp = req; in nvme_get_feat_req_init()
366 nvme_get_feat_req_t **reqp) in nvme_get_feat_req_init_by_disc() argument
375 if (reqp == NULL) { in nvme_get_feat_req_init_by_disc()
378 "%p", reqp)); in nvme_get_feat_req_init_by_disc()
427 *reqp = req; in nvme_get_feat_req_init_by_disc()
481 if (reqp == NULL) { in nvme_get_feat_req_init_by_name()
484 "%p", reqp)); in nvme_get_feat_req_init_by_name()
[all …]
H A Dlibnvme_log.c398 if (reqp == NULL) { in nvme_log_req_init()
401 reqp)); in nvme_log_req_init()
430 *reqp = req; in nvme_log_req_init()
436 nvme_log_req_t **reqp) in nvme_log_req_init_by_disc() argument
445 if (reqp == NULL) { in nvme_log_req_init_by_disc()
448 reqp)); in nvme_log_req_init_by_disc()
525 *reqp = req; in nvme_log_req_init_by_disc()
564 nvme_log_disc_t **discp, nvme_log_req_t **reqp) in nvme_log_req_init_by_name() argument
572 if (reqp == NULL) { in nvme_log_req_init_by_name()
575 reqp)); in nvme_log_req_init_by_name()
[all …]
H A Dlibnvme_format.c32 nvme_format_req_init(nvme_ctrl_t *ctrl, nvme_format_req_t **reqp) in nvme_format_req_init() argument
37 if (reqp == NULL) { in nvme_format_req_init()
40 reqp)); in nvme_format_req_init()
68 *reqp = req; in nvme_format_req_init()

123