Searched refs:frag_len (Results 1 – 5 of 5) sorted by relevance
/net/nfc/nci/ |
D | data.c | 95 int frag_len; in nci_queue_tx_data_frags() local 103 frag_len = in nci_queue_tx_data_frags() 107 (NCI_DATA_HDR_SIZE + frag_len), in nci_queue_tx_data_frags() 116 memcpy(skb_put(skb_frag, frag_len), data, frag_len); in nci_queue_tx_data_frags() 120 ((total_len == frag_len) ? in nci_queue_tx_data_frags() 125 data += frag_len; in nci_queue_tx_data_frags() 126 total_len -= frag_len; in nci_queue_tx_data_frags() 129 frag_len, total_len); in nci_queue_tx_data_frags()
|
/net/nfc/ |
D | llcp_commands.c | 659 size_t frag_len = 0, remaining_len; in nfc_llcp_send_i_frame() local 702 frag_len = min_t(size_t, remote_miu, remaining_len); in nfc_llcp_send_i_frame() 705 frag_len, remaining_len); in nfc_llcp_send_i_frame() 708 frag_len + LLCP_SEQUENCE_SIZE); in nfc_llcp_send_i_frame() 714 if (likely(frag_len > 0)) in nfc_llcp_send_i_frame() 715 memcpy(skb_put(pdu, frag_len), msg_ptr, frag_len); in nfc_llcp_send_i_frame() 725 remaining_len -= frag_len; in nfc_llcp_send_i_frame() 726 msg_ptr += frag_len; in nfc_llcp_send_i_frame() 739 size_t frag_len = 0, remaining_len; in nfc_llcp_send_ui_frame() local 766 frag_len = min_t(size_t, remote_miu, remaining_len); in nfc_llcp_send_ui_frame() [all …]
|
/net/bluetooth/ |
D | amp.c | 266 u16 frag_len, len; in amp_write_rem_assoc_frag() local 281 frag_len = min_t(u16, 248, ctrl->assoc_rem_len); in amp_write_rem_assoc_frag() 282 len = frag_len + sizeof(*cp); in amp_write_rem_assoc_frag() 291 hcon, ctrl, frag_len, ctrl->assoc_len, ctrl->assoc_rem_len); in amp_write_rem_assoc_frag() 296 memcpy(cp->frag, ctrl->assoc, frag_len); in amp_write_rem_assoc_frag() 298 ctrl->assoc_len_so_far += frag_len; in amp_write_rem_assoc_frag() 299 ctrl->assoc_rem_len -= frag_len; in amp_write_rem_assoc_frag()
|
D | hci_event.c | 709 size_t rem_len, frag_len; in hci_cc_read_local_amp_assoc() local 716 frag_len = skb->len - sizeof(*rp); in hci_cc_read_local_amp_assoc() 719 if (rem_len > frag_len) { in hci_cc_read_local_amp_assoc() 720 BT_DBG("frag_len %zu rem_len %zu", frag_len, rem_len); in hci_cc_read_local_amp_assoc() 722 memcpy(assoc->data + assoc->offset, rp->frag, frag_len); in hci_cc_read_local_amp_assoc() 723 assoc->offset += frag_len; in hci_cc_read_local_amp_assoc()
|
/net/core/ |
D | pktgen.c | 2578 int frag_len; in pktgen_finalize_skb() local 2590 frag_len = (datalen/frags) < PAGE_SIZE ? in pktgen_finalize_skb() 2610 skb_frag_size_set(&skb_shinfo(skb)->frags[i], frag_len); in pktgen_finalize_skb()
|