Searched refs:fraglen (Results 1 – 10 of 10) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 327 int fraglen; member 338 int thislen = desc->fraglen + sg->length; in encryptor() 339 int fraglen, ret; in encryptor() local 359 desc->fraglen += sg->length; in encryptor() 362 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); in encryptor() 363 thislen -= fraglen; in encryptor() 381 if (fraglen) { in encryptor() 382 sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen, in encryptor() 383 sg->offset + sg->length - fraglen); in encryptor() 387 desc->fraglen = fraglen; in encryptor() [all …]
|
/net/netrom/ |
D | nr_in.c | 39 nr->fraglen += skb->len; in nr_queue_rx_frame() 44 if (!more && nr->fraglen > 0) { /* End of fragment */ in nr_queue_rx_frame() 45 nr->fraglen += skb->len; in nr_queue_rx_frame() 48 if ((skbn = alloc_skb(nr->fraglen, GFP_ATOMIC)) == NULL) in nr_queue_rx_frame() 60 nr->fraglen = 0; in nr_queue_rx_frame()
|
/net/ax25/ |
D | ax25_in.c | 44 ax25->fraglen += skb->len; in ax25_rx_fragment() 50 ax25->fraglen, in ax25_rx_fragment() 71 ax25->fraglen = 0; in ax25_rx_fragment() 86 ax25->fraglen = skb->len; in ax25_rx_fragment()
|
/net/x25/ |
D | x25_in.c | 38 x25->fraglen += skb->len; in x25_queue_rx_frame() 44 if (!more && x25->fraglen > 0) { /* End of fragment */ in x25_queue_rx_frame() 45 int len = x25->fraglen + skb->len; in x25_queue_rx_frame() 71 x25->fraglen = 0; in x25_queue_rx_frame()
|
/net/sunrpc/ |
D | xdr.c | 1095 int fraglen; in xdr_truncate_encode() local 1104 fraglen = min_t(int, buf->len - len, tail->iov_len); in xdr_truncate_encode() 1105 tail->iov_len -= fraglen; in xdr_truncate_encode() 1106 buf->len -= fraglen; in xdr_truncate_encode() 1113 WARN_ON_ONCE(fraglen); in xdr_truncate_encode() 1114 fraglen = min_t(int, buf->len - len, buf->page_len); in xdr_truncate_encode() 1115 buf->page_len -= fraglen; in xdr_truncate_encode() 1116 buf->len -= fraglen; in xdr_truncate_encode() 1129 if (fraglen) in xdr_truncate_encode()
|
/net/ipv4/ |
D | ping.c | 606 int offset, int fraglen, int odd, struct sk_buff *skb) in ping_getfrag() argument 611 fraglen -= sizeof(struct icmphdr); in ping_getfrag() 612 if (fraglen < 0) in ping_getfrag() 615 fraglen, &pfh->wcheck, in ping_getfrag() 621 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag()
|
D | ip_output.c | 1054 unsigned int fraglen; in __ip_append_data() local 1073 fraglen = datalen + fragheaderlen; in __ip_append_data() 1091 (fraglen + alloc_extra < SKB_MAX_ALLOC || in __ip_append_data() 1093 alloclen = fraglen; in __ip_append_data() 1095 alloclen = min_t(int, fraglen, MAX_HEADER); in __ip_append_data() 1096 pagedlen = fraglen - alloclen; in __ip_append_data() 1126 data = skb_put(skb, fraglen + exthdrlen - pagedlen); in __ip_append_data()
|
/net/ipv6/ |
D | ip6_output.c | 1588 unsigned int fraglen; in __ip6_append_data() local 1614 fraglen = datalen + fragheaderlen; in __ip6_append_data() 1631 (fraglen + alloc_extra < SKB_MAX_ALLOC || in __ip6_append_data() 1633 alloclen = fraglen; in __ip6_append_data() 1635 alloclen = min_t(int, fraglen, MAX_HEADER); in __ip6_append_data() 1636 pagedlen = fraglen - alloclen; in __ip6_append_data() 1648 fraglen = datalen + fragheaderlen; in __ip6_append_data() 1682 data = skb_put(skb, fraglen - pagedlen); in __ip6_append_data()
|
/net/rose/ |
D | af_rose.c | 568 rose->fraglen = 0; in rose_create() 607 rose->fraglen = 0; in rose_make_new()
|
/net/mac80211/ |
D | tx.c | 879 int fraglen = per_fragm; in ieee80211_fragment() local 881 if (fraglen > rem) in ieee80211_fragment() 882 fraglen = rem; in ieee80211_fragment() 883 rem -= fraglen; in ieee80211_fragment() 912 skb_put_data(tmp, skb->data + pos, fraglen); in ieee80211_fragment() 914 pos += fraglen; in ieee80211_fragment()
|