Searched refs:bytes_to_copy (Results 1 – 5 of 5) sorted by relevance
| /f-stack/freebsd/netinet/ |
| H A D | tcp_pcap.c | 196 bytes_to_copy = tcp_off; in tcp_pcap_copy_bestfit() 197 if (bytes_to_copy > M_SIZE(n)) in tcp_pcap_copy_bestfit() 198 bytes_to_copy = M_SIZE(n); in tcp_pcap_copy_bestfit() 200 n->m_len = bytes_to_copy; in tcp_pcap_copy_bestfit() 212 bytes_to_copy += m_cur->m_len; in tcp_pcap_copy_bestfit() 219 bytes_to_copy += tcp_off; in tcp_pcap_copy_bestfit() 228 if (bytes_to_copy > M_SIZE(n)) { in tcp_pcap_copy_bestfit() 230 bytes_to_copy = M_SIZE(n); in tcp_pcap_copy_bestfit() 254 bytes_to_copy = M_SIZE(n); in tcp_pcap_copy_bestfit() 256 bytes_to_copy += trailing_data; in tcp_pcap_copy_bestfit() [all …]
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_tso.c | 60 size_t bytes_to_copy = 0; in sfc_tso_prepare_header() local 65 bytes_to_copy = MIN(bytes_left, m->data_len); in sfc_tso_prepare_header() 68 bytes_to_copy); in sfc_tso_prepare_header() 70 bytes_left -= bytes_to_copy; in sfc_tso_prepare_header() 71 tsoh += bytes_to_copy; in sfc_tso_prepare_header() 80 if (bytes_to_copy == m->data_len) { in sfc_tso_prepare_header() 86 *in_off = bytes_to_copy; in sfc_tso_prepare_header()
|
| /f-stack/dpdk/drivers/net/dpaa/ |
| H A D | dpaa_rxtx.c | 975 uint64_t mbufs_size, bytes_to_copy, offset1 = 0, offset2 = 0; in reallocate_mbuf() local 996 bytes_to_copy = temp_mbuf->data_len - offset1; in reallocate_mbuf() 1001 bytes_to_copy = mbufs_size - offset2; in reallocate_mbuf() 1005 bytes_to_copy = temp_mbuf->data_len - offset1; in reallocate_mbuf() 1010 data = rte_pktmbuf_append(new_mbufs[0], bytes_to_copy); in reallocate_mbuf() 1013 void *, offset1), bytes_to_copy); in reallocate_mbuf() 1018 offset2 += bytes_to_copy; in reallocate_mbuf() 1022 offset1 += bytes_to_copy; in reallocate_mbuf()
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_mcp.c | 3127 u32 bytes_left, offset, bytes_to_copy, buf_size; in ecore_mcp_nvm_read() local 3139 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_nvm_read() 3141 nvm_offset = (addr + offset) | (bytes_to_copy << in ecore_mcp_nvm_read() 3383 u32 bytes_left, bytes_to_copy, buf_size, nvm_offset; in ecore_mcp_phy_sfp_read() local 3393 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_phy_sfp_read() 3399 nvm_offset |= (bytes_to_copy << in ecore_mcp_phy_sfp_read()
|
| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_debug.c | 3961 u32 ret_mcp_resp, ret_mcp_param, ret_read_size, bytes_to_copy; in qed_nvram_read() local 3970 bytes_to_copy = in qed_nvram_read() 3978 SET_MFW_FIELD(param, DRV_MB_PARAM_NVM_LEN, bytes_to_copy); in qed_nvram_read()
|