/freebsd-11-stable/cddl/lib/libdtrace/ |
H A D | nfssrv.d | 39 ci_protocol = P->req->rq_xprt->xp_master->xp_netid == "tcp" ? "ipv4" : 40 P->req->rq_xprt->xp_master->xp_netid == "tcp6" ? "ipv6" : 43 ci_local = inet_ntoa6(&((conn_t *)P->req->rq_xprt->xp_xpc. 46 ci_remote = inet_ntoa6(&((conn_t *)P->req->rq_xprt->xp_xpc. 52 noi_xid = P->req->rq_xprt->xp_xid;
|
/freebsd-11-stable/sys/dev/tws/ |
H A D | tws_hdm.c | 47 extern void tws_q_insert_tail(struct tws_softc *sc, struct tws_request *req, 50 struct tws_request *req, u_int8_t q_type ); 52 extern void tws_cmd_complete(struct tws_request *req); 63 int tws_submit_command(struct tws_softc *sc, struct tws_request *req); 146 struct tws_request *req; local 153 req = tws_get_request(sc, TWS_REQ_TYPE_INTERNAL_CMD); 155 req = &sc->reqs[TWS_REQ_TYPE_INTERNAL_CMD]; 156 bzero(&req->cmd_pkt->cmd, sizeof(struct tws_command_apache)); 157 req->data = NULL; 158 req 245 struct tws_request *req; local 277 tws_submit_command(struct tws_softc *sc, struct tws_request *req) argument [all...] |
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | ef10_intr.c | 80 efx_mcdi_req_t req; local 93 req.emr_cmd = MC_CMD_TRIGGER_INTERRUPT; 94 req.emr_in_buf = payload; 95 req.emr_in_length = MC_CMD_TRIGGER_INTERRUPT_IN_LEN; 96 req.emr_out_buf = payload; 97 req.emr_out_length = MC_CMD_TRIGGER_INTERRUPT_OUT_LEN; 99 MCDI_IN_SET_DWORD(req, TRIGGER_INTERRUPT_IN_INTR_LEVEL, level); 101 efx_mcdi_execute(enp, &req); 103 if (req.emr_rc != 0) { 104 rc = req [all...] |
H A D | ef10_ev.c | 102 efx_mcdi_req_t req; local 107 req.emr_cmd = MC_CMD_SET_EVQ_TMR; 108 req.emr_in_buf = payload; 109 req.emr_in_length = MC_CMD_SET_EVQ_TMR_IN_LEN; 110 req.emr_out_buf = payload; 111 req.emr_out_length = MC_CMD_SET_EVQ_TMR_OUT_LEN; 113 MCDI_IN_SET_DWORD(req, SET_EVQ_TMR_IN_INSTANCE, instance); 114 MCDI_IN_SET_DWORD(req, SET_EVQ_TMR_IN_TMR_LOAD_REQ_NS, timer_ns); 115 MCDI_IN_SET_DWORD(req, SET_EVQ_TMR_IN_TMR_RELOAD_REQ_NS, timer_ns); 116 MCDI_IN_SET_DWORD(req, SET_EVQ_TMR_IN_TMR_MOD 151 efx_mcdi_req_t req; local 287 efx_mcdi_req_t req; local 410 efx_mcdi_req_t req; local 625 efx_mcdi_req_t req; local [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_private.h | 148 struct nvme_request *req; member in struct:nvme_async_event_request 158 struct nvme_request *req; member in struct:nvme_tracker 399 struct nvme_request *req); 401 struct nvme_request *req); 403 struct nvme_request *req); 413 struct nvme_request *req); 417 struct nvme_request *req, 450 struct nvme_request *req; local 452 req = uma_zalloc(nvme_request_zone, M_NOWAIT | M_ZERO); 453 if (req ! 465 struct nvme_request *req; local 479 struct nvme_request *req; local 490 struct nvme_request *req; local 503 struct nvme_request *req; local [all...] |
/freebsd-11-stable/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 851 struct vtscsi_request *req; local 856 req = vtscsi_dequeue_request(sc); 857 if (req == NULL) { 863 req->vsr_ccb = ccb; 865 error = vtscsi_execute_reset_dev_cmd(sc, req); 869 vtscsi_enqueue_request(sc, req); 872 vtscsi_dprintf(sc, VTSCSI_ERROR, "error=%d req=%p ccb=%p\n", 873 error, req, ccb); 886 struct vtscsi_request *req; local 892 req 1014 vtscsi_fill_scsi_cmd_sglist(struct vtscsi_softc *sc, struct vtscsi_request *req, int *readable, int *writable) argument 1070 vtscsi_execute_scsi_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1126 struct vtscsi_request *req; local 1146 vtscsi_complete_abort_timedout_scsi_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1190 struct vtscsi_request *req; local 1346 vtscsi_complete_scsi_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1387 vtscsi_poll_ctrl_req(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1400 vtscsi_execute_ctrl_req(struct vtscsi_softc *sc, struct vtscsi_request *req, struct sglist *sg, int readable, int writable, int flag) argument 1430 vtscsi_complete_abort_task_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1458 vtscsi_execute_abort_task_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1516 vtscsi_complete_reset_dev_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1542 vtscsi_execute_reset_dev_cmd(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1911 vtscsi_cancel_request(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 1957 struct vtscsi_request *req; local 2037 vtscsi_init_request(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 2057 struct vtscsi_request *req; local 2089 struct vtscsi_request *req; local 2104 vtscsi_enqueue_request(struct vtscsi_softc *sc, struct vtscsi_request *req) argument 2136 struct vtscsi_request *req; local 2151 vtscsi_complete_request(struct vtscsi_request *req) argument 2164 struct vtscsi_request *req; local 2301 vtscsi_printf_req(struct vtscsi_request *req, const char *func, const char *fmt, ...) argument [all...] |
/freebsd-11-stable/sys/dev/twa/ |
H A D | tw_osl.h | 58 /* Possible values of req->state. */ 64 /* Possible values of req->flags. */ 75 #define TW_OSLI_REQ_FLAGS_CCB (1<<8) /* req is ccb. */ 93 struct tw_cl_req_handle req_handle;/* tag to track req b/w OSL & CL */ 114 /* ptr to orig req for use during callback */ 119 struct tw_cl_req_packet req_pkt;/* req pkt understood by CL */ 230 tw_osli_req_q_insert_head(struct tw_osli_req_context *req, TW_UINT8 q_type) argument 232 mtx_lock_spin(req->ctlr->q_lock); 233 TW_CL_Q_INSERT_HEAD(&(req->ctlr->req_q_head[q_type]), &(req 242 tw_osli_req_q_insert_tail(struct tw_osli_req_context *req, TW_UINT8 q_type) argument 256 struct tw_osli_req_context *req = NULL; local 275 tw_osli_req_q_remove_item(struct tw_osli_req_context *req, TW_UINT8 q_type) argument [all...] |
/freebsd-11-stable/sys/fs/nandfs/ |
H A D | nandfs_ifile.c | 57 struct nandfs_alloc_request req; local 73 req.entrynum = nandfsdev->nd_last_ino + 1; 74 error = nandfs_find_free_entry(mdt, ifile, &req); 80 error = nandfs_get_entry_block(mdt, ifile, &req, &entry, 1); 87 inode = ((struct nandfs_inode *) req.bp_entry->b_data) + entry; 90 error = nandfs_alloc_entry(mdt, &req); 98 nandfsdev->nd_last_ino = req.entrynum; 99 error = nandfs_get_node(nmp, req.entrynum, node); 109 struct nandfs_alloc_request req; local 117 req 153 struct nandfs_alloc_request req; local 189 struct nandfs_alloc_request req; local [all...] |
H A D | nandfs_dat.c | 58 struct nandfs_alloc_request req; local 71 req.entrynum = 0; 74 error = nandfs_find_free_entry(mdt, dat, &req); 84 error = nandfs_get_entry_block(mdt, dat, &req, &entry, 1); 88 nandfs_abort_entry(&req); 95 dat_entry = (struct nandfs_dat_entry *) req.bp_entry->b_data; 101 error = nandfs_alloc_entry(mdt, &req); 111 *vblock = req.entrynum; 126 struct nandfs_alloc_request req; local 137 req 165 struct nandfs_alloc_request req; local 205 struct nandfs_alloc_request req; local 256 struct nandfs_alloc_request req; local [all...] |
/freebsd-11-stable/sys/geom/label/ |
H A D | g_label.c | 57 static int g_label_destroy_geom(struct gctl_req *req, struct g_class *mp, 62 static void g_label_config(struct gctl_req *req, struct g_class *mp, 117 g_label_destroy_geom(struct gctl_req *req __unused, struct g_class *mp, 195 g_label_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, argument 209 if (req != NULL) 210 gctl_error(req, "Label name %s is invalid.", label); 225 if (req != NULL) { 226 gctl_error(req, "Provider %s already exists.", 235 if (req != NULL) 236 gctl_error(req, "Canno 396 g_label_ctl_create(struct gctl_req *req, struct g_class *mp) argument 478 g_label_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument 525 g_label_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument [all...] |
/freebsd-11-stable/sys/dev/usb/serial/ |
H A D | uslcom.c | 506 struct usb_device_request req; local 508 req.bmRequestType = USLCOM_WRITE; 509 req.bRequest = USLCOM_IFC_ENABLE; 510 USETW(req.wValue, USLCOM_IFC_ENABLE_EN); 511 USETW(req.wIndex, sc->sc_iface_no); 512 USETW(req.wLength, 0); 515 &req, NULL, 0, 1000)) { 527 struct usb_device_request req; local 532 req.bmRequestType = USLCOM_WRITE; 533 req 547 struct usb_device_request req; local 570 struct usb_device_request req; local 594 struct usb_device_request req; local 626 struct usb_device_request req; local 718 struct usb_device_request req; local 738 struct usb_device_request req; local 859 struct usb_device_request req; local [all...] |
H A D | uplcom.c | 380 struct usb_device_request req; local 431 req.bmRequestType = UT_READ_VENDOR_DEVICE; 432 req.bRequest = UPLCOM_SET_REQUEST; 433 USETW(req.wValue, UPLCOM_STATUS_REG_PL2303HX); 434 req.wIndex[0] = sc->sc_data_iface_no; 435 req.wIndex[1] = 0; 436 USETW(req.wLength, 1); 437 err = usbd_do_request(sc->sc_udev, NULL, &req, buf); 589 struct usb_device_request req; local 596 req 610 struct usb_device_request req; local 664 struct usb_device_request req; local 688 struct usb_device_request req; local 712 struct usb_device_request req; local 861 struct usb_device_request req; local [all...] |
/freebsd-11-stable/crypto/openssl/util/ |
H A D | mkcerts.sh | 20 $SSLEAY req $CONF \ 23 -out pca-req.pem -nodes >/dev/null <<EOF 44 -req -signkey pca-key.pem \ 46 -in pca-req.pem -out pca-cert.pem 56 $SSLEAY req $CONF \ 59 -out ca-req.pem -nodes >/dev/null <<EOF 80 -req \ 83 -in ca-req.pem -out ca-cert.pem 93 $SSLEAY req $CONF \ 96 -out s512-req [all...] |
/freebsd-11-stable/crypto/heimdal/lib/ipc/ |
H A D | tc.c | 73 heim_idata req, rep; local 81 req.length = 0; 82 req.data = NULL; 84 ret = heim_ipc_call(ipc, &req, &rep, NULL); 92 ret = heim_ipc_async(ipc, &req, s, reply);
|
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | ssr.c | 56 uint8_t const *req = srv->req + sizeof(sdp_pdu_t); local 57 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; 75 if (req_end - req < 8) 80 SDP_GET8(type, req); 83 SDP_GET8(ssplen, req); 87 SDP_GET16(ssplen, req); 91 SDP_GET32(ssplen, req); 97 ptr = (uint8_t *) req [all...] |
/freebsd-11-stable/usr.sbin/nandtool/ |
H A D | nand_readoob.c | 45 struct nand_oob_rw req; local 88 req.page = page; 89 req.len = chip_params.oob_size; 90 req.data = buf; 92 if (ioctl(fd, NAND_IO_OOB_READ, &req) == -1) {
|
H A D | nand_writeoob.c | 44 struct nand_oob_rw req; local 95 req.page = page; 96 req.len = chip_params.oob_size; 97 req.data = buf; 99 if (ioctl(fd, NAND_IO_OOB_PROG, &req) == -1) {
|
/freebsd-11-stable/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_ulpi.c | 126 } __attribute__ ((packed)) *req = NULL; local 246 m->m_pkthdr.len = m->m_len = sizeof(*req); 247 req = mtod(m, struct acl_con_req *); 248 req->hdr.type = NG_HCI_CMD_PKT; 249 req->hdr.length = sizeof(req->cp); 250 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 253 bcopy(&ep->bdaddr, &req->cp.bdaddr, sizeof(req->cp.bdaddr)); 255 req 326 } __attribute__ ((packed)) *req = NULL; local 490 } __attribute__ ((packed)) *req = NULL; local 668 } __attribute__ ((packed)) *req = NULL; local 907 } __attribute__ ((packed)) *req = NULL; local 1156 } __attribute__ ((packed)) *req = NULL; local [all...] |
/freebsd-11-stable/sys/dev/virtio/block/ |
H A D | virtio_blk.c | 749 struct vtblk_request *req; local 763 req = malloc(sizeof(struct vtblk_request), M_DEVBUF, M_NOWAIT); 764 if (req == NULL) 767 MPASS(sglist_count(&req->vbr_hdr, sizeof(req->vbr_hdr)) == 1); 768 MPASS(sglist_count(&req->vbr_ack, sizeof(req->vbr_ack)) == 1); 771 vtblk_request_enqueue(sc, req); 780 struct vtblk_request *req; local 784 while ((req 796 struct vtblk_request *req; local 808 vtblk_request_enqueue(struct vtblk_softc *sc, struct vtblk_request *req) argument 817 struct vtblk_request *req; local 827 vtblk_request_requeue_ready(struct vtblk_softc *sc, struct vtblk_request *req) argument 837 struct vtblk_request *req; local 850 struct vtblk_request *req; local 890 vtblk_request_execute(struct vtblk_softc *sc, struct vtblk_request *req) argument 946 vtblk_request_error(struct vtblk_request *req) argument 968 struct vtblk_request *req; local 1001 struct vtblk_request *req; local 1021 struct vtblk_request *req; local 1051 struct vtblk_request *req; local 1131 struct vtblk_request *req; local 1169 vtblk_poll_request(struct vtblk_softc *sc, struct vtblk_request *req) argument 1273 struct vtblk_request *req; local 1295 struct vtblk_request *req; local [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_http.c | 86 static void http_basic_cb(struct evhttp_request *req, void *arg); 87 static void http_chunked_cb(struct evhttp_request *req, void *arg); 88 static void http_post_cb(struct evhttp_request *req, void *arg); 89 static void http_put_cb(struct evhttp_request *req, void *arg); 90 static void http_delete_cb(struct evhttp_request *req, void *arg); 91 static void http_delay_cb(struct evhttp_request *req, void *arg); 92 static void http_large_delay_cb(struct evhttp_request *req, void *arg); 93 static void http_badreq_cb(struct evhttp_request *req, void *arg); 94 static void http_dispatcher_cb(struct evhttp_request *req, void *arg); 95 static void http_on_complete_cb(struct evhttp_request *req, voi 235 struct evhttp_request *req = evhttp_request_new(NULL, NULL); local 287 http_basic_cb(struct evhttp_request *req, void *arg) argument 340 struct evhttp_request *req; member in struct:chunk_req_state 365 http_chunked_cb(struct evhttp_request *req, void *arg) argument 499 struct evhttp_request *req = arg; local 507 http_delay_cb(struct evhttp_request *req, void *arg) argument 518 http_badreq_cb(struct evhttp_request *req, void *arg) argument 558 struct evhttp_request *req = evhttp_request_new(NULL, NULL); local 677 http_large_delay_cb(struct evhttp_request *req, void *arg) argument 692 http_delete_cb(struct evhttp_request *req, void *arg) argument 758 http_sent_cb(struct evhttp_request *req, void *arg) argument 780 http_on_complete_cb(struct evhttp_request *req, void *arg) argument 972 struct evhttp_request *req = NULL; local 1077 struct evhttp_request *req = NULL; local 1172 struct evhttp_request *req[2] = { NULL }; local 1224 http_request_never_call(struct evhttp_request *req, void *arg) argument 1233 struct evhttp_request *req = arg; local 1254 struct evhttp_request *req = NULL; local 1327 http_request_done(struct evhttp_request *req, void *arg) argument 1357 http_request_expect_error(struct evhttp_request *req, void *arg) argument 1376 struct evhttp_request *req = NULL; local 1533 http_request_empty_done(struct evhttp_request *req, void *arg) argument 1572 http_dispatcher_cb(struct evhttp_request *req, void *arg) argument 1585 http_dispatcher_test_done(struct evhttp_request *req, void *arg) argument 1621 struct evhttp_request *req = NULL; local 1671 struct evhttp_request *req = NULL; local 1728 http_post_cb(struct evhttp_request *req, void *arg) argument 1761 http_postrequest_done(struct evhttp_request *req, void *arg) argument 1811 struct evhttp_request *req = NULL; local 1846 http_put_cb(struct evhttp_request *req, void *arg) argument 1879 http_putrequest_done(struct evhttp_request *req, void *arg) argument 1968 close_detect_done(struct evhttp_request *req, void *arg) argument 1987 struct evhttp_request *req; local 2001 close_detect_cb(struct evhttp_request *req, void *arg) argument 2027 struct evhttp_request *req = NULL; local 2861 struct evhttp_request *req = NULL; local 2967 http_chunked_request_done(struct evhttp_request *req, void *arg) argument 3006 struct evhttp_request *req = NULL; local 3079 struct evhttp_request *req = NULL; local 3116 http_stream_in_chunk(struct evhttp_request *req, void *arg) argument 3129 http_stream_in_done(struct evhttp_request *req, void *arg) argument 3148 struct evhttp_request *req = NULL; local 3199 http_stream_in_cancel_chunk(struct evhttp_request *req, void *arg) argument 3209 http_stream_in_cancel_done(struct evhttp_request *req, void *arg) argument 3220 struct evhttp_request *req = NULL; local 3246 http_connection_fail_done(struct evhttp_request *req, void *arg) argument 3273 struct evhttp_request *req = NULL; local 3309 http_connection_retry_done(struct evhttp_request *req, void *arg) argument 3338 struct evhttp_request *req = NULL; local 3541 http_request_bad(struct evhttp_request *req, void *arg) argument 3558 struct evhttp_request *req = NULL; local 3593 http_data_length_constraints_test_done(struct evhttp_request *req, void *arg) argument 3602 http_large_entity_test_done(struct evhttp_request *req, void *arg) argument 3616 struct evhttp_request *req = NULL; local 3691 struct evhttp_request *req; member in struct:terminate_state 3731 terminate_chunked_cb(struct evhttp_request *req, void *arg) argument 3886 struct evhttp_request *req = NULL; local [all...] |
/freebsd-11-stable/sbin/geom/misc/ |
H A D | subr.c | 387 gctl_error(struct gctl_req *req, const char *error, ...) argument 391 if (req != NULL && req->error != NULL) 394 if (req != NULL) { 395 vasprintf(&req->error, error, ap); 404 gctl_get_param(struct gctl_req *req, size_t len, const char *pfmt, va_list ap) argument 412 for (i = 0; i < req->narg; i++) { 413 argp = &req->arg[i]; 442 gctl_get_int(struct gctl_req *req, const char *pfmt, ...) argument 448 p = gctl_get_param(req, sizeo 454 gctl_get_intmax(struct gctl_req *req, const char *pfmt, ...) argument 466 gctl_get_ascii(struct gctl_req *req, const char *pfmt, ...) argument 478 gctl_change_param(struct gctl_req *req, const char *name, int len, const void *value) argument 504 gctl_delete_param(struct gctl_req *req, const char *name) argument 532 gctl_has_param(struct gctl_req *req, const char *name) argument [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | ptrace_machdep.c | 54 cpu_ptrace_xstate(struct thread *td, int req, void *addr, int data) argument 66 switch (req) { 143 cpu_ptrace_setbase(struct thread *td, int req, register_t r) argument 149 if (req == PT_SETFSBASE) { 163 cpu32_ptrace(struct thread *td, int req, void *addr, int data) argument 170 switch (req) { 189 error = cpu_ptrace_xstate(td, req, addr, data); 201 r = req == PT_GETFSBASE ? pcb->pcb_fsbase : pcb->pcb_gsbase; 214 cpu_ptrace_setbase(td, req, r); 227 cpu_ptrace(struct thread *td, int req, voi argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_cl.c | 87 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid) argument 96 if (req && !sk_OCSP_ONEREQ_push(req->tbsRequest->requestList, one)) { 108 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm) argument 119 if (req->tbsRequest->requestorName) 120 GENERAL_NAME_free(req->tbsRequest->requestorName); 121 req->tbsRequest->requestorName = gen; 127 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert) argument 130 if (!req->optionalSignature) 131 req 152 OCSP_request_sign(OCSP_REQUEST *req, X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, STACK_OF(X509) *certs, unsigned long flags) argument [all...] |
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpioc.c | 127 struct gpio_req req; local 164 bcopy(arg, &req, sizeof(req)); 165 res = GPIO_PIN_GET(sc->sc_pdev, req.gp_pin, 166 &req.gp_value); 168 req.gp_pin, req.gp_value); 169 bcopy(&req, arg, sizeof(req)); 172 bcopy(arg, &req, sizeo [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_pax.c | 93 static struct wpabuf * eap_pax_alloc_resp(const struct eap_pax_hdr *req, argument 107 pax->mac_id = req->mac_id; 108 pax->dh_group_id = req->dh_group_id; 109 pax->public_key_id = req->public_key_id; 117 const struct eap_pax_hdr *req, 134 if (req->flags & EAP_PAX_FLAGS_CE) { 141 left = req_plen - sizeof(*req); 150 pos = (const u8 *) (req + 1); 180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, 191 resp = eap_pax_alloc_resp(req, i 115 eap_pax_process_std_1(struct eap_pax_data *data, struct eap_method_ret *ret, u8 id, const struct eap_pax_hdr *req, size_t req_plen) argument 231 eap_pax_process_std_3(struct eap_pax_data *data, struct eap_method_ret *ret, u8 id, const struct eap_pax_hdr *req, size_t req_plen) argument 337 const struct eap_pax_hdr *req; local [all...] |