Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dffa.c138 u32 handle_hi, u32 fraglen, u32 endpoint_id) in ffa_mem_frag_tx() argument
141 handle_lo, handle_hi, fraglen, endpoint_id, in ffa_mem_frag_tx()
156 u32 fraglen) in ffa_mem_xfer() argument
158 arm_smccc_1_1_smc(func_id, len, fraglen, in ffa_mem_xfer()
365 DECLARE_REG(u32, fraglen, ctxt, 3); in do_ffa_mem_frag_tx()
371 if (fraglen > KVM_FFA_MBOX_NR_PAGES * PAGE_SIZE) in do_ffa_mem_frag_tx()
374 if (fraglen % sizeof(*buf)) in do_ffa_mem_frag_tx()
382 memcpy(buf, host_buffers.tx, fraglen); in do_ffa_mem_frag_tx()
383 nr_ranges = fraglen / sizeof(*buf); in do_ffa_mem_frag_tx()
397 ffa_mem_frag_tx(res, handle_lo, handle_hi, fraglen, endpoint_id); in do_ffa_mem_frag_tx()
[all …]
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c377 int fraglen; member
388 int thislen = desc->fraglen + sg->length; in encryptor()
389 int fraglen, ret; in encryptor() local
409 desc->fraglen += sg->length; in encryptor()
412 fraglen = thislen & (crypto_sync_skcipher_blocksize(tfm) - 1); in encryptor()
413 thislen -= fraglen; in encryptor()
431 if (fraglen) { in encryptor()
432 sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen, in encryptor()
433 sg->offset + sg->length - fraglen); in encryptor()
437 desc->fraglen = fraglen; in encryptor()
[all …]
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c1457 int fraglen; in dvb_ca_en50221_io_write() local
1489 fraglen = sl->link_buf_size - 2; in dvb_ca_en50221_io_write()
1490 if (fraglen < 0) in dvb_ca_en50221_io_write()
1492 if (fraglen > HOST_LINK_BUF_SIZE - 2) in dvb_ca_en50221_io_write()
1493 fraglen = HOST_LINK_BUF_SIZE - 2; in dvb_ca_en50221_io_write()
1494 if ((count - fragpos) < fraglen) in dvb_ca_en50221_io_write()
1495 fraglen = count - fragpos; in dvb_ca_en50221_io_write()
1498 fragbuf[1] = ((fragpos + fraglen) < count) ? 0x80 : 0x00; in dvb_ca_en50221_io_write()
1499 status = copy_from_user(fragbuf + 2, buf + fragpos, fraglen); in dvb_ca_en50221_io_write()
1519 fraglen + 2, 0); in dvb_ca_en50221_io_write()
[all …]
/openbmc/linux/net/netrom/
H A 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()
/openbmc/linux/net/x25/
H A Dx25_in.c38 x25->fraglen += skb->len; in x25_queue_rx_frame()
44 if (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()
/openbmc/linux/net/ax25/
H A 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()
/openbmc/linux/include/net/
H A Dping.h64 int ping_getfrag(void *from, char *to, int offset, int fraglen, int odd,
H A Drose.h143 unsigned short fraglen; member
H A Dnetrom.h77 unsigned short fraglen; member
H A Dx25.h158 unsigned short fraglen; member
H A Dax25.h247 unsigned short paclen, fragno, fraglen; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c614 unsigned int hdrlen, fraglen; in iwlagn_pass_packet_to_mac80211() local
643 fraglen = len - hdrlen; in iwlagn_pass_packet_to_mac80211()
645 if (fraglen) { in iwlagn_pass_packet_to_mac80211()
650 fraglen, rxb->truesize); in iwlagn_pass_packet_to_mac80211()
/openbmc/linux/net/sunrpc/
H A Dxdr.c1190 int fraglen; in xdr_truncate_encode() local
1199 fraglen = min_t(int, buf->len - len, tail->iov_len); in xdr_truncate_encode()
1200 tail->iov_len -= fraglen; in xdr_truncate_encode()
1201 buf->len -= fraglen; in xdr_truncate_encode()
1208 WARN_ON_ONCE(fraglen); in xdr_truncate_encode()
1209 fraglen = min_t(int, buf->len - len, buf->page_len); in xdr_truncate_encode()
1210 buf->page_len -= fraglen; in xdr_truncate_encode()
1211 buf->len -= fraglen; in xdr_truncate_encode()
1224 if (fraglen) in xdr_truncate_encode()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c54 unsigned int fraglen; in iwl_mvm_pass_packet_to_mac80211() local
83 fraglen = len - hdrlen; in iwl_mvm_pass_packet_to_mac80211()
85 if (fraglen) { in iwl_mvm_pass_packet_to_mac80211()
90 fraglen, rxb->truesize); in iwl_mvm_pass_packet_to_mac80211()
H A Drxmq.c97 unsigned int headlen, fraglen, pad_len = 0; in iwl_mvm_create_skb() local
179 fraglen = len - headlen; in iwl_mvm_create_skb()
181 if (fraglen) { in iwl_mvm_create_skb()
186 fraglen, rxb->truesize); in iwl_mvm_create_skb()
/openbmc/linux/net/ipv4/
H A Dip_output.c1074 unsigned int fraglen; in __ip_append_data() local
1093 fraglen = datalen + fragheaderlen; in __ip_append_data()
1111 (fraglen + alloc_extra < SKB_MAX_ALLOC || in __ip_append_data()
1113 alloclen = fraglen; in __ip_append_data()
1146 data = skb_put(skb, fraglen + exthdrlen - pagedlen); in __ip_append_data()
H A Dping.c611 int offset, int fraglen, int odd, struct sk_buff *skb) in ping_getfrag() argument
615 if (!csum_and_copy_from_iter_full(to, fraglen, &pfh->wcheck, in ping_getfrag()
/openbmc/linux/net/ipv6/
H A Dip6_output.c1650 unsigned int fraglen; in __ip6_append_data() local
1676 fraglen = datalen + fragheaderlen; in __ip6_append_data()
1693 (fraglen + alloc_extra < SKB_MAX_ALLOC || in __ip6_append_data()
1695 alloclen = fraglen; in __ip6_append_data()
1710 fraglen = datalen + fragheaderlen; in __ip6_append_data()
1747 data = skb_put(skb, fraglen - pagedlen); in __ip6_append_data()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A 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()
/openbmc/linux/net/rose/
H A Daf_rose.c569 rose->fraglen = 0; in rose_create()
608 rose->fraglen = 0; in rose_make_new()
/openbmc/linux/net/mac80211/
H A Dtx.c914 int fraglen = per_fragm; in ieee80211_fragment() local
916 if (fraglen > rem) in ieee80211_fragment()
917 fraglen = rem; in ieee80211_fragment()
918 rem -= fraglen; in ieee80211_fragment()
947 skb_put_data(tmp, skb->data + pos, fraglen); in ieee80211_fragment()
949 pos += fraglen; in ieee80211_fragment()