Home
last modified time | relevance | path

Searched refs:fraglen (Results 1 – 10 of 10) sorted by relevance

/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c463 int fraglen; member
473 int thislen = desc->fraglen + sg->length; in encryptor()
474 int fraglen, ret; in encryptor() local
494 desc->fraglen += sg->length; in encryptor()
497 fraglen = thislen & (crypto_skcipher_blocksize(tfm) - 1); in encryptor()
498 thislen -= fraglen; in encryptor()
516 if (fraglen) { in encryptor()
517 sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen, in encryptor()
518 sg->offset + sg->length - fraglen); in encryptor()
522 desc->fraglen = fraglen; in encryptor()
[all …]
/net/netrom/
Dnr_in.c42 nr->fraglen += skb->len; in nr_queue_rx_frame()
47 if (!more && nr->fraglen > 0) { /* End of fragment */ in nr_queue_rx_frame()
48 nr->fraglen += skb->len; in nr_queue_rx_frame()
51 if ((skbn = alloc_skb(nr->fraglen, GFP_ATOMIC)) == NULL) in nr_queue_rx_frame()
63 nr->fraglen = 0; in nr_queue_rx_frame()
/net/ax25/
Dax25_in.c47 ax25->fraglen += skb->len; in ax25_rx_fragment()
53 ax25->fraglen, in ax25_rx_fragment()
74 ax25->fraglen = 0; in ax25_rx_fragment()
89 ax25->fraglen = skb->len; in ax25_rx_fragment()
/net/x25/
Dx25_in.c43 x25->fraglen += skb->len; in x25_queue_rx_frame()
49 if (!more && x25->fraglen > 0) { /* End of fragment */ in x25_queue_rx_frame()
50 int len = x25->fraglen + skb->len; in x25_queue_rx_frame()
76 x25->fraglen = 0; in x25_queue_rx_frame()
/net/sunrpc/
Dxdr.c608 int fraglen; in xdr_truncate_encode() local
617 fraglen = min_t(int, buf->len - len, tail->iov_len); in xdr_truncate_encode()
618 tail->iov_len -= fraglen; in xdr_truncate_encode()
619 buf->len -= fraglen; in xdr_truncate_encode()
626 WARN_ON_ONCE(fraglen); in xdr_truncate_encode()
627 fraglen = min_t(int, buf->len - len, buf->page_len); in xdr_truncate_encode()
628 buf->page_len -= fraglen; in xdr_truncate_encode()
629 buf->len -= fraglen; in xdr_truncate_encode()
642 if (fraglen) in xdr_truncate_encode()
/net/ipv4/
Dping.c605 int offset, int fraglen, int odd, struct sk_buff *skb) in ping_getfrag() argument
610 fraglen -= sizeof(struct icmphdr); in ping_getfrag()
611 if (fraglen < 0) in ping_getfrag()
614 fraglen, &pfh->wcheck, in ping_getfrag()
620 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag()
Dip_output.c935 unsigned int fraglen; in __ip_append_data() local
953 fraglen = datalen + fragheaderlen; in __ip_append_data()
959 alloclen = fraglen; in __ip_append_data()
1004 data = skb_put(skb, fraglen + exthdrlen); in __ip_append_data()
/net/ipv6/
Dip6_output.c1362 unsigned int fraglen; in __ip6_append_data() local
1404 fraglen = datalen + fragheaderlen; in __ip6_append_data()
1453 data = skb_put(skb, fraglen); in __ip6_append_data()
/net/rose/
Daf_rose.c536 rose->fraglen = 0; in rose_create()
575 rose->fraglen = 0; in rose_make_new()
/net/mac80211/
Dtx.c875 int fraglen = per_fragm; in ieee80211_fragment() local
877 if (fraglen > rem) in ieee80211_fragment()
878 fraglen = rem; in ieee80211_fragment()
879 rem -= fraglen; in ieee80211_fragment()
908 skb_put_data(tmp, skb->data + pos, fraglen); in ieee80211_fragment()
910 pos += fraglen; in ieee80211_fragment()