Home
last modified time | relevance | path

Searched refs:resplen (Results 1 – 9 of 9) sorted by relevance

/freebsd/lib/libc/resolv/
H A Dres_send.c301 int gotsomewhere, terrno, tries, v_circuit, resplen, ns, n; in res_nsend() local
435 ans, anssiz, &resplen); in res_nsend()
447 return (resplen); in res_nsend()
477 resplen = n; in res_nsend()
492 resplen = n; in res_nsend()
503 ans, (resplen > anssiz) ? anssiz : resplen); in res_nsend()
521 ans, anssiz, &resplen); in res_nsend()
546 return (resplen); in res_nsend()
623 int truncating, connreset, resplen, n; in send_vc() local
746 resplen = ns_get16(ans); in send_vc()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dbmi.c52 u32 resplen = sizeof(resp.get_target_info); in ath10k_bmi_get_target_info() local
64 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
70 if (resplen < sizeof(resp.get_target_info)) { in ath10k_bmi_get_target_info()
72 resplen); in ath10k_bmi_get_target_info()
90 u32 resplen, ver_len; in ath10k_bmi_get_target_info_sdio() local
107 resplen = sizeof(u32); in ath10k_bmi_get_target_info_sdio()
108 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); in ath10k_bmi_get_target_info_sdio()
119 resplen = sizeof(u32); in ath10k_bmi_get_target_info_sdio()
121 &resplen); in ath10k_bmi_get_target_info_sdio()
138 resplen = sizeof(resp.get_target_info) - sizeof(u32); in ath10k_bmi_get_target_info_sdio()
[all …]
/freebsd/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c97 size_t resplen, min_resplen = *resplen0; in hn_nvs_xact_execute() local
116 hdr = vmbus_chan_xact_wait(sc->hn_prichan, xact, &resplen, in hn_nvs_xact_execute()
122 if (resplen < min_resplen) { in hn_nvs_xact_execute()
123 if_printf(sc->hn_ifp, "invalid NVS resp len %zu\n", resplen); in hn_nvs_xact_execute()
132 *resplen0 = resplen; in hn_nvs_xact_execute()
/freebsd/sys/netgraph/
H A Dng_macfilter.c685 int resplen; in ng_macfilter_rcvmsg() local
723 resplen = sizeof(struct ngm_macfilter_macs) + n * sizeof(struct ngm_macfilter_mac); in ng_macfilter_rcvmsg()
724 NG_MKRESPONSE(resp, msg, resplen, M_NOWAIT); in ng_macfilter_rcvmsg()
745 resplen = sizeof(struct ngm_macfilter_hooks) + n * sizeof(struct ngm_macfilter_hook); in ng_macfilter_rcvmsg()
746 NG_MKRESPONSE(resp, msg, resplen, M_NOWAIT | M_ZERO); in ng_macfilter_rcvmsg()
/freebsd/sys/dev/hyperv/input/
H A Dhv_kbdc.c343 size_t resplen; in hv_kbd_connect_vsp() local
368 resp = vmbus_chan_xact_wait(sc->hs_chan, xact, &resplen, true); in hv_kbd_connect_vsp()
369 if (resplen < HV_KBD_PROTO_RESP_SZ) { in hv_kbd_connect_vsp()
H A Dhv_hid.c198 size_t resplen; in hv_hid_connect_vsp() local
223 resp = vmbus_chan_xact_wait(sc->hs_chan, xact, &resplen, true); in hv_hid_connect_vsp()
224 if (resplen != HV_HID_RESP_SZ || !resp->resp.app) { in hv_hid_connect_vsp()
/freebsd/sys/dev/virtio/gpu/
H A Dvirtio_gpu.c449 void *resp, size_t resplen) in vtgpu_req_resp()
463 error = sglist_append(&sg, resp, resplen); in vtgpu_req_resp()
437 vtgpu_req_resp(struct vtgpu_softc * sc,void * req,size_t reqlen,void * resp,size_t resplen) vtgpu_req_resp() argument
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c2635 size_t resplen; in tls_process_cert_status_body() local
2643 if (!PACKET_get_net_3_len(pkt, &resplen) in tls_process_cert_status_body()
2644 || PACKET_remaining(pkt) != resplen) { in tls_process_cert_status_body()
2648 s->ext.ocsp.resp = OPENSSL_malloc(resplen); in tls_process_cert_status_body()
2654 s->ext.ocsp.resp_len = resplen; in tls_process_cert_status_body()
2655 if (!PACKET_copy_bytes(pkt, s->ext.ocsp.resp, resplen)) { in tls_process_cert_status_body()
/freebsd/sys/dev/mpt/
H A Dmpt_cam.c4625 int resplen = 0; in mpt_scsi_tgt_status() local
4696 resplen = MIN_FCP_RESPONSE_SIZE; in mpt_scsi_tgt_status()
4701 resplen = MIN_FCP_RESPONSE_SIZE; in mpt_scsi_tgt_status()
4705 resplen = MIN_FCP_RESPONSE_SIZE; in mpt_scsi_tgt_status()
4711 resplen = MIN_FCP_RESPONSE_SIZE + sense_len; in mpt_scsi_tgt_status()
4730 if (status == SCSI_STATUS_OK && resplen == 0) { in mpt_scsi_tgt_status()
4740 fl |= resplen; in mpt_scsi_tgt_status()