Home
last modified time | relevance | path

Searched refs:remaining_len (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/crypto/xilinx/
H A Dzynqmp-sha.c129 unsigned int remaining_len = len; in zynqmp_sha_digest() local
137 while (remaining_len != 0) { in zynqmp_sha_digest()
139 if (remaining_len >= ZYNQMP_DMA_ALLOC_FIXED_SIZE) { in zynqmp_sha_digest()
141 remaining_len -= ZYNQMP_DMA_ALLOC_FIXED_SIZE; in zynqmp_sha_digest()
143 update_size = remaining_len; in zynqmp_sha_digest()
144 remaining_len = 0; in zynqmp_sha_digest()
/linux/net/nfc/
H A Dllcp_commands.c652 size_t frag_len = 0, remaining_len; in nfc_llcp_send_i_frame() local
688 remaining_len = len; in nfc_llcp_send_i_frame()
695 frag_len = min_t(size_t, remote_miu, remaining_len); in nfc_llcp_send_i_frame()
698 frag_len, remaining_len); in nfc_llcp_send_i_frame()
720 remaining_len -= frag_len; in nfc_llcp_send_i_frame()
722 } while (remaining_len > 0); in nfc_llcp_send_i_frame()
734 size_t frag_len = 0, remaining_len; in nfc_llcp_send_ui_frame() local
754 remaining_len = len; in nfc_llcp_send_ui_frame()
761 frag_len = min_t(size_t, remote_miu, remaining_len); in nfc_llcp_send_ui_frame()
764 frag_len, remaining_len); in nfc_llcp_send_ui_frame()
[all …]
/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_pes.c326 u32 remaining_len = args->access_unit_len; in vidtv_pes_write_into() local
346 while (remaining_len) { in vidtv_pes_write_into()
375 if (remaining_len >= available_space) { in vidtv_pes_write_into()
379 payload_size = remaining_len; in vidtv_pes_write_into()
422 remaining_len -= payload_size; in vidtv_pes_write_into()
H A Dvidtv_psi.c169 u32 remaining_len = args->len; in vidtv_psi_ts_psi_write_into() local
191 while (remaining_len) { in vidtv_psi_ts_psi_write_into()
221 payload_write_len = min(TS_PACKET_LEN - nbytes_past_boundary, remaining_len); in vidtv_psi_ts_psi_write_into()
230 remaining_len -= payload_write_len; in vidtv_psi_ts_psi_write_into()
/linux/drivers/nfc/nxp-nci/
H A Dfirmware.c94 size_t remaining_len; in nxp_nci_fw_send_chunk() local
102 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk()
104 if (remaining_len > chunk_len) { in nxp_nci_fw_send_chunk()
107 chunk_len = remaining_len; in nxp_nci_fw_send_chunk()
/linux/drivers/net/xen-netback/
H A Drx.c243 size_t remaining_len; member
268 pkt->remaining_len = skb->len; in xenvif_rx_next_skb()
409 pkt->remaining_len -= len; in xenvif_rx_data_slot()
411 } while (offset < XEN_PAGE_SIZE && pkt->remaining_len > 0); in xenvif_rx_data_slot()
413 if (pkt->remaining_len > 0) in xenvif_rx_data_slot()
484 } while (pkt.remaining_len > 0 || pkt.extra_count != 0); in xenvif_rx_skb()
/linux/drivers/media/usb/gspca/
H A Dov534_9.c1633 int remaining_len = len; in sd_pkt_scan() local
1638 len = min(remaining_len, payload_len); in sd_pkt_scan()
1695 remaining_len -= len; in sd_pkt_scan()
1697 } while (remaining_len > 0); in sd_pkt_scan()
H A Dov534.c1461 int remaining_len = len; in sd_pkt_scan() local
1466 len = min(remaining_len, payload_len); in sd_pkt_scan()
1529 remaining_len -= len; in sd_pkt_scan()
1531 } while (remaining_len > 0); in sd_pkt_scan()
/linux/net/ipv4/
H A Dtcp.c2401 int remaining_len) in tcp_recvmsg_dmabuf() argument
2423 copy = min(copy, remaining_len); in tcp_recvmsg_dmabuf()
2433 remaining_len -= copy; in tcp_recvmsg_dmabuf()
2451 if (remaining_len == 0) in tcp_recvmsg_dmabuf()
2482 copy = min(copy, remaining_len); in tcp_recvmsg_dmabuf()
2499 remaining_len -= copy; in tcp_recvmsg_dmabuf()
2517 if (remaining_len == 0) in tcp_recvmsg_dmabuf()
2524 if (!remaining_len) in tcp_recvmsg_dmabuf()
2535 if (remaining_len) { in tcp_recvmsg_dmabuf()
/linux/drivers/net/ethernet/
H A Doa_tc6.c952 u16 remaining_len = tc6->ongoing_tx_skb->len - tc6->tx_skb_offset; in oa_tc6_add_tx_skb_to_spi_buf() local
973 length_to_copy = min_t(u16, remaining_len, OA_TC6_CHUNK_PAYLOAD_SIZE); in oa_tc6_add_tx_skb_to_spi_buf()
/linux/drivers/net/wireless/ath/ath10k/
H A Dcore.c2865 u32 len, remaining_len; in ath10k_core_copy_target_iram() local
2906 remaining_len = len % TGT_IRAM_READ_PER_ITR; in ath10k_core_copy_target_iram()
2920 if (remaining_len) { in ath10k_core_copy_target_iram()
2921 ret = ath10k_hif_diag_read(ar, paddr, vaddr, remaining_len); in ath10k_core_copy_target_iram()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c4770 s32 remaining_len; in brcmf_parse_vndr_ies() local
4772 remaining_len = (s32)vndr_ie_len; in brcmf_parse_vndr_ies()
4810 remaining_len -= (ie->len + TLV_HDR_LEN); in brcmf_parse_vndr_ies()
4811 if (remaining_len <= TLV_HDR_LEN) in brcmf_parse_vndr_ies()