Home
last modified time | relevance | path

Searched refs:resp_len (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12-stable/sys/dev/hyperv/vmbus/
Dvmbus_xact.c283 vmbus_xact_return(struct vmbus_xact *xact, size_t *resp_len) in vmbus_xact_return() argument
306 *resp_len = xact->x_resp_len; in vmbus_xact_return()
312 vmbus_xact_wait1(struct vmbus_xact *xact, size_t *resp_len, in vmbus_xact_wait1() argument
332 resp = vmbus_xact_return(xact, resp_len); in vmbus_xact_wait1()
340 vmbus_xact_wait(struct vmbus_xact *xact, size_t *resp_len) in vmbus_xact_wait() argument
343 return (vmbus_xact_wait1(xact, resp_len, true /* can sleep */)); in vmbus_xact_wait()
347 vmbus_xact_busywait(struct vmbus_xact *xact, size_t *resp_len) in vmbus_xact_busywait() argument
350 return (vmbus_xact_wait1(xact, resp_len, false /* can't sleep */)); in vmbus_xact_busywait()
354 vmbus_xact_poll(struct vmbus_xact *xact, size_t *resp_len) in vmbus_xact_poll() argument
365 *resp_len = 0; in vmbus_xact_poll()
[all …]
Dvmbus.c344 size_t resp_len; in vmbus_msghc_wait_result() local
346 return (vmbus_xact_wait(mh->mh_xact, &resp_len)); in vmbus_msghc_wait_result()
352 size_t resp_len; in vmbus_msghc_poll_result() local
354 return (vmbus_xact_poll(mh->mh_xact, &resp_len)); in vmbus_msghc_poll_result()
Dvmbus_chan.c2147 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep) in vmbus_chan_xact_wait() argument
2152 ret = vmbus_xact_wait(xact, resp_len); in vmbus_chan_xact_wait()
2154 ret = vmbus_xact_busywait(xact, resp_len); in vmbus_chan_xact_wait()
/freebsd-12-stable/contrib/gdb/gdb/
Dmonitor.c1054 int resp_len; in monitor_wait_filter() local
1057 resp_len = monitor_expect_prompt (buf, bufmax); in monitor_wait_filter()
1058 *ext_resp_len = resp_len; in monitor_wait_filter()
1060 if (resp_len <= 0) in monitor_wait_filter()
1063 while (resp_len < 0); in monitor_wait_filter()
1072 for (i = 0; i < resp_len - 1; i++) in monitor_wait_filter()
1088 int resp_len; in monitor_wait() local
1108 (*current_monitor->wait_filter) (buf, sizeof (buf), &resp_len, status); in monitor_wait()
1110 monitor_wait_filter (buf, sizeof (buf), &resp_len, status); in monitor_wait()
1115 resp_len = monitor_expect_prompt (buf, sizeof (buf)); in monitor_wait()
[all …]
/freebsd-12-stable/contrib/wpa/hs20/client/
Dest.c126 size_t pkcs7_len, resp_len; in est_load_cacerts() local
154 resp = os_readfile("Cert/est-cacerts.txt", &resp_len); in est_load_cacerts()
161 pkcs7 = base64_decode(resp, resp_len, &pkcs7_len); in est_load_cacerts()
162 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts()
164 (unsigned int) pkcs7_len, (unsigned int) resp_len); in est_load_cacerts()
170 pkcs7 = os_malloc(resp_len); in est_load_cacerts()
172 os_memcpy(pkcs7, resp, resp_len); in est_load_cacerts()
173 pkcs7_len = resp_len; in est_load_cacerts()
630 size_t resp_len; in est_build_csr() local
636 resp = os_readfile("Cert/est-csrattrs.txt", &resp_len); in est_build_csr()
[all …]
/freebsd-12-stable/sys/netgraph/bluetooth/drivers/ubt/
Dng_ubt_intel.c106 void *resp, uint8_t resp_len) in ubt_intel_do_hci_request() argument
116 resp_len, M_TEMP, M_ZERO | M_WAITOK); in ubt_intel_do_hci_request()
117 evt->header.length = resp_len + UBT_HCI_EVENT_COMPL_HEAD_SIZE; in ubt_intel_do_hci_request()
124 evt->header.length == resp_len + UBT_HCI_EVENT_COMPL_HEAD_SIZE) in ubt_intel_do_hci_request()
125 memcpy(resp, evt->data, resp_len); in ubt_intel_do_hci_request()
/freebsd-12-stable/sys/dev/hyperv/netvsc/
Dhn_nvs.c149 size_t resp_len; in hn_nvs_conn_rxbuf() local
191 resp_len = sizeof(*resp); in hn_nvs_conn_rxbuf()
192 resp = hn_nvs_xact_execute(sc, xact, conn, sizeof(*conn), &resp_len, in hn_nvs_conn_rxbuf()
226 size_t resp_len; in hn_nvs_conn_chim() local
259 resp_len = sizeof(*resp); in hn_nvs_conn_chim()
260 resp = hn_nvs_xact_execute(sc, xact, chim, sizeof(*chim), &resp_len, in hn_nvs_conn_chim()
458 size_t resp_len; in hn_nvs_doinit() local
471 resp_len = sizeof(*resp); in hn_nvs_doinit()
472 resp = hn_nvs_xact_execute(sc, xact, init, sizeof(*init), &resp_len, in hn_nvs_doinit()
689 size_t resp_len; in hn_nvs_alloc_subchans() local
[all …]
/freebsd-12-stable/sys/dev/hyperv/include/
Dvmbus_xact.h55 size_t *resp_len);
57 size_t *resp_len);
59 size_t *resp_len);
Dvmbus.h185 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep);
/freebsd-12-stable/sys/dev/bnxt/
Dhsi_struct_def.h1825 uint16_t resp_len; member
5533 uint16_t resp_len; member
5845 uint16_t resp_len; member
5927 uint16_t resp_len; member
6018 uint16_t resp_len; member
6104 uint16_t resp_len; member
6219 uint16_t resp_len; member
6295 uint16_t resp_len; member
6554 uint16_t resp_len; member
6861 uint16_t resp_len; member
[all …]
Dbnxt_hwrm.c176 if (resp->resp_len && resp->resp_len <= 4096) in _hwrm_send_message()
188 valid = (uint8_t *)resp + resp->resp_len - 1; in _hwrm_send_message()
/freebsd-12-stable/contrib/wpa/hostapd/
Dhlr_auc_gw.c589 static int sim_req_auth(char *imsi, char *resp, size_t resp_len) in sim_req_auth() argument
608 rend = resp + resp_len; in sim_req_auth()
662 static int gsm_auth_req(char *imsi, char *resp, size_t resp_len) in gsm_auth_req() argument
675 rend = resp + resp_len; in gsm_auth_req()
734 static int aka_req_auth(char *imsi, char *resp, size_t resp_len) in aka_req_auth() argument
785 end = resp + resp_len; in aka_req_auth()
811 static int aka_auts(char *imsi, char *resp, size_t resp_len) in aka_auts() argument
866 static int process_cmd(char *cmd, char *resp, size_t resp_len) in process_cmd() argument
869 return sim_req_auth(cmd + 13, resp, resp_len); in process_cmd()
872 return gsm_auth_req(cmd + 13, resp, resp_len); in process_cmd()
[all …]
/freebsd-12-stable/sys/dev/iwm/
Dif_iwm_time_event.c235 int resp_len = iwm_rx_packet_payload_len(pkt); in iwm_te_notif() local
238 resp_len != sizeof(*resp)) { in iwm_te_notif()
266 int resp_len = iwm_rx_packet_payload_len(pkt); in iwm_time_event_response() local
269 resp_len != sizeof(*resp)) { in iwm_time_event_response()
Dif_iwm_util.c369 int error, resp_len; in iwm_send_cmd_status() local
390 resp_len = iwm_rx_packet_payload_len(pkt); in iwm_send_cmd_status()
391 if (resp_len != sizeof(*resp)) { in iwm_send_cmd_status()
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
Dctrl_iface.h36 char *buf, size_t *resp_len);
53 char *buf, size_t *resp_len);
Dgas_query.c515 u16 comeback_delay, resp_len; in gas_query_rx() local
617 resp_len = WPA_GET_LE16(pos); in gas_query_rx()
621 if (resp_len > left) { in gas_query_rx()
627 if (resp_len < left) { in gas_query_rx()
630 left - resp_len, MAC2STR(sa)); in gas_query_rx()
634 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
637 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len, in gas_query_rx()
Dctrl_iface.c7656 size_t resp_len, start, requested_len; in gas_response_get() local
7680 resp_len = wpabuf_len(resp); in gas_response_get()
7682 requested_len = resp_len; in gas_response_get()
7687 if (start > resp_len) in gas_response_get()
7694 if (start + requested_len > resp_len) in gas_response_get()
7704 if (start + requested_len == resp_len) { in gas_response_get()
11447 char *buf, size_t *resp_len) in wpa_supplicant_ctrl_iface_process() argument
11479 *resp_len = 1; in wpa_supplicant_ctrl_iface_process()
12393 *resp_len = reply_len; in wpa_supplicant_ctrl_iface_process()
12653 char *cmd, size_t *resp_len) in wpas_global_ctrl_iface_ifname() argument
[all …]
/freebsd-12-stable/contrib/wpa/src/ap/
Dgas_query_ap.c471 u16 comeback_delay, resp_len; in gas_query_ap_rx() local
573 resp_len = WPA_GET_LE16(pos); in gas_query_ap_rx()
577 if (resp_len > left) { in gas_query_ap_rx()
583 if (resp_len < left) { in gas_query_ap_rx()
586 left - resp_len, MAC2STR(sa)); in gas_query_ap_rx()
590 gas_query_rx_comeback(gas, query, adv_proto, pos, resp_len, in gas_query_ap_rx()
593 gas_query_rx_initial(gas, query, adv_proto, pos, resp_len, in gas_query_ap_rx()
Dbeacon.c433 int is_p2p, size_t *resp_len) in hostapd_gen_probe_resp() argument
637 *resp_len = pos - (u8 *) resp; in hostapd_gen_probe_resp()
848 size_t i, resp_len; in handle_probe_req() local
1081 &resp_len); in handle_probe_req()
1103 ret = hostapd_drv_send_mlme(hapd, resp, resp_len, noack, in handle_probe_req()
1119 size_t *resp_len) in hostapd_probe_resp_offloads() argument
1150 return hostapd_gen_probe_resp(hapd, NULL, 0, resp_len); in hostapd_probe_resp_offloads()
1431 size_t resp_len = 0; in ieee802_11_build_ap_params() local
1662 resp = hostapd_probe_resp_offloads(hapd, &resp_len); in ieee802_11_build_ap_params()
1671 params->proberesp_len = resp_len; in ieee802_11_build_ap_params()
/freebsd-12-stable/contrib/wpa/src/tls/
Dtlsv1_client_read.c902 u32 resp_len; in tls_process_certificate_status() local
919 resp_len = WPA_GET_BE24(pos); in tls_process_certificate_status()
921 if (end - pos < resp_len) { in tls_process_certificate_status()
924 resp_len); in tls_process_certificate_status()
928 end = pos + resp_len; in tls_process_certificate_status()
931 resp_len = WPA_GET_BE24(pos); in tls_process_certificate_status()
933 if (resp_len > end - pos) { in tls_process_certificate_status()
936 resp_len, (int) (end - pos)); in tls_process_certificate_status()
940 if (!resp_len) in tls_process_certificate_status()
943 conn, pos - 3, resp_len + 3); in tls_process_certificate_status()
[all …]
/freebsd-12-stable/contrib/wpa/src/crypto/
Dtls_openssl_ocsp.c490 size_t resp_len; in check_ocsp_resp() local
519 SSL_get0_ocsp_response(ssl, &resp_data, &resp_len); in check_ocsp_resp()
520 if (resp_data == NULL || resp_len == 0) { in check_ocsp_resp()
525 wpa_hexdump(MSG_DEBUG, "OpenSSL: OCSP response", resp_data, resp_len); in check_ocsp_resp()
527 resp = d2i_OCSPResponse(NULL, &resp_data, resp_len); in check_ocsp_resp()
/freebsd-12-stable/contrib/wpa/src/utils/
Dhttp-utils.h56 size_t *resp_len);
Dhttp_curl.c1685 size_t *resp_len) in http_post() argument
1735 if (resp_len) in http_post()
1736 *resp_len = ctx->curl_buf_len; in http_post()
/freebsd-12-stable/contrib/ofed/libmlx5/
Dmlx5.c551 size_t resp_len) in mlx5_cmd_get_context() argument
554 req_len, &resp->ibv_resp, resp_len)) in mlx5_cmd_get_context()
578 &resp->ibv_resp, resp_len)) in mlx5_cmd_get_context()
584 &resp->ibv_resp, resp_len); in mlx5_cmd_get_context()
/freebsd-12-stable/sys/dev/usb/misc/
Dcp2112.c921 uint16_t req_len, void *resp_data, uint16_t resp_len) in cp2112iic_req_resp() argument
932 sc->io.in.len = resp_len; in cp2112iic_req_resp()

12