/freebsd-current/crypto/openssl/test/certs/ |
H A D | mkcert.sh | 66 # Usage: $0 req keyname dn1 dn2 ... 67 req() { function 74 openssl req -new -"${OPENSSL_SIGALG}" -key "${key}.pem" \ 75 -config <(printf "string_mask=%s\n[req]\n%s\n%s\n[dn]\n" \ 85 openssl req -new -"${OPENSSL_SIGALG}" -subj / -key "${key}.pem" \ 86 -config <(printf "[req]\n%s\n[dn]\nCN_default =\n" \ 95 openssl x509 -req -"${OPENSSL_SIGALG}" -out "${cert}.pem" \ 113 csr=$(req "$key" "CN = $cn") || return 1 154 csr=$(req "$key" "CN = $cn") || return 1 175 csr=$(req " [all...] |
/freebsd-current/sys/dev/mana/ |
H A D | hw_channel.c | 122 struct hwc_work_request *req) 128 sge = &req->sge; 129 sge->address = (uintptr_t)req->buf_sge_addr; 131 sge->size = req->buf_len; 133 memset(&req->wqe_req, 0, sizeof(struct gdma_wqe_request)); 134 req->wqe_req.sgl = sge; 135 req->wqe_req.num_sge = 1; 136 req->wqe_req.client_data_unit = 0; 138 err = mana_gd_post_and_ring(hwc_rxq->gdma_wq, &req->wqe_req, NULL); 590 struct hwc_work_request *req, 121 mana_hwc_post_rx_wqe(const struct hwc_wq *hwc_rxq, struct hwc_work_request *req) argument 589 mana_hwc_post_tx_wqe(const struct hwc_wq *hwc_txq, struct hwc_work_request *req, uint32_t dest_virt_rq_id, uint32_t dest_virt_rcq_id, bool dest_pf) argument 657 struct hwc_work_request *req; local 880 mana_hwc_send_request(struct hw_channel_context *hwc, uint32_t req_len, const void *req, uint32_t resp_len, void *resp) argument [all...] |
/freebsd-current/sys/dev/acpica/ |
H A D | acpi_resource.c | 73 struct lookup_irq_request *req; local 97 req = (struct lookup_irq_request *)context; 98 if (req->checkrid) { 99 if (req->counter != req->rid) { 100 req->counter++; 103 KASSERT(irq == req->irq, ("IRQ resources do not match")); 105 if (req->irq != irq) 108 req->found = 1; 109 req 120 struct lookup_irq_request req; local 180 struct lookup_irq_request req; local [all...] |
/freebsd-current/sbin/dump/ |
H A D | tape.c | 85 struct req { struct 102 struct req *req; /* buffer for requests */ member in struct:worker 124 reqsiz = (ntrec + 1) * sizeof(struct req); 146 workers[i].req = (struct req *)workers[i].tblock - ntrec - 1; 160 wp->req[trecno].dblk = (ufs2_daddr_t)0; 161 wp->req[trecno].count = 1; 181 wp->req[trecno].dblk = dblkno; 182 wp->req[trecn [all...] |
/freebsd-current/crypto/heimdal/kdc/ |
H A D | process.c | 61 KDC_REQ req; local 64 ret = decode_AS_REQ(req_buffer->data, req_buffer->length, &req, &len); 70 ret = _kdc_as_rep(context, config, &req, req_buffer, 72 free_AS_REQ(&req); 88 KDC_REQ req; local 91 ret = decode_TGS_REQ(req_buffer->data, req_buffer->length, &req, &len); 97 ret = _kdc_tgs_rep(context, config, &req, reply, 99 free_TGS_REQ(&req);
|
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_cfg_sysctl.c | 118 ret = sysctl_handle_string(oidp, buf, sizeof(buf), req); 119 if (ret != 0 || req->newptr == NULL) 169 ret = sysctl_handle_string(oidp, buf, sizeof(buf), req); 170 if (ret != 0 || req->newptr == NULL) 221 ret = sysctl_handle_string(oidp, buf, sizeof(buf), req); 222 if (ret != 0 || req->newptr == NULL) 258 ret = sysctl_handle_int(oidp, &num_user_processes, 0, req); 259 if (ret != 0 || req->newptr == NULL)
|
/freebsd-current/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_pke_replay_stats.c | 24 sbuf_new_for_sysctl(&sb, NULL, 256, req); 40 SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb));
|
H A D | adf_c4xxx_misc_error_stats.c | 26 sbuf_new_for_sysctl(&sb, NULL, 256, req); 36 SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb));
|
/freebsd-current/sys/dev/usb/template/ |
H A D | usb_template_mtp.c | 199 mtp_get_vendor_desc(const struct usb_device_request *req, uint16_t *plen) argument 209 if ((req->bmRequestType == UT_READ_VENDOR_DEVICE) && 210 (req->bRequest == MTP_BREQUEST) && (req->wValue[0] == 0) && 211 (req->wValue[1] == 0) && (req->wIndex[1] == 0) && 212 ((req->wIndex[0] == 4) || (req->wIndex[0] == 5))) {
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | testmode.c | 52 } __packed req = { local 64 req.tx_power = tx_power[0]; 68 &req, sizeof(req), false); 77 struct mt7915_tm_cmd req = { local 84 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(ATE_CTRL), &req, 85 sizeof(req), false); 95 } __packed req = { local 102 &req, sizeof(req), fals 109 struct mt7915_tm_cmd req = { local 125 struct mt7915_tm_cmd req = { local 140 struct mt7915_tm_cmd req = { local 175 struct mt7915_mcu_tx req = { .total = 1 }; local 501 struct mt7915_tm_rf_test req = { local 522 struct mt7915_tm_rf_test req = { local [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_ha.h | 135 void ctl_dt_req_free(struct ctl_ha_dt_req *req); 136 ctl_ha_status ctl_dt_single(struct ctl_ha_dt_req *req);
|
/freebsd-current/sys/vm/ |
H A D | vm_reserv.h | 49 int domain, int req, vm_page_t mpred, u_long npages, 53 int domain, int req, vm_page_t mpred);
|
/freebsd-current/sys/dev/ice/ |
H A D | ice_fw_logging.c | 142 * @req: sysctl request pointer 160 error = sysctl_handle_bool(oidp, &enabled, 0, req); 161 if ((error) || (req->newptr == NULL)) 177 * @req: sysctl request pointer 196 error = sysctl_handle_8(oidp, &resolution, 0, req); 197 if ((error) || (req->newptr == NULL)) 216 * @req: sysctl request pointer 242 error = sysctl_handle_bool(oidp, &enabled, 0, req); 243 if ((error) || (req->newptr == NULL)) 270 * @req [all...] |
/freebsd-current/sys/cddl/dev/dtrace/ |
H A D | dtrace_test.c | 65 error = sysctl_handle_int(oidp, &val, 0, req); 66 if (error || req->newptr == NULL)
|
/freebsd-current/contrib/wpa/src/eap_server/ |
H A D | eap_server_wsc.c | 170 struct wpabuf *req; local 172 req = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, 2, 174 if (req == NULL) { 181 wpabuf_put_u8(req, WSC_Start); /* Op-Code */ 182 wpabuf_put_u8(req, 0); /* Flags */ 184 return req; 190 struct wpabuf *req; local 207 req = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, plen, 209 if (req == NULL) { 215 wpabuf_put_u8(req, dat [all...] |
H A D | eap_server_gtc.c | 53 struct wpabuf *req; local 60 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, msg_len, 62 if (req == NULL) { 69 wpabuf_put_data(req, msg, msg_len); 73 return req;
|
H A D | eap_server_identity.c | 56 struct wpabuf *req; local 67 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req_data_len, 69 if (req == NULL) { 76 wpabuf_put_data(req, req_data, req_data_len); 78 return req;
|
H A D | eap_server_vendor_test.c | 75 struct wpabuf *req; local 77 req = eap_msg_alloc(EAP_VENDOR_ID, EAP_VENDOR_TYPE, 1, 79 if (req == NULL) { 85 wpabuf_put_u8(req, data->state == INIT ? 1 : 3); 87 return req;
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | verify_init.c | 79 krb5_data req; local 86 krb5_data_zero (&req); 160 &req); 170 &req, 181 krb5_data_free (&req);
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | bench_http.c | 51 static void http_basic_cb(struct evhttp_request *req, void *arg); 57 http_basic_cb(struct evhttp_request *req, void *arg) argument 64 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); 71 http_ref_cb(struct evhttp_request *req, void *arg) argument 78 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb);
|
/freebsd-current/crypto/openssl/crypto/ts/ |
H A D | ts_verify_ctx.c | 101 TS_VERIFY_CTX *TS_REQ_to_TS_VERIFY_CTX(TS_REQ *req, TS_VERIFY_CTX *ctx) argument 110 OPENSSL_assert(req != NULL); 118 if ((policy = req->policy_id) != NULL) { 124 imprint = req->msg_imprint; 136 if ((nonce = req->nonce) != NULL) {
|
/freebsd-current/sys/dev/sfxge/common/ |
H A D | siena_nic.c | 47 efx_mcdi_req_t req; local 52 req.emr_cmd = MC_CMD_NVRAM_TYPES; 53 req.emr_in_buf = payload; 54 req.emr_in_length = MC_CMD_NVRAM_TYPES_IN_LEN; 55 req.emr_out_buf = payload; 56 req.emr_out_length = MC_CMD_NVRAM_TYPES_OUT_LEN; 58 efx_mcdi_execute(enp, &req); 60 if (req.emr_rc != 0) { 61 rc = req.emr_rc; 65 if (req 432 efx_mcdi_req_t req; local [all...] |
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_init_fw_funcs.h | 228 * @param req - the NIG ETS initialization requirements. 235 struct init_ets_req* req, 245 * @param req - the NIG LB RLs initialization requirements. 249 struct init_nig_lb_rl_req* req); 260 * @param req - required mapping from prioirties to TCs. 264 struct init_nig_pri_tc_map_req* req); 275 * @param req - the PRS ETS initialization requirements. 279 struct init_ets_req* req); 291 * @param req - the BRB RAM initialization requirements. 295 struct init_brb_ram_req* req); [all...] |
/freebsd-current/contrib/libevent/test/ |
H A D | bench_http.c | 51 static void http_basic_cb(struct evhttp_request *req, void *arg); 57 http_basic_cb(struct evhttp_request *req, void *arg) argument 64 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); 71 http_ref_cb(struct evhttp_request *req, void *arg) argument 78 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb);
|
/freebsd-current/sys/kern/ |
H A D | subr_kdb.c | 161 sbuf_new_for_sysctl(&sbuf, NULL, 64, req); 181 error = sysctl_handle_string(oidp, buf, sizeof(buf), req); 182 if (error != 0 || req->newptr == NULL) 194 error = sysctl_wire_old_buffer(req, sizeof(int)); 197 error = sysctl_handle_int(oidp, &i, 0, req); 199 if (error != 0 || req->newptr == NULL) 212 error = sysctl_wire_old_buffer(req, sizeof(int)); 215 error = sysctl_handle_int(oidp, &i, 0, req); 217 if (error != 0 || req->newptr == NULL) 230 error = sysctl_handle_string(oidp, buf, sizeof(buf), req); [all...] |