Home
last modified time | relevance | path

Searched refs:frag_len (Results 1 – 7 of 7) sorted by relevance

/net/nfc/nci/
Ddata.c102 int frag_len; in nci_queue_tx_data_frags() local
116 frag_len = in nci_queue_tx_data_frags()
120 (NCI_DATA_HDR_SIZE + frag_len), in nci_queue_tx_data_frags()
129 skb_put_data(skb_frag, data, frag_len); in nci_queue_tx_data_frags()
133 ((total_len == frag_len) ? in nci_queue_tx_data_frags()
138 data += frag_len; in nci_queue_tx_data_frags()
139 total_len -= frag_len; in nci_queue_tx_data_frags()
142 frag_len, total_len); in nci_queue_tx_data_frags()
/net/nfc/
Dllcp_commands.c660 size_t frag_len = 0, remaining_len; in nfc_llcp_send_i_frame() local
703 frag_len = min_t(size_t, remote_miu, remaining_len); in nfc_llcp_send_i_frame()
706 frag_len, remaining_len); in nfc_llcp_send_i_frame()
709 frag_len + LLCP_SEQUENCE_SIZE); in nfc_llcp_send_i_frame()
717 if (likely(frag_len > 0)) in nfc_llcp_send_i_frame()
718 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_i_frame()
728 remaining_len -= frag_len; in nfc_llcp_send_i_frame()
729 msg_ptr += frag_len; in nfc_llcp_send_i_frame()
742 size_t frag_len = 0, remaining_len; in nfc_llcp_send_ui_frame() local
769 frag_len = min_t(size_t, remote_miu, remaining_len); in nfc_llcp_send_ui_frame()
[all …]
/net/bluetooth/
Damp.c221 size_t rem_len, frag_len; in read_local_amp_assoc_complete() local
228 frag_len = skb->len - sizeof(*rp); in read_local_amp_assoc_complete()
231 if (rem_len > frag_len) { in read_local_amp_assoc_complete()
232 BT_DBG("frag_len %zu rem_len %zu", frag_len, rem_len); in read_local_amp_assoc_complete()
234 memcpy(assoc->data + assoc->offset, rp->frag, frag_len); in read_local_amp_assoc_complete()
235 assoc->offset += frag_len; in read_local_amp_assoc_complete()
339 u16 frag_len, len; in amp_write_rem_assoc_frag() local
354 frag_len = min_t(u16, 248, ctrl->assoc_rem_len); in amp_write_rem_assoc_frag()
355 len = frag_len + sizeof(*cp); in amp_write_rem_assoc_frag()
364 hcon, ctrl, frag_len, ctrl->assoc_len, ctrl->assoc_rem_len); in amp_write_rem_assoc_frag()
[all …]
/net/ieee802154/6lowpan/
Dtx.c164 int frag_cap, frag_len, payload_cap, rc; in lowpan_xmit_fragmented() local
176 frag_len = round_down(payload_cap - LOWPAN_FRAG1_HEAD_SIZE - in lowpan_xmit_fragmented()
184 frag_len + skb_network_header_len(skb), in lowpan_xmit_fragmented()
197 dgram_offset += frag_len; in lowpan_xmit_fragmented()
198 skb_offset += frag_len; in lowpan_xmit_fragmented()
199 skb_unprocessed -= frag_len; in lowpan_xmit_fragmented()
200 frag_len = min(frag_cap, skb_unprocessed); in lowpan_xmit_fragmented()
206 frag_len, false); in lowpan_xmit_fragmented()
/net/wireless/
Dutil.c674 int frag_len, frag_size; in __ieee80211_amsdu_copy_frag() local
691 frag_len = frag_size - offset; in __ieee80211_amsdu_copy_frag()
693 cur_len = min(len, frag_len); in __ieee80211_amsdu_copy_frag()
699 frag_len = skb_frag_size(frag); in __ieee80211_amsdu_copy_frag()
700 cur_len = min(len, frag_len); in __ieee80211_amsdu_copy_frag()
702 skb_frag_address(frag), cur_len, frag_len); in __ieee80211_amsdu_copy_frag()
/net/core/
Dpktgen.c2767 int frag_len; in pktgen_finalize_skb() local
2779 frag_len = (datalen/frags) < PAGE_SIZE ? in pktgen_finalize_skb()
2799 skb_frag_size_set(&skb_shinfo(skb)->frags[i], frag_len); in pktgen_finalize_skb()
Dskbuff.c4075 unsigned int frag_len; in skb_segment() local
4089 frag_len = list_skb->len; in skb_segment()
4091 if (frag_len != iter->len && iter->next) in skb_segment()
4099 if (len != frag_len) in skb_segment()