Searched refs:req (Results 401 - 425 of 1444) sorted by relevance

<<11121314151617181920>>

/freebsd-current/lib/libsdp/
H A Dsession.c87 if ((ss->req = malloc(ss->omtu)) == NULL) {
91 ss->req_e = ss->req + ss->omtu;
138 if ((ss->req = malloc(ss->omtu)) == NULL) {
142 ss->req_e = ss->req + ss->omtu;
163 if (ss->req != NULL)
164 free(ss->req);
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c208 struct evdns_request *req = NULL; local
215 req = evdns_base_resolve_reverse(
217 tt_assert(req);
233 dns_server_request_cb(struct evdns_server_request *req, void *data) argument
241 for (i = 0; i < req->nquestions; ++i) {
242 const int qtype = req->questions[i]->type;
243 const int qclass = req->questions[i]->dns_question_class;
244 const char *qname = req->questions[i]->name;
251 r = evdns_server_request_add_a_reply(req, qname,
259 r = evdns_server_request_add_aaaa_reply(req,
386 struct evdns_request *req=NULL; local
629 search_cancel_server_cb(struct evdns_server_request *req, void *data) argument
693 fail_server_cb(struct evdns_server_request *req, void *data) argument
1069 be_getaddrinfo_server_cb(struct evdns_server_request *req, void *data) argument
1828 gaic_server_cb(struct evdns_server_request *req, void *arg) argument
1918 struct evdns_request *req; member in struct:testleak_env_t
[all...]
/freebsd-current/contrib/libevent/test/
H A Dregress_dns.c208 struct evdns_request *req = NULL; local
215 req = evdns_base_resolve_reverse(
217 tt_assert(req);
233 dns_server_request_cb(struct evdns_server_request *req, void *data) argument
241 for (i = 0; i < req->nquestions; ++i) {
242 const int qtype = req->questions[i]->type;
243 const int qclass = req->questions[i]->dns_question_class;
244 const char *qname = req->questions[i]->name;
251 r = evdns_server_request_add_a_reply(req, qname,
259 r = evdns_server_request_add_aaaa_reply(req,
386 struct evdns_request *req=NULL; local
629 search_cancel_server_cb(struct evdns_server_request *req, void *data) argument
693 fail_server_cb(struct evdns_server_request *req, void *data) argument
1069 be_getaddrinfo_server_cb(struct evdns_server_request *req, void *data) argument
1828 gaic_server_cb(struct evdns_server_request *req, void *arg) argument
1918 struct evdns_request *req; member in struct:testleak_env_t
[all...]
/freebsd-current/sys/dev/usb/serial/
H A Duipaq.c1114 struct usb_device_request req; local
1132 req.bmRequestType = UT_WRITE_CLASS_INTERFACE;
1133 req.bRequest = UCDC_SET_CONTROL_LINE_STATE;
1134 USETW(req.wValue, UCDC_LINE_DTR);
1135 USETW(req.wIndex, 0x0);
1136 USETW(req.wLength, 0);
1139 usbd_do_request_flags(uaa->device, NULL, &req,
1244 struct usb_device_request req; local
1253 req.bmRequestType = UT_WRITE_CLASS_INTERFACE;
1254 req
1268 struct usb_device_request req; local
1292 struct usb_device_request req; local
[all...]
H A Duvscom.c723 struct usb_device_request req; local
726 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
727 req.bRequest = index;
728 USETW(req.wValue, value);
729 USETW(req.wIndex, 0);
730 USETW(req.wLength, 0);
733 &req, NULL, 0, 1000);
743 struct usb_device_request req; local
747 req.bmRequestType = UT_READ_VENDOR_DEVICE;
748 req
[all...]
H A Duchcom.c413 struct usb_device_request req; local
415 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
416 req.bRequest = reqno;
417 USETW(req.wValue, value);
418 USETW(req.wIndex, index);
419 USETW(req.wLength, 0);
424 &sc->sc_ucom, &req, NULL, 0, 1000);
431 struct usb_device_request req; local
433 req.bmRequestType = UT_READ_VENDOR_DEVICE;
434 req
[all...]
H A Dumoscom.c553 struct usb_device_request req; local
555 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
556 req.bRequest = UMOSCOM_WRITE;
557 USETW(req.wValue, val);
558 USETW(req.wIndex, reg);
559 USETW(req.wLength, 0);
562 &req, NULL, 0, 1000);
568 struct usb_device_request req; local
571 req.bmRequestType = UT_READ_VENDOR_DEVICE;
572 req
[all...]
/freebsd-current/sys/dev/usb/net/
H A Duhso.c778 struct usb_device_request req; local
784 req.bmRequestType = UT_READ_VENDOR_DEVICE;
785 req.bRequest = 0x86;
786 USETW(req.wValue, 0);
787 USETW(req.wIndex, 0);
788 USETW(req.wLength, 17);
790 uerr = usbd_do_request_flags(udev, NULL, &req, buf,
965 struct usb_device_request req; local
968 req.bmRequestType = UT_VENDOR;
969 req
1152 struct usb_device_request req; local
1212 struct usb_device_request req; local
1360 struct usb_device_request req; local
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_diag_cnt.c58 err = SYSCTL_OUT(req, ptr, sizeof(ptr[0]) * num);
59 if (err || !req->newptr)
62 num = req->newlen / sizeof(ptr[0]);
68 err = SYSCTL_IN(req, ptr, sizeof(ptr[0]) * num);
82 if (err != 0 && req->newptr != NULL)
111 err = SYSCTL_OUT(req, temp, sizeof(temp));
112 if (err || !req->newptr)
115 err = SYSCTL_IN(req, temp, sizeof(temp));
186 err = SYSCTL_OUT(req, &diag_cnt->ready, sizeof(diag_cnt->ready));
187 if (err || !req
[all...]
/freebsd-current/sys/geom/raid/
H A Dmd_intel.c1686 struct gctl_req *req)
1708 verb = gctl_get_param(req, "verb", NULL);
1709 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs));
1713 gctl_error(req, "Invalid number of arguments.");
1716 volname = gctl_get_asciiparam(req, "arg1");
1718 gctl_error(req, "No volume name.");
1721 levelname = gctl_get_asciiparam(req, "arg2");
1723 gctl_error(req, "No RAID level.");
1729 gctl_error(req, "Unknown RAID level '%s'.", levelname);
1733 force = gctl_get_paraml(req, "forc
1685 g_raid_md_ctl_intel(struct g_raid_md_object *md, struct gctl_req *req) argument
[all...]
/freebsd-current/sys/vm/
H A Dvm_meter.c126 if (req->flags & SCTL_MASK32) {
131 return SYSCTL_OUT(req, la, sizeof(la));
134 return SYSCTL_OUT(req, &averunnable, sizeof(averunnable));
170 if (req->oldptr == NULL) {
173 return (SYSCTL_OUT(req, NULL, sizeof(total11)));
175 return (SYSCTL_OUT(req, NULL, sizeof(total)));
270 if (curproc->p_osrel < P_OSREL_VMTOTAL64 && (req->oldlen ==
271 sizeof(total11) || req->oldlen == 2 * sizeof(total11))) {
287 return (SYSCTL_OUT(req, &total11, sizeof(total11)));
290 return (SYSCTL_OUT(req,
[all...]
/freebsd-current/sys/kern/
H A Dkern_clock.c103 if (req->flags & SCTL_MASK32) {
104 if (!req->oldptr)
105 return SYSCTL_OUT(req, 0, sizeof(cp_time32));
108 error = SYSCTL_OUT(req, cp_time32, sizeof(cp_time32));
112 if (!req->oldptr)
113 return SYSCTL_OUT(req, 0, sizeof(cp_time));
114 error = SYSCTL_OUT(req, cp_time, sizeof(cp_time));
136 if (!req->oldptr) {
138 if (req->flags & SCTL_MASK32)
139 return SYSCTL_OUT(req,
[all...]
/freebsd-current/sys/dev/mpr/
H A Dmpr_user.c418 mpr_init_sge(struct mpr_command *cm, void *req, void *sge) argument
423 off = (uintptr_t)sge - (uintptr_t)req;
426 req, sge, off, space));
438 MPI2_IOC_FACTS_REQUEST *req = (void *)cm->cm_req; local
441 if (cmd->req_len != sizeof *req)
457 MPI2_PORT_FACTS_REQUEST *req = (void *)cm->cm_req; local
460 if (cmd->req_len != sizeof *req)
476 MPI25_FW_DOWNLOAD_REQUEST *req = (void *)cm->cm_req; local
480 if (cmd->req_len != sizeof *req)
492 mpr_init_sge(cm, req,
516 MPI25_FW_UPLOAD_REQUEST *req = (void *)cm->cm_req; local
544 MPI2_SATA_PASSTHROUGH_REQUEST *req = (void *)cm->cm_req; local
562 MPI2_SMP_PASSTHROUGH_REQUEST *req = (void *)cm->cm_req; local
580 MPI2_CONFIG_REQUEST *req = (void *)cm->cm_req; local
741 void *req = NULL; local
1262 MPI2_DIAG_BUFFER_POST_REQUEST *req; local
1359 MPI2_DIAG_RELEASE_REQUEST *req; local
2472 uint32_t req; member in struct:mpr_usr_command32
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dpci_virtio_scsi.c263 struct pci_vtscsi_request *req; local
276 req = STAILQ_FIRST(&q->vsq_requests);
280 iolen = pci_vtscsi_request_handle(q, req->vsr_iov_in,
281 req->vsr_niov_in, req->vsr_iov_out, req->vsr_niov_out);
284 vq_relchain(q->vsq_vq, req->vsr_idx, iolen);
288 DPRINTF("request <idx=%d> completed", req->vsr_idx);
289 free(req);
579 struct vi_req req; local
615 struct pci_vtscsi_request *req; local
[all...]
/freebsd-current/sys/dev/ena/
H A Dena_sysctl.c693 error = sysctl_wire_old_buffer(req, sizeof(val));
696 error = sysctl_handle_32(oidp, &val, 0, req);
698 if (error != 0 || req->newptr == NULL)
741 error = sysctl_wire_old_buffer(req, sizeof(val));
744 error = sysctl_handle_32(oidp, &val, 0, req);
746 if (error != 0 || req->newptr == NULL)
801 error = sysctl_wire_old_buffer(req, sizeof(tmp));
804 error = sysctl_handle_int(oidp, &tmp, 0, req);
806 if (error != 0 || req->newptr == NULL)
868 error = sysctl_wire_old_buffer(req, sizeo
[all...]
/freebsd-current/sys/net/
H A Dpfil.c585 pfilioc_listheads(struct pfilioc_list *req) argument
603 if (req->pio_nheads < nheads || req->pio_nhooks < nhooks) {
604 req->pio_nheads = nheads;
605 req->pio_nhooks = nhooks;
649 error = copyout(iohead, req->pio_heads,
650 sizeof(*iohead) * min(hd, req->pio_nheads));
652 error = copyout(iohook, req->pio_hooks,
653 sizeof(*iohook) * min(req->pio_nhooks, hk));
655 req
665 pfilioc_listhooks(struct pfilioc_list *req) argument
713 pfilioc_link(struct pfilioc_link *req) argument
[all...]
/freebsd-current/sys/dev/sfxge/common/
H A Defx_nic.c857 efx_mcdi_req_t req; local
864 req.emr_cmd = MC_CMD_GET_LOOPBACK_MODES;
865 req.emr_in_buf = payload;
866 req.emr_in_length = MC_CMD_GET_LOOPBACK_MODES_IN_LEN;
867 req.emr_out_buf = payload;
868 req.emr_out_length = MC_CMD_GET_LOOPBACK_MODES_OUT_V2_LEN;
870 efx_mcdi_execute(enp, &req);
872 if (req.emr_rc != 0) {
873 rc = req.emr_rc;
877 if (req
[all...]
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dstats.c39 struct hwrm_cfa_flow_stats_input req = {}; local
51 bnxt_re_init_hwrm_hdr(rdev, (void *)&req, HWRM_CFA_FLOW_STATS, -1, target_id);
52 req.num_flows = cpu_to_le16(6);
53 req.flow_handle_0 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_CNP_CNT);
54 req.flow_handle_1 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_CNP_CNT |
56 req.flow_handle_2 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV1_CNT);
57 req.flow_handle_3 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV1_CNT |
59 req.flow_handle_4 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV2_CNT);
60 req.flow_handle_5 = cpu_to_le16(HWRM_CFA_FLOW_INFO_INPUT_FLOW_HANDLE_ROCEV2_CNT |
62 bnxt_re_fill_fw_msg(&fw_msg, &req, sizeo
93 struct hwrm_cfa_flow_stats_input req = {}; local
[all...]
/freebsd-current/contrib/wpa/src/wps/
H A Dwps_er.c223 struct wpabuf *req; local
245 req = wpabuf_alloc(os_strlen(ap->event_sub_url) + 1000);
246 if (req == NULL) {
251 wpabuf_printf(req,
259 wpabuf_head(req), wpabuf_len(req));
261 ap->http = http_client_addr(&dst, req, 1000,
264 wpabuf_free(req);
427 struct wpabuf *req; local
448 req
708 wps_er_http_resp_not_found(struct http_request *req) argument
727 wps_er_http_resp_ok(struct http_request *req) argument
1151 wps_er_http_event(struct wps_er *er, struct http_request *req, unsigned int ap_id) argument
1187 wps_er_http_notify(struct wps_er *er, struct http_request *req) argument
1213 wps_er_http_req(void *ctx, struct http_request *req) argument
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c234 err = SYSCTL_OUT(req, priv->params_ethtool.max_bw_value,
236 if (err || !req->newptr)
238 err = SYSCTL_IN(req, new_bw_value,
276 err = SYSCTL_OUT(req, priv->params_ethtool.max_bw_share, max_rates);
277 if (err || !req->newptr)
279 err = SYSCTL_IN(req, max_bw_share, max_rates);
341 err = SYSCTL_OUT(req, priv->params_ethtool.prio_tc, MLX5E_MAX_PRIORITY);
342 if (err || !req->newptr)
344 err = SYSCTL_IN(req, temp, MLX5E_MAX_PRIORITY);
452 err = SYSCTL_OUT(req, pri
[all...]
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_mschapv2.c231 * @req: Pointer to EAP-MSCHAPv2 header from the request
239 struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req,
250 if (req_len < sizeof(*req) + 1) {
256 pos = (const u8 *) (req + 1);
258 len = req_len - sizeof(*req) - 1;
290 return eap_mschapv2_challenge_reply(sm, data, id, req->mschapv2_id,
336 * @req: Pointer to EAP-MSCHAPv2 header from the request
345 const struct eap_mschapv2_hdr *req,
353 len = req_len - sizeof(*req);
354 pos = (const u8 *) (req
237 eap_mschapv2_challenge( struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, size_t req_len, u8 id) argument
342 eap_mschapv2_success(struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, size_t req_len, u8 id) argument
508 eap_mschapv2_change_password( struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, u8 id) argument
649 eap_mschapv2_failure(struct eap_sm *sm, struct eap_mschapv2_data *data, struct eap_method_ret *ret, const struct eap_mschapv2_hdr *req, size_t req_len, u8 id) argument
[all...]
/freebsd-current/contrib/wpa/src/eap_server/
H A Deap_server_psk.c57 struct wpabuf *req; local
70 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK,
73 if (req == NULL) {
80 psk = wpabuf_put(req, sizeof(*psk));
83 wpabuf_put_data(req, sm->cfg->server_id, sm->cfg->server_id_len);
85 return req;
92 struct wpabuf *req; local
99 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK,
101 if (req == NULL) {
108 psk = wpabuf_put(req, sizeo
[all...]
/freebsd-current/lib/libusb/
H A Dlibusb10_io.c474 struct LIBUSB20_CONTROL_SETUP_DECODED req; local
484 LIBUSB20_INIT(LIBUSB20_CONTROL_SETUP, &req);
486 req.bmRequestType = bmRequestType;
487 req.bRequest = bRequest;
488 req.wValue = wValue;
489 req.wIndex = wIndex;
490 req.wLength = wLength;
492 err = libusb20_dev_request_sync(devh, &req, data,
718 struct libusb_control_setup *req = (struct libusb_control_setup *)buf; local
721 req
[all...]
/freebsd-current/sys/contrib/xen/io/
H A Dring.h113 __req_t req; \
216 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
219 req < rsp ? req : rsp; \
232 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
251 #define RING_COPY_REQUEST(r, idx, req) RING_COPY_(REQUEST, r, idx, req)
/freebsd-current/contrib/arm-optimized-routines/string/arm/
H A Dasmdefs.h328 .macro _preprocess_reglist1 first:req, last:req, push_ip:req, push_lr:req, reglist_op:req variable
359 .macro _preprocess_reglist first:req, last, push_ip=0, push_lr=0, reglist_op:req

Completed in 282 milliseconds

<<11121314151617181920>>