Home
last modified time | relevance | path

Searched refs:len_left (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/lib/kunit/
Dtest.c27 int len_left; in kunit_log_append() local
32 len_left = KUNIT_LOG_SIZE - strlen(log) - 1; in kunit_log_append()
33 if (len_left <= 0) in kunit_log_append()
40 strncat(log, line, len_left); in kunit_log_append()
/Linux-v5.10/drivers/net/ethernet/cisco/enic/
Denic_main.c545 struct sk_buff *skb, unsigned int len_left, in enic_queue_wq_skb_cont() argument
552 for (frag = skb_shinfo(skb)->frags; len_left; frag++) { in enic_queue_wq_skb_cont()
553 len_left -= skb_frag_size(frag); in enic_queue_wq_skb_cont()
560 (len_left == 0), /* EOP? */ in enic_queue_wq_skb_cont()
572 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_vlan() local
573 int eop = (len_left == 0); in enic_queue_wq_skb_vlan()
591 err = enic_queue_wq_skb_cont(enic, wq, skb, len_left, loopback); in enic_queue_wq_skb_vlan()
601 unsigned int len_left = skb->len - head_len; in enic_queue_wq_skb_csum_l4() local
604 int eop = (len_left == 0); in enic_queue_wq_skb_csum_l4()
623 err = enic_queue_wq_skb_cont(enic, wq, skb, len_left, loopback); in enic_queue_wq_skb_csum_l4()
[all …]
/Linux-v5.10/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c786 unsigned int len_left; in ionic_tx_tso() local
810 len_left = skb->len - skb_headlen(skb); in ionic_tx_tso()
871 for (frag = skb_shinfo(skb)->frags; len_left; frag++) { in ionic_tx_tso()
874 len_left -= left; in ionic_tx_tso()
1026 unsigned int len_left = skb->len - skb_headlen(skb); in ionic_tx_skb_frags() local
1034 for (frag = skb_shinfo(skb)->frags; len_left; frag++, elem++) { in ionic_tx_skb_frags()
1041 len_left -= len; in ionic_tx_skb_frags()
/Linux-v5.10/kernel/bpf/
Dbtf.c5355 int len_left; /* space left in string */ member
5365 len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); in btf_snprintf_show()
5368 ssnprintf->len_left = 0; in btf_snprintf_show()
5370 } else if (len > ssnprintf->len_left) { in btf_snprintf_show()
5372 ssnprintf->len_left = 0; in btf_snprintf_show()
5375 ssnprintf->len_left -= len; in btf_snprintf_show()
5389 ssnprintf.len_left = len; in btf_type_snprintf_show()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c396 u16 len_left; member
1875 rd->len_left = rd->len; in brcmf_sdio_readframes()
1916 rd->len_left = rd->len > BRCMF_FIRSTREAD ? in brcmf_sdio_readframes()
1921 brcmf_sdio_pad(bus, &pad, &rd->len_left); in brcmf_sdio_readframes()
1923 pkt = brcmu_pkt_buf_get_skb(rd->len_left + head_read + in brcmf_sdio_readframes()
1934 pkt_align(pkt, rd->len_left, bus->head_align); in brcmf_sdio_readframes()