Home
last modified time | relevance | path

Searched refs:cp_len (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/drivers/net/memif/
H A Drte_eth_memif.c379 cp_len = RTE_MIN(dst_len, src_len); in eth_memif_rx()
388 cp_len); in eth_memif_rx()
390 src_off += cp_len; in eth_memif_rx()
391 dst_off += cp_len; in eth_memif_rx()
392 src_len -= cp_len; in eth_memif_rx()
649 cp_len); in eth_memif_tx()
651 mq->n_bytes += cp_len; in eth_memif_tx()
652 src_off += cp_len; in eth_memif_tx()
653 dst_off += cp_len; in eth_memif_tx()
654 src_len -= cp_len; in eth_memif_tx()
[all …]
/f-stack/freebsd/netinet/
H A Dsctputil.c5472 ssize_t cp_len = 0; in sctp_sorecvmsg() local
5979 cp_len = uio->uio_resid; in sctp_sorecvmsg()
5981 if (cp_len > my_len) { in sctp_sorecvmsg()
5983 cp_len = my_len; in sctp_sorecvmsg()
5989 if (cp_len > 0) in sctp_sorecvmsg()
6006 if (cp_len == SCTP_BUF_LEN(m)) { in sctp_sorecvmsg()
6022 copied_so_far += cp_len; in sctp_sorecvmsg()
6034 copied_so_far += cp_len; in sctp_sorecvmsg()
6074 SCTP_BUF_RESV_UF(m, cp_len); in sctp_sorecvmsg()
6084 copied_so_far += cp_len; in sctp_sorecvmsg()
[all …]