/freebsd-current/sys/geom/union/ |
H A D | g_union.c | 52 static void g_union_config(struct gctl_req *req, struct g_class *mp, 58 static int g_union_destroy_geom(struct gctl_req *req, struct g_class *mp, 76 static void g_union_ctl_create(struct gctl_req *req, struct g_class *mp, bool); 77 static intmax_t g_union_fetcharg(struct gctl_req *req, const char *name); 79 static void g_union_ctl_destroy(struct gctl_req *req, struct g_class *mp, bool); 81 static void g_union_ctl_reset(struct gctl_req *req, struct g_class *mp, bool); 82 static void g_union_ctl_revert(struct gctl_req *req, struct g_class *mp, bool); 85 static void g_union_ctl_commit(struct gctl_req *req, struct g_class *mp, bool); 92 static int g_union_destroy(struct gctl_req *req, struct g_geom *gp, bool force); 98 g_union_config(struct gctl_req *req, struc argument 142 g_union_ctl_create(struct gctl_req *req, struct g_class *mp, bool verbose) argument 368 g_union_fetcharg(struct gctl_req *req, const char *name) argument 402 g_union_ctl_destroy(struct gctl_req *req, struct g_class *mp, bool verbose) argument 467 g_union_ctl_reset(struct gctl_req *req, struct g_class *mp, bool verbose) argument 523 g_union_ctl_revert(struct gctl_req *req, struct g_class *mp, bool verbose) argument 603 g_union_ctl_commit(struct gctl_req *req, struct g_class *mp, bool verbose) argument 1297 g_union_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument 1308 g_union_destroy(struct gctl_req *req, struct g_geom *gp, bool force) argument [all...] |
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_mbox_prop.h | 55 (tag_)->tag_hdr.val_len = sizeof((tag_)->body.req); \ 82 } req; member in union:msg_get_power_state::__anon271 98 } req; member in union:msg_set_power_state::__anon274 118 } req; member in union:msg_notify_xhci_reset::__anon277 139 } req; member in union:msg_get_clock_rate::__anon280 162 } req; member in union:msg_get_turbo::__anon283 178 } req; member in union:msg_set_turbo::__anon286 203 } req; member in union:msg_get_voltage::__anon289 219 } req; member in union:msg_set_voltage::__anon292 234 } req; member in union:msg_get_max_voltage::__anon295 249 } req; member in union:msg_get_min_voltage::__anon298 267 } req; member in union:msg_get_temperature::__anon301 282 } req; member in union:msg_get_max_temperature::__anon304 302 } req; member in union:bcm2835_mbox_tag_fb_w_h::__anon307 318 } req; member in union:bcm2835_mbox_tag_depth::__anon310 337 } req; member in union:bcm2835_mbox_tag_alpha_mode::__anon313 353 } req; member in union:bcm2835_mbox_tag_virtual_offset::__anon316 367 } req; member in union:bcm2835_mbox_tag_pitch::__anon319 381 } req; member in union:bcm2835_mbox_tag_allocate_buffer::__anon322 395 } req; member in union:bcm2835_mbox_tag_release_buffer::__anon325 408 } req; member in union:bcm2835_mbox_tag_touchbuf::__anon328 [all...] |
/freebsd-current/sbin/geom/misc/ |
H A D | subr.c | 384 gctl_error(struct gctl_req *req, const char *error, ...) argument 388 if (req != NULL && req->error != NULL) 391 if (req != NULL) { 392 vasprintf(&req->error, error, ap); 398 if (req != NULL && req->nerror == 0) 399 req->nerror = EINVAL; 403 gctl_get_param(struct gctl_req *req, size_t len, const char *pfmt, va_list ap) argument 411 for (i = 0; i < req 441 gctl_get_int(struct gctl_req *req, const char *pfmt, ...) argument 453 gctl_get_intmax(struct gctl_req *req, const char *pfmt, ...) argument 465 gctl_get_ascii(struct gctl_req *req, const char *pfmt, ...) argument 477 gctl_change_param(struct gctl_req *req, const char *name, int len, const void *value) argument 503 gctl_delete_param(struct gctl_req *req, const char *name) argument 531 gctl_has_param(struct gctl_req *req, const char *name) argument [all...] |
/freebsd-current/sys/geom/label/ |
H A D | g_label.c | 59 static int g_label_destroy_geom(struct gctl_req *req, struct g_class *mp, 65 static void g_label_config(struct gctl_req *req, struct g_class *mp, 129 g_label_destroy_geom(struct gctl_req *req __unused, struct g_class *mp, 222 g_label_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, argument 236 if (req != NULL) 237 gctl_error(req, "Label name %s is invalid.", label); 243 if (req != NULL) 244 gctl_error(req, "Label name %s is too long.", label); 256 if (req != NULL) { 257 gctl_error(req, "Provide 441 g_label_ctl_create(struct gctl_req *req, struct g_class *mp) argument 510 g_label_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument 557 g_label_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument [all...] |
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_private.h | 125 struct nvme_request *req; member in struct:nvme_async_event_request 134 struct nvme_request *req; member in struct:nvme_tracker 406 struct nvme_request *req); 408 struct nvme_request *req); 417 struct nvme_request *req); 421 struct nvme_request *req, 490 struct nvme_request *req; local 492 req = malloc(sizeof(*req), M_NVME, M_NOWAIT | M_ZERO); 493 if (req ! 505 struct nvme_request *req; local 518 struct nvme_request *req; local 527 struct nvme_request *req; local 540 struct nvme_request *req; local [all...] |
/freebsd-current/sys/dev/usb/serial/ |
H A D | uslcom.c | 496 struct usb_device_request req; local 498 req.bmRequestType = USLCOM_WRITE; 499 req.bRequest = USLCOM_IFC_ENABLE; 500 USETW(req.wValue, USLCOM_IFC_ENABLE_EN); 501 USETW(req.wIndex, sc->sc_iface_no); 502 USETW(req.wLength, 0); 505 &req, NULL, 0, 1000)) { 521 struct usb_device_request req; local 526 req.bmRequestType = USLCOM_WRITE; 527 req 541 struct usb_device_request req; local 564 struct usb_device_request req; local 588 struct usb_device_request req; local 639 struct usb_device_request req; local 731 struct usb_device_request req; local 751 struct usb_device_request req; local 871 struct usb_device_request req; local [all...] |
H A D | uplcom.c | 379 struct usb_device_request req; local 430 req.bmRequestType = UT_READ_VENDOR_DEVICE; 431 req.bRequest = UPLCOM_SET_REQUEST; 432 USETW(req.wValue, UPLCOM_STATUS_REG_PL2303HX); 433 req.wIndex[0] = sc->sc_data_iface_no; 434 req.wIndex[1] = 0; 435 USETW(req.wLength, 1); 436 err = usbd_do_request(sc->sc_udev, NULL, &req, buf); 588 struct usb_device_request req; local 595 req 609 struct usb_device_request req; local 663 struct usb_device_request req; local 687 struct usb_device_request req; local 711 struct usb_device_request req; local 860 struct usb_device_request req; local [all...] |
/freebsd-current/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-current/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_http.c | 16 const OCSP_REQUEST *req, int buf_size) 39 if (req != NULL 42 (const ASN1_VALUE *)req)) 51 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req) argument 57 ctx = OCSP_sendreq_new(b, path, req, 0 /* default buf_size */); 15 OCSP_sendreq_new(BIO *io, const char *path, const OCSP_REQUEST *req, int buf_size) argument
|
H A D | ocsp_cl.c | 30 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid) argument 38 if (req && !sk_OCSP_ONEREQ_push(req->tbsRequest.requestList, one)) { 47 int OCSP_request_set1_name(OCSP_REQUEST *req, const X509_NAME *nm) argument 58 GENERAL_NAME_free(req->tbsRequest.requestorName); 59 req->tbsRequest.requestorName = gen; 64 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert) argument 66 if (req->optionalSignature == NULL 67 && (req->optionalSignature = OCSP_SIGNATURE_new()) == NULL) 71 return ossl_x509_add_cert_new(&req 80 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-current/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-current/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_ulpi.c | 127 } __attribute__ ((packed)) *req = NULL; local 247 m->m_pkthdr.len = m->m_len = sizeof(*req); 248 req = mtod(m, struct acl_con_req *); 249 req->hdr.type = NG_HCI_CMD_PKT; 250 req->hdr.length = sizeof(req->cp); 251 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 254 bcopy(&ep->bdaddr, &req->cp.bdaddr, sizeof(req->cp.bdaddr)); 256 req 327 } __attribute__ ((packed)) *req = NULL; local 491 } __attribute__ ((packed)) *req = NULL; local 669 } __attribute__ ((packed)) *req = NULL; local 906 } __attribute__ ((packed)) *req = NULL; local 1155 } __attribute__ ((packed)) *req = NULL; local [all...] |
/freebsd-current/crypto/openssl/demos/certs/ |
H A D | mkcerts.sh | 8 CN="Test Root CA" $OPENSSL req -config ca.cnf -x509 -nodes \ 11 CN="Test Intermediate CA" $OPENSSL req -config ca.cnf -nodes \ 14 $OPENSSL x509 -req -in intreq.pem -CA root.pem -days 3600 \ 18 CN="Test Server Cert" $OPENSSL req -config ca.cnf -nodes \ 19 -keyout skey.pem -out req.pem -newkey rsa:1024 21 $OPENSSL x509 -req -in req.pem -CA intca.pem -CAkey intkey.pem -days 3600 \ 25 CN="Test Client Cert" $OPENSSL req -config ca.cnf -nodes \ 28 $OPENSSL x509 -req -in creq.pem -CA intca.pem -CAkey intkey.pem -days 3600 \ 32 CN="Test Revoked Cert" $OPENSSL req [all...] |
/freebsd-current/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...] |
/freebsd-current/crypto/openssl/crypto/cmp/ |
H A D | cmp_server.c | 154 * Only handles the first certification request contained in req 158 const OSSL_CMP_MSG *req) 169 if (!ossl_assert(srv_ctx != NULL && srv_ctx->ctx != NULL && req != NULL)) 172 switch (OSSL_CMP_MSG_get_bodytype(req)) { 188 if (OSSL_CMP_MSG_get_bodytype(req) == OSSL_CMP_PKIBODY_P10CR) { 190 p10cr = req->body->value.p10cr; 192 OSSL_CRMF_MSGS *reqs = req->body->value.ir; /* same for cr and kur */ 211 if (!ossl_cmp_verify_popo(srv_ctx->ctx, req, srv_ctx->acceptRAVerified)) { 219 OSSL_CMP_PKIHEADER *hdr = OSSL_CMP_MSG_get0_header(req); 221 si = srv_ctx->process_cert_request(srv_ctx, req, certReqI 157 process_cert_request(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 249 process_rr(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 297 process_genm(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 314 process_error(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 331 process_certConf(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 389 process_pollReq(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 433 unprotected_exception(const OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req, int invalid_protection, int accept_unprotected_requests) argument 457 OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req) argument 649 OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx, const OSSL_CMP_MSG *req) argument [all...] |
/freebsd-current/sys/contrib/openzfs/contrib/initramfs/hooks/ |
H A D | zfs.in | 13 for req in "@sbindir@/zpool" "@sbindir@/zfs" "@mounthelperdir@/mount.zfs"; do 14 copy_exec "$req" || { 15 echo "$req not available!" >&2
|
/freebsd-current/libexec/ypxfr/ |
H A D | ypxfrd_getmap.c | 106 struct ypxfr_mapname req; local 111 req.xfrmap = map; 112 req.xfrdomain = domain; 113 req.xfrmap_filename = ""; 114 req.xfr_db_type = XFR_DB_BSD_HASH; /* 115 req.xfr_byte_order = XFR_ENDIAN_ANY; * Berkeley DB isn't 133 (xdrproc_t)xdr_ypxfr_mapname, (char *)&req,
|
/freebsd-current/contrib/wpa/src/wps/ |
H A D | http_client.h | 24 struct wpabuf *req, size_t max_response, 30 struct wpabuf *req, size_t max_response,
|
/freebsd-current/tools/regression/geom_gpt/ |
H A D | gctl_test_helper.c | 110 struct gctl_req *req; local 115 req = gctl_get_handle(); 116 assert(req != NULL); 141 gctl_rw_param(req, param, len, value); 143 gctl_ro_param(req, param, -1, value); 150 gctl_dump(req, stdout); 152 s = gctl_issue(req); 166 gctl_free(req);
|
/freebsd-current/crypto/openssl/demos/certs/apps/ |
H A D | mkacerts.sh | 8 CN="OpenSSL Test Root CA" $OPENSSL req -config apps.cnf -x509 -nodes \ 11 CN="OpenSSL Test Intermediate CA" $OPENSSL req -config apps.cnf -nodes \ 14 $OPENSSL x509 -req -in intreq.pem -CA root.pem -CAkey rootkey.pem -days 3630 \ 17 CN="Test Client Cert" $OPENSSL req -config apps.cnf -nodes \ 20 $OPENSSL x509 -req -in creq.pem -CA intca.pem -CAkey intkey.pem -days 3600 \ 24 CN="Test Server Cert" $OPENSSL req -config apps.cnf -nodes \ 27 $OPENSSL x509 -req -in sreq.pem -CA intca.pem -CAkey intkey.pem -days 3600 \ 31 CN="Test Server Cert #2" $OPENSSL req -config apps.cnf -nodes \ 34 $OPENSSL x509 -req -in sreq2.pem -CA intca.pem -CAkey intkey.pem -days 3600 \
|
/freebsd-current/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mcg.c | 543 struct mcast_req *req = NULL; local 550 req = list_first_entry(&group->pending_list, struct mcast_req, group_list); 551 list_del(&req->group_list); 552 list_del(&req->func_list); 553 --group->func[req->func].num_pend_reqs; 555 kfree(req); 585 struct mcast_req *req) 589 if (req->clean) 590 leave_mask = group->func[req->func].join_state; 592 status = check_leave(group, req 584 handle_leave_req(struct mcast_group *group, u8 leave_mask, struct mcast_req *req) argument 605 handle_join_req(struct mcast_group *group, u8 join_mask, struct mcast_req *req) argument 645 struct mcast_req *req = NULL; local 752 struct mcast_req *req; local 873 queue_req(struct mcast_req *req) argument 942 struct mcast_req *req; local 998 struct mcast_req *req = NULL; local 1066 struct mcast_req *req, *tmp local 1159 build_leave_mad(struct mcast_req *req) argument 1169 struct mcast_req *req, *tmp, *group_first = NULL; local 1202 struct mcast_req *req; local [all...] |
/freebsd-current/contrib/ntp/sntp/libevent/include/event2/ |
H A D | http.h | 395 * @param req a request object 401 void evhttp_send_error(struct evhttp_request *req, int error, 412 * @param req a request object 418 void evhttp_send_reply(struct evhttp_request *req, int code, 433 @param req a request object 438 void evhttp_send_reply_start(struct evhttp_request *req, int code, 449 @param req a request object 453 void evhttp_send_reply_chunk(struct evhttp_request *req, 464 @param req a request object 476 @param req [all...] |
/freebsd-current/contrib/libevent/include/event2/ |
H A D | http.h | 395 * @param req a request object 401 void evhttp_send_error(struct evhttp_request *req, int error, 412 * @param req a request object 418 void evhttp_send_reply(struct evhttp_request *req, int code, 433 @param req a request object 438 void evhttp_send_reply_start(struct evhttp_request *req, int code, 449 @param req a request object 453 void evhttp_send_reply_chunk(struct evhttp_request *req, 464 @param req a request object 476 @param req [all...] |
/freebsd-current/sys/dev/mpt/ |
H A D | mpt.c | 341 mpt_stdevent(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument 484 mpt_default_reply_handler(struct mpt_softc *mpt, request_t *req, argument 489 "Default Handler Called: req=%p:%u reply_descriptor=%x frame=%p\n", 490 req, req->serno, reply_desc, reply_frame); 501 mpt_config_reply_handler(struct mpt_softc *mpt, request_t *req, argument 505 if (req != NULL) { 510 cfgp = (MSG_CONFIG *)req->req_vbuf; 512 req->IOCStatus = le16toh(reply_frame->IOCStatus); 518 req 535 mpt_handshake_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 544 mpt_event_reply_handler(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc, MSG_DEFAULT_REPLY *reply_frame) argument 658 mpt_core_event(struct mpt_softc *mpt, request_t *req, MSG_EVENT_NOTIFY_REPLY *msg) argument 724 request_t *req; local 853 request_t *req; local 1194 mpt_free_request(struct mpt_softc *mpt, request_t *req) argument 1212 req, req->serno, ((MSG_REQUEST_HEADER *)req->req_vbuf)->Function)); local 1215 req, req->serno, ((MSG_REQUEST_HEADER *)req->req_vbuf)->Function)); local 1257 request_t *req; local 1283 mpt_send_cmd(struct mpt_softc *mpt, request_t *req) argument 1294 req, req->serno, ((MSG_REQUEST_HEADER *)req->req_vbuf)->Function)); local 1297 req, req->serno, ((MSG_REQUEST_HEADER *)req->req_vbuf)->Function)); local 1316 mpt_wait_req(struct mpt_softc *mpt, request_t *req, mpt_req_state_t state, mpt_req_state_t mask, int sleep_ok, int time_ms) argument 1578 mpt_issue_cfg_req(struct mpt_softc *mpt, request_t *req, cfgparms_t *params, bus_addr_t addr, bus_size_t len, int sleep_ok, int timeout_ms) argument 1625 request_t *req; local 1688 request_t *req; local 1730 request_t *req; local 1787 request_t *req; local 1827 request_t *req; local 2058 request_t *req; local 2094 request_t *req; local 2360 request_t *req = &mpt->request_pool[val]; local 2569 request_t *req = &mpt->request_pool[i]; local 2705 request_t *req = &mpt->request_pool[val]; local [all...] |
/freebsd-current/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 262 * \param req sysctl access structure 337 return (SYSCTL_OUT(req, results, strnlen(results, TOTAL_BUFLEN))); 409 struct netif_tx_request *req; local 411 req = RING_GET_REQUEST(&xnb_unit_pvt.txf, 414 req->flags = 0; 415 req->size = 69; /* arbitrary number for test */ 440 struct netif_tx_request *req; local 443 req = RING_GET_REQUEST(&xnb_unit_pvt.txf, 445 req->flags = NETTXF_more_data; 446 req 477 struct netif_tx_request *req; local 521 struct netif_tx_request *req; local 574 struct netif_tx_request *req; local 599 struct netif_tx_request *req; local 672 struct netif_tx_request *req; local 704 struct netif_tx_request *req; local 749 struct netif_tx_request *req; local 824 struct netif_tx_request *req; local 870 struct netif_tx_request *req; local 901 struct netif_tx_request *req; local 964 struct netif_tx_request *req; local 1123 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf, local 1163 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf, local 1209 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf, local 1283 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf, local 1319 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf, local 1367 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf, local 1661 struct netif_rx_request *req; local 1705 struct netif_rx_request *req; local 1778 struct netif_rx_request *req; local 1827 struct netif_rx_request *req; local 1896 struct netif_rx_request *req; local 1960 struct netif_rx_request *req; local 2020 struct netif_rx_request *req; local [all...] |