Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c327 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 …]
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_ca_en50221.c1452 int fraglen; in dvb_ca_en50221_io_write() local
1484 fraglen = sl->link_buf_size - 2; in dvb_ca_en50221_io_write()
1485 if (fraglen < 0) in dvb_ca_en50221_io_write()
1487 if (fraglen > HOST_LINK_BUF_SIZE - 2) in dvb_ca_en50221_io_write()
1488 fraglen = HOST_LINK_BUF_SIZE - 2; in dvb_ca_en50221_io_write()
1489 if ((count - fragpos) < fraglen) in dvb_ca_en50221_io_write()
1490 fraglen = count - fragpos; in dvb_ca_en50221_io_write()
1493 fragbuf[1] = ((fragpos + fraglen) < count) ? 0x80 : 0x00; in dvb_ca_en50221_io_write()
1494 status = copy_from_user(fragbuf + 2, buf + fragpos, fraglen); in dvb_ca_en50221_io_write()
1514 fraglen + 2); in dvb_ca_en50221_io_write()
[all …]
/kernel/linux/linux-5.10/net/netrom/
Dnr_in.c39 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()
/kernel/linux/linux-5.10/net/x25/
Dx25_in.c38 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()
/kernel/linux/linux-5.10/net/ax25/
Dax25_in.c44 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()
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c868 int fraglen; in xdr_truncate_encode() local
877 fraglen = min_t(int, buf->len - len, tail->iov_len); in xdr_truncate_encode()
878 tail->iov_len -= fraglen; in xdr_truncate_encode()
879 buf->len -= fraglen; in xdr_truncate_encode()
886 WARN_ON_ONCE(fraglen); in xdr_truncate_encode()
887 fraglen = min_t(int, buf->len - len, buf->page_len); in xdr_truncate_encode()
888 buf->page_len -= fraglen; in xdr_truncate_encode()
889 buf->len -= fraglen; in xdr_truncate_encode()
902 if (fraglen) in xdr_truncate_encode()
/kernel/linux/linux-5.10/include/net/
Dping.h71 int ping_getfrag(void *from, char *to, int offset, int fraglen, int odd,
Drose.h141 unsigned short fraglen; member
Dnetrom.h76 unsigned short fraglen; member
Dx25.h158 unsigned short fraglen; member
Dax25.h254 unsigned short paclen, fragno, fraglen; member
/kernel/linux/linux-5.10/net/ipv4/
Dping.c604 int offset, int fraglen, int odd, struct sk_buff *skb) in ping_getfrag() argument
609 fraglen -= sizeof(struct icmphdr); in ping_getfrag()
610 if (fraglen < 0) in ping_getfrag()
613 fraglen, &pfh->wcheck, in ping_getfrag()
619 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag()
Dip_output.c1062 unsigned int fraglen; in __ip_append_data() local
1081 fraglen = datalen + fragheaderlen; in __ip_append_data()
1099 (fraglen + alloc_extra < SKB_MAX_ALLOC || in __ip_append_data()
1101 alloclen = fraglen; in __ip_append_data()
1103 alloclen = min_t(int, fraglen, MAX_HEADER); in __ip_append_data()
1104 pagedlen = fraglen - alloclen; in __ip_append_data()
1134 data = skb_put(skb, fraglen + exthdrlen - pagedlen); in __ip_append_data()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c619 unsigned int hdrlen, fraglen; in iwlagn_pass_packet_to_mac80211() local
648 fraglen = len - hdrlen; in iwlagn_pass_packet_to_mac80211()
650 if (fraglen) { in iwlagn_pass_packet_to_mac80211()
655 fraglen, rxb->truesize); in iwlagn_pass_packet_to_mac80211()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c106 unsigned int fraglen; in iwl_mvm_pass_packet_to_mac80211() local
135 fraglen = len - hdrlen; in iwl_mvm_pass_packet_to_mac80211()
137 if (fraglen) { in iwl_mvm_pass_packet_to_mac80211()
142 fraglen, rxb->truesize); in iwl_mvm_pass_packet_to_mac80211()
Drxmq.c178 unsigned int headlen, fraglen, pad_len = 0; in iwl_mvm_create_skb() local
276 fraglen = len - headlen; in iwl_mvm_create_skb()
278 if (fraglen) { in iwl_mvm_create_skb()
283 fraglen, rxb->truesize); in iwl_mvm_create_skb()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_output.c1593 unsigned int fraglen; in __ip6_append_data() local
1619 fraglen = datalen + fragheaderlen; in __ip6_append_data()
1636 (fraglen + alloc_extra < SKB_MAX_ALLOC || in __ip6_append_data()
1638 alloclen = fraglen; in __ip6_append_data()
1640 alloclen = min_t(int, fraglen, MAX_HEADER); in __ip6_append_data()
1641 pagedlen = fraglen - alloclen; in __ip6_append_data()
1653 fraglen = datalen + fragheaderlen; in __ip6_append_data()
1687 data = skb_put(skb, fraglen - pagedlen); in __ip6_append_data()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D3945.c475 u32 fraglen = PAGE_SIZE << il->hw_params.rx_page_order; in il3945_pass_packet_to_mac80211() local
478 if (unlikely(len + IL39_RX_FRAME_SIZE > fraglen)) { in il3945_pass_packet_to_mac80211()
512 fraglen); in il3945_pass_packet_to_mac80211()
/kernel/linux/linux-5.10/net/rose/
Daf_rose.c534 rose->fraglen = 0; in rose_create()
573 rose->fraglen = 0; in rose_make_new()
/kernel/linux/linux-5.10/net/mac80211/
Dtx.c887 int fraglen = per_fragm; in ieee80211_fragment() local
889 if (fraglen > rem) in ieee80211_fragment()
890 fraglen = rem; in ieee80211_fragment()
891 rem -= fraglen; in ieee80211_fragment()
920 skb_put_data(tmp, skb->data + pos, fraglen); in ieee80211_fragment()
922 pos += fraglen; in ieee80211_fragment()