Searched refs:req (Results 276 - 300 of 1174) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/net/
H A Dif_bridge.c600 error = sysctl_handle_int(oidp, &enable, 0, req);
1094 struct ifbreq *req = arg; local
1099 ifs = ifunit(req->ifbr_ifsname);
1230 struct ifbreq *req = arg; local
1233 bif = bridge_lookup_member(sc, req->ifbr_ifsname);
1245 struct ifbreq *req = arg; local
1249 bif = bridge_lookup_member(sc, req->ifbr_ifsname);
1254 req->ifbr_ifsflags = bif->bif_flags;
1255 req->ifbr_state = bp->bp_state;
1256 req
1285 struct ifbreq *req = arg; local
1464 struct ifbareq *req = arg; local
1499 struct ifbareq *req = arg; local
1507 struct ifbreq *req = arg; local
1588 struct ifbreq *req = arg; local
1601 struct ifbreq *req = arg; local
1614 struct ifbreq *req = arg; local
1628 struct ifbreq *req = arg; local
1667 struct ifbreq *req = arg; local
1690 struct ifbropreq *req = arg; local
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_tom.c151 struct cpl_smt_write_req *req; local
154 m = M_GETHDR_OFLD(0, CPL_PRIORITY_CONTROL, req);
161 req->wr.wrh_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
162 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SMT_WRITE_REQ, idx));
163 req->mtu_idx = NMTUS - 1; /* should be 0 but there's a T3 bug */
164 req->iff = idx;
165 memset(req->src_mac1, 0, sizeof(req->src_mac1));
166 memcpy(req->src_mac0, pi->hw_addr, ETHER_ADDR_LEN);
H A Dcxgb_listen.c229 struct cpl_pass_open_req *req; local
232 m = M_GETHDR_OFLD(lctx->qset, CPL_PRIORITY_CONTROL, req);
236 req->wr.wrh_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
237 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_PASS_OPEN_REQ, lctx->stid));
238 req->local_port = inp->inp_lport;
239 memcpy(&req->local_ip, &inp->inp_laddr, 4);
240 req->peer_port = 0;
241 req->peer_ip = 0;
242 req->peer_netmask = 0;
243 req
256 struct cpl_close_listserv_req *req; local
479 const struct cpl_pass_accept_req *req = mtod(m, void *); local
993 const struct cpl_abort_req_rss *req = mtod(m, void *); local
1080 struct cpl_abort_req *req; local
[all...]
/freebsd-11-stable/sys/geom/stripe/
H A Dg_stripe.c51 static int g_stripe_destroy_geom(struct gctl_req *req, struct g_class *mp,
83 error = sysctl_handle_int(oidp, &fast, 0, req);
84 if (error == 0 && req->newptr != NULL)
925 g_stripe_destroy_geom(struct gctl_req *req __unused,
1037 g_stripe_ctl_create(struct gctl_req *req, struct g_class *mp) argument
1051 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs));
1053 gctl_error(req, "No '%s' argument.", "nargs");
1057 gctl_error(req, "Too few arguments.");
1063 name = gctl_get_asciiparam(req, "arg0");
1065 gctl_error(req, "N
1153 g_stripe_ctl_destroy(struct gctl_req *req, struct g_class *mp) argument
1200 g_stripe_config(struct gctl_req *req, struct g_class *mp, const char *verb) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ocsp/
H A Docsp_vfy.c75 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req,
372 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, argument
380 if (!req->optionalSignature) {
384 gen = req->tbsRequest->requestorName;
391 ret = ocsp_req_find_signer(&signer, req, nm, certs, store, flags);
402 ret = OCSP_REQUEST_verify(req, skey);
415 req->optionalSignature->certs);
437 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, argument
443 signer = X509_find_by_subject(req->optionalSignature->certs, nm);
/freebsd-11-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c64 static void log_line(char *req);
173 log_line(char *req) argument
198 strcat(msg,req);
224 char req[1024]; local
227 lg = read(con_sock, req, 1024);
229 if ((p=strstr(req,"\n"))) *p=0;
230 if ((p=strstr(req,"\r"))) *p=0;
232 log_line(req);
234 c = strtok(req, " ");
/freebsd-11-stable/usr.sbin/yppush/
H A Dyppush_main.c282 ypreq_xfr req; local
311 req.map_parms.ordernum = atoi(data.data);
312 req.map_parms.domain = yppush_domain;
313 req.map_parms.peer = yppush_master;
314 req.map_parms.map = job->map;
315 req.transid = job->tid;
316 req.prog = job->prognum;
317 req.port = job->port;
345 if (ypproc_xfr_2(&req, clnt) == NULL) {
/freebsd-11-stable/include/rpc/
H A Drpcsec_gss.h120 bool_t (*callback)(struct svc_req *req,
161 bool_t rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred,
166 int rpc_gss_svc_max_data_length(struct svc_req *req, int max_tp_unit_len);
/freebsd-11-stable/sys/dev/mps/
H A Dmps_sas.h161 #define MPS_SET_SINGLE_LUN(req, lun) \
163 bzero((req)->LUN, 8); \
164 (req)->LUN[1] = lun; \
/freebsd-11-stable/tools/tools/usbtest/
H A Dusb_control_ep_test.c80 struct LIBUSB20_CONTROL_SETUP_DECODED req; local
106 LIBUSB20_INIT(LIBUSB20_CONTROL_SETUP, &req);
107 req.bmRequestType = 0x80; /* read */
108 req.bRequest = 0x06; /* descriptor */
109 req.wValue = 0x0200 | cfg; /* config descriptor */
110 req.wIndex = 0;
111 req.wLength = 255;
117 error = libusb20_dev_request_sync(pdev, &req, buffer,
128 error = libusb20_dev_request_sync(pdev, &req, buffer,
133 error = libusb20_dev_request_sync(pdev, &req, buffe
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_acpi.c281 * @req: atif sbios request struct
289 struct atif_sbios_requests *req)
304 memset(req, 0, sizeof(*req));
306 size = min(sizeof(*req), size);
307 memcpy(req, info->Buffer.Pointer, size);
308 DRM_DEBUG_DRIVER("SBIOS pending requests: %#x\n", req->pending);
310 count = hweight32(req->pending);
331 struct atif_sbios_requests req; local
345 count = radeon_atif_get_sbios_requests(handle, &req);
288 radeon_atif_get_sbios_requests(ACPI_HANDLE handle, struct atif_sbios_requests *req) argument
[all...]
/freebsd-11-stable/sys/geom/zero/
H A Dg_zero.c63 error = sysctl_handle_int(oidp, &g_zero_clear, 0, req);
64 if (error != 0 || req->newptr == NULL)
118 g_zero_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused,
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_mib.c75 linux_get_osname(req->td, osname);
76 error = sysctl_handle_string(oidp, osname, LINUX_MAX_UTSNAME, req);
77 if (error != 0 || req->newptr == NULL)
79 error = linux_set_osname(req->td, osname);
95 linux_get_osrelease(req->td, osrelease);
96 error = sysctl_handle_string(oidp, osrelease, LINUX_MAX_UTSNAME, req);
97 if (error != 0 || req->newptr == NULL)
99 error = linux_set_osrelease(req->td, osrelease);
115 oss_version = linux_get_oss_version(req->td);
116 error = sysctl_handle_int(oidp, &oss_version, 0, req);
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_tls_common.c197 struct wpabuf *req; local
222 req = eap_tls_msg_alloc(eap_type, plen, EAP_CODE_REQUEST, id);
223 if (req == NULL)
226 wpabuf_put_u8(req, flags); /* Flags */
228 wpabuf_put_be32(req, wpabuf_len(data->tls_out));
230 wpabuf_put_data(req, wpabuf_head_u8(data->tls_out) + data->tls_out_pos,
250 return req;
256 struct wpabuf *req; local
258 req = eap_tls_msg_alloc(eap_type, 1, EAP_CODE_REQUEST, id);
259 if (req
[all...]
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-control-setup.sh110 echo "[req]" > request.cfg
122 openssl req -key $SVR_BASE.key -config request.cfg -new -x509 -days $DAYS -out $SVR_BASE.pem || error "could not create $SVR_BASE.pem"
127 echo "[req]" > request.cfg
139 openssl req -key $CTL_BASE.key -config request.cfg -new | openssl x509 -req -days $DAYS -CA $SVR_BASE"_trust.pem" -CAkey $SVR_BASE.key -CAcreateserial -$HASH -out $CTL_BASE.pem
/freebsd-11-stable/sys/geom/virstor/
H A Dg_virstor.c167 g_virstor_config(struct gctl_req *req, struct g_class *cp, char const *verb) argument
173 version = gctl_get_paraml(req, "version", sizeof(*version));
175 gctl_error(req, "Failed to get 'version' argument");
179 gctl_error(req, "Userland and kernel versions out of sync");
185 virstor_ctl_add(req, cp);
187 virstor_ctl_stop(req, cp);
189 virstor_ctl_remove(req, cp);
191 gctl_error(req, "unknown verb: '%s'", verb);
199 virstor_ctl_stop(struct gctl_req *req, struct g_class *cp) argument
204 nargs = gctl_get_paraml(req, "narg
257 virstor_ctl_add(struct gctl_req *req, struct g_class *cp) argument
531 virstor_ctl_remove(struct gctl_req *req, struct g_class *cp) argument
[all...]
/freebsd-11-stable/sys/dev/ena/
H A Dena_sysctl.c393 error = sysctl_wire_old_buffer(req, sizeof(val));
396 error = sysctl_handle_32(oidp, &val, 0, req);
398 if (error != 0 || req->newptr == NULL)
431 error = sysctl_wire_old_buffer(req, sizeof(val));
434 error = sysctl_handle_32(oidp, &val, 0, req);
436 if (error != 0 || req->newptr == NULL)
480 error = sysctl_wire_old_buffer(req, sizeof(tmp));
483 error = sysctl_handle_int(oidp, &tmp, 0, req);
485 if (error != 0 || req->newptr == NULL)
529 error = sysctl_wire_old_buffer(req, sizeo
[all...]
/freebsd-11-stable/sys/geom/raid/
H A Dmd_jmicron.c1020 struct gctl_req *req)
1040 verb = gctl_get_param(req, "verb", NULL);
1041 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs));
1046 gctl_error(req, "Invalid number of arguments.");
1049 volname = gctl_get_asciiparam(req, "arg1");
1051 gctl_error(req, "No volume name.");
1054 levelname = gctl_get_asciiparam(req, "arg2");
1056 gctl_error(req, "No RAID level.");
1062 gctl_error(req, "Unknown RAID level '%s'.", levelname);
1066 force = gctl_get_paraml(req, "forc
1019 g_raid_md_ctl_jmicron(struct g_raid_md_object *md, struct gctl_req *req) argument
[all...]
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_kue.c241 kue_do_request(struct kue_softc *sc, struct usb_device_request *req, argument
246 err = uether_do_request(&sc->sc_ue, req, data, 60000);
254 struct usb_device_request req; local
256 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
257 req.bRequest = breq;
258 USETW(req.wValue, word);
259 USETW(req.wIndex, 0);
260 USETW(req.wLength, 0);
262 return (kue_do_request(sc, &req, NULL));
269 struct usb_device_request req; local
[all...]
H A Dif_usie.c236 struct usb_device_request req; local
258 req.bmRequestType = UT_VENDOR;
259 req.bRequest = UR_SET_INTERFACE;
260 USETW(req.wValue, UF_DEVICE_REMOTE_WAKEUP);
261 USETW(req.wIndex, UHF_PORT_CONNECTION);
262 USETW(req.wLength, 0);
265 err = usbd_do_request_flags(udev, NULL, &req,
298 struct usb_device_request req; local
320 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
321 req
524 struct usb_device_request req; local
718 struct usb_device_request req; member in struct:__anon11808
1065 struct usb_device_request req; local
1341 usie_do_request(struct usie_softc *sc, struct usb_device_request *req, void *data) argument
1366 struct usb_device_request req; local
[all...]
/freebsd-11-stable/sys/dev/mpt/
H A Dmpt_debug.c519 mpt_print_request_hdr(MSG_REQUEST_HEADER *req) argument
522 printf("%s @ %p\n", mpt_ioc_function(req->Function), req);
523 printf("\tChain Offset 0x%02x\n", req->ChainOffset);
524 printf("\tMsgFlags 0x%02x\n", req->MsgFlags);
525 printf("\tMsgContext 0x%08x\n", req->MsgContext);
627 MSG_REQUEST_HEADER *req = vreq; local
629 switch (req->Function) {
632 mpt_print_scsi_io_request((MSG_SCSI_IO_REQUEST *)req);
635 mpt_print_scsi_tmf_request((MSG_SCSI_TASK_MGMT *)req);
840 mpt_dump_request(struct mpt_softc *mpt, request_t *req) argument
[all...]
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_sg.c508 struct sg_io_hdr *req; local
541 req = (struct sg_io_hdr *)arg;
543 if (req->cmd_len > IOCDBLEN) {
548 if (req->iovec_count != 0) {
556 error = copyin(req->cmdp, &csio->cdb_io.cdb_bytes,
557 req->cmd_len);
563 switch(req->dxfer_direction) {
584 req->dxferp,
585 req->dxfer_len,
586 req
[all...]
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_sysctl.c119 error = sysctl_handle_int(oidp, &slottime, 0, req);
120 if (error || !req->newptr)
145 error = sysctl_handle_int(oidp, &acktimeout, 0, req);
146 if (error || !req->newptr)
171 error = sysctl_handle_int(oidp, &ctstimeout, 0, req);
172 if (error || !req->newptr)
192 error = sysctl_handle_int(oidp, &softled, 0, req);
193 if (error || !req->newptr)
213 error = sysctl_handle_int(oidp, &ledpin, 0, req);
214 if (error || !req
[all...]
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld.c1767 SymLook req; local
1801 symlook_init(&req, name);
1802 req.flags = flags;
1803 ve = req.ventry = fetch_ventry(refobj, symnum);
1804 req.lockstate = lockstate;
1805 res = symlook_default(&req, refobj);
1807 def = req.sym_out;
1808 defobj = req.defobj_out;
3538 SymLook req; local
3546 symlook_init(&req, nam
4145 SymLook req; local
4184 symlook_global(SymLook *req, DoneList *donelist) argument
4228 symlook_default(SymLook *req, const Obj_Entry *refobj) argument
4287 symlook_list(SymLook *req, const Objlist *objlist, DoneList *dlp) argument
4325 symlook_needed(SymLook *req, const Needed_Entry *needed, DoneList *dlp) argument
4365 symlook_obj(SymLook *req, const Obj_Entry *obj) argument
4413 matched_symbol(SymLook *req, const Obj_Entry *obj, Sym_Match_Result *result, const unsigned long symnum) argument
4528 symlook_obj1_sysv(SymLook *req, const Obj_Entry *obj) argument
4558 symlook_obj1_gnu(SymLook *req, const Obj_Entry *obj) argument
[all...]
/freebsd-11-stable/sys/dev/mmc/host/
H A Ddwmmc_var.h50 struct mmc_request *req; member in struct:dwmmc_softc

Completed in 222 milliseconds

<<11121314151617181920>>