Home
last modified time | relevance | path

Searched refs:rem_len (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/wpa/wpa_supplicant/
H A Drobust_av.c952 int res, rem_len; in write_ipv4_info() local
955 rem_len = total_len; in write_ipv4_info()
964 res = os_snprintf(pos, rem_len, " src_ip=%s", addr); in write_ipv4_info()
965 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
969 rem_len -= res; in write_ipv4_info()
979 res = os_snprintf(pos, rem_len, " dst_ip=%s", addr); in write_ipv4_info()
980 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
984 rem_len -= res; in write_ipv4_info()
988 res = os_snprintf(pos, rem_len, " src_port=%d", v4->src_port); in write_ipv4_info()
989 if (os_snprintf_error(rem_len, res)) in write_ipv4_info()
[all …]
H A Drrm.c790 int rem_len; in wpas_beacon_rep_add_frame_body() local
792 rem_len = 255 - sizeof(struct rrm_measurement_beacon_report) - in wpas_beacon_rep_add_frame_body()
826 rem_len -= pos - buf; in wpas_beacon_rep_add_frame_body()
836 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
844 2 + elen > rem_len) in wpas_beacon_rep_add_frame_body()
851 rem_len -= 2 + elen; in wpas_beacon_rep_add_frame_body()
H A Dwpa_supplicant.c3259 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local
3265 rem_len = ie_buf_len - ie_len; in wpas_add_fils_hlp_req()
3270 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req()
3273 (unsigned long) rem_len, in wpas_add_fils_hlp_req()
3301 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
3305 if (rem_len < 2 + len) in wpas_add_fils_hlp_req()
3315 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
/freebsd/lib/libusb/
H A Dlibusb10.c1195 sxfer->rem_len = 0; in libusb10_isoc_proxy()
1249 if (sxfer->rem_len == 0) { in libusb10_bulk_intr_proxy()
1256 if (max_bulk > sxfer->rem_len) { in libusb10_bulk_intr_proxy()
1257 max_bulk = sxfer->rem_len; in libusb10_bulk_intr_proxy()
1266 sxfer->rem_len -= max_bulk; in libusb10_bulk_intr_proxy()
1271 if (sxfer->rem_len == 0) in libusb10_bulk_intr_proxy()
1324 if (sxfer->rem_len == 0) { in libusb10_ctrl_proxy()
1331 if (max_bulk > sxfer->rem_len) { in libusb10_ctrl_proxy()
1332 max_bulk = sxfer->rem_len; in libusb10_ctrl_proxy()
1355 sxfer->rem_len in libusb10_ctrl_proxy()
[all...]
H A Dlibusb10.h79 uint32_t rem_len;
73 uint32_t rem_len; global() member
/freebsd/tests/sys/net/routing/
H A Drtsock_print.h146 one_len = snprintf(ptr, rem_len, fmt, __VA_ARGS__); \
148 rem_len -= one_len; \
156 int one_len, rem_len; in sa_print_hd() local
159 rem_len = buflen; in sa_print_hd()
186 snprintf(ptr, rem_len, "{%d}", repeat_count); in sa_print_hd()
/freebsd/sys/dev/qlxgbe/
H A Dql_isr.c66 uint32_t i, rem_len = 0; in qla_rx_intr() local
128 rem_len = mp->m_pkthdr.len; in qla_rx_intr()
133 rem_len = rem_len - mp->m_len; in qla_rx_intr()
137 mpl->m_len = rem_len; in qla_rx_intr()
196 uint32_t i, rem_len = 0, pkt_length, iplen; in qla_lro_intr() local
269 rem_len = mp->m_pkthdr.len; in qla_lro_intr()
274 rem_len = rem_len - mp->m_len; in qla_lro_intr()
278 mpl->m_len = rem_len; in qla_lro_intr()
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c1243 size_t rem_len = ctx->gcm_remainder_len; in gcm_encrypt_final_avx() local
1252 if (out->cd_length < (rem_len + ctx->gcm_tag_len)) { in gcm_encrypt_final_avx()
1258 if (rem_len > 0) { in gcm_encrypt_final_avx()
1263 memset(remainder + rem_len, 0, block_size - rem_len); in gcm_encrypt_final_avx()
1264 for (int i = 0; i < rem_len; i++) { in gcm_encrypt_final_avx()
1268 ctx->gcm_processed_data_len += rem_len; in gcm_encrypt_final_avx()
1282 if (rem_len > 0) { in gcm_encrypt_final_avx()
1283 rv = crypto_put_output_data(remainder, out, rem_len); in gcm_encrypt_final_avx()
1287 out->cd_offset += rem_len; in gcm_encrypt_final_avx()
/freebsd/contrib/wpa/src/ap/
H A Ddrv_callbacks.c149 size_t mle_len, rem_len; in hostapd_update_sta_links_status() local
184 rem_len = mle_len - in hostapd_update_sta_links_status()
188 while (rem_len > 2) { in hostapd_update_sta_links_status()
191 if (rem_len < ie_len) in hostapd_update_sta_links_status()
241 rem_len -= ie_len; in hostapd_update_sta_links_status()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_event.c588 size_t rem_len; in nl80211_get_basic_mle_links_info() local
597 rem_len = mle_len - in nl80211_get_basic_mle_links_info()
601 while (rem_len > 2) { in nl80211_get_basic_mle_links_info()
604 if (rem_len < ie_len) in nl80211_get_basic_mle_links_info()
631 rem_len -= ie_len; in nl80211_get_basic_mle_links_info()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddp_rx.c1776 int space_extra, rem_len, buf_len; in ath12k_dp_rx_msdu_coalesce() local
1823 rem_len = msdu_len - buf_first_len; in ath12k_dp_rx_msdu_coalesce()
1824 while ((skb = __skb_dequeue(msdu_list)) != NULL && rem_len > 0) { in ath12k_dp_rx_msdu_coalesce()
1829 buf_len = rem_len; in ath12k_dp_rx_msdu_coalesce()
1843 rem_len -= buf_len; in ath12k_dp_rx_msdu_coalesce()
/freebsd/sys/netinet/
H A Dsctp_output.c3459 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_find_cmsg() local
3469 rem_len = tot_len - off; in sctp_find_cmsg()
3470 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { in sctp_find_cmsg()
3479 if ((cmh.cmsg_len > INT_MAX) || ((int)cmh.cmsg_len > rem_len)) { in sctp_find_cmsg()
3564 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_process_cmsgs_for_init() local
3568 rem_len = tot_len - off; in sctp_process_cmsgs_for_init()
3569 if (rem_len < (int)CMSG_ALIGN(sizeof(cmh))) { in sctp_process_cmsgs_for_init()
3580 if ((cmh.cmsg_len > INT_MAX) || ((int)cmh.cmsg_len > rem_len)) { in sctp_process_cmsgs_for_init()
3733 int tot_len, rem_len, cmsg_data_len, cmsg_data_off, off; in sctp_findassociation_cmsgs() local
3737 rem_len = tot_len - off; in sctp_findassociation_cmsgs()
[all …]
/freebsd/sys/dev/bce/
H A Dif_bce.c6404 unsigned int rem_len; in bce_rx_intr() local
6535 rem_len = pkt_len - m0->m_len; in bce_rx_intr()
6538 while (rem_len > 0) { in bce_rx_intr()
6557 if (rem_len < m_pg->m_len) { in bce_rx_intr()
6559 m_pg->m_len = rem_len; in bce_rx_intr()
6560 rem_len = 0; in bce_rx_intr()
6563 rem_len -= m_pg->m_len; in bce_rx_intr()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddp_rx.c1793 int space_extra, rem_len, buf_len; in ath11k_dp_rx_msdu_coalesce() local
1840 rem_len = msdu_len - buf_first_len; in ath11k_dp_rx_msdu_coalesce()
1841 while ((skb = __skb_dequeue(msdu_list)) != NULL && rem_len > 0) { in ath11k_dp_rx_msdu_coalesce()
1846 buf_len = rem_len; in ath11k_dp_rx_msdu_coalesce()
1860 rem_len -= buf_len; in ath11k_dp_rx_msdu_coalesce()