Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/netinet/
H A Dtcp_pcap.c162 int bytes_to_copy=0, trailing_data, skip=0, tcp_off; in tcp_pcap_copy_bestfit() local
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()
199 bcopy(th, n->m_data, bytes_to_copy); 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()
216 bytes_to_copy += (caddr_t) th - (caddr_t) m_cur->m_data; 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()
[all …]
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c720 size_t bytes_to_copy = 0; in sdp_sendmsg_zcopy() local
747 bytes_to_copy = iov->iov_len; in sdp_sendmsg_zcopy()
762 copied = bytes_to_copy - iov->iov_len; in sdp_sendmsg_zcopy()
/freebsd/sys/dev/ena/
H A Dena_netmap.c499 u_int slot_index, uint16_t limit, uint16_t bytes_to_copy, void *destination) in ena_netmap_copy_data() argument
511 data_amount = min_t(uint16_t, bytes_to_copy, nm_slot->len); in ena_netmap_copy_data()
513 bytes_to_copy -= data_amount; in ena_netmap_copy_data()
516 } while ((nm_slot->flags & NS_MOREFRAG) != 0 && bytes_to_copy > 0); in ena_netmap_copy_data()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_mcp.c3341 u32 bytes_left, offset, bytes_to_copy, buf_size; in ecore_mcp_nvm_read() local
3353 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_nvm_read()
3355 nvm_offset = (addr + offset) | (bytes_to_copy << in ecore_mcp_nvm_read()
3600 u32 bytes_left, bytes_to_copy, buf_size, nvm_offset; in ecore_mcp_phy_sfp_read() local
3610 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_phy_sfp_read()
3616 nvm_offset |= (bytes_to_copy << in ecore_mcp_phy_sfp_read()
H A Decore_dbg_fw_funcs.c4479 u32 ret_mcp_resp, ret_mcp_param, ret_read_size, bytes_to_copy; in ecore_nvram_read() local
4486 bytes_to_copy = (bytes_left > MCP_DRV_NVM_BUF_LEN) ? MCP_DRV_NVM_BUF_LEN : bytes_left; in ecore_nvram_read()
4489 …t, DRV_MSG_CODE_NVM_READ_NVRAM, (nvram_offset_bytes + read_offset) | (bytes_to_copy << DRV_MB_PARA… in ecore_nvram_read()
/freebsd/contrib/file/magic/Magdir/
H A Dmsdos1581 # assembler instructions: jump above +2; int 0x20; mov cx, offset bytes_to_copy
1583 #>9 uleshort x \b, [bytes_to_copy]=%#x