/linux-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/ |
A D | r8192E_cmdpkt.c | 16 u16 frag_length = 0, frag_offset = 0; in rtl92e_send_cmd_pkt() local 25 if ((len - frag_offset) > CMDPACKET_FRAG_SIZE) { in rtl92e_send_cmd_pkt() 30 frag_length = (u16)(len - frag_offset); in rtl92e_send_cmd_pkt() 75 frag_offset += frag_length; in rtl92e_send_cmd_pkt() 77 } while (frag_offset < len); in rtl92e_send_cmd_pkt()
|
/linux-6.3-rc2/drivers/staging/rtl8192u/ |
A D | r819xU_firmware.c | 40 u16 frag_length, frag_offset = 0; in fw_download_code() local 54 if ((buffer_len - frag_offset) > frag_threshold) { in fw_download_code() 58 frag_length = buffer_len - frag_offset; in fw_download_code() 100 frag_offset += frag_length; in fw_download_code() 102 } while (frag_offset < buffer_len); in fw_download_code()
|
/linux-6.3-rc2/fs/squashfs/ |
A D | inode.c | 130 unsigned int frag_offset, frag; in squashfs_read_inode() local 142 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 151 frag_offset = 0; in squashfs_read_inode() 161 squashfs_i(inode)->fragment_offset = frag_offset; in squashfs_read_inode() 173 unsigned int frag_offset, frag; in squashfs_read_inode() local 185 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 194 frag_offset = 0; in squashfs_read_inode() 208 squashfs_i(inode)->fragment_offset = frag_offset; in squashfs_read_inode()
|
/linux-6.3-rc2/drivers/media/pci/netup_unidvb/ |
A D | netup_unidvb_spi.c | 110 u32 frag_offset = t->len - tr_size; in netup_spi_transfer() local 117 frag_offset + frag_size == t->len) { in netup_spi_transfer() 122 t->tx_buf + frag_offset, in netup_spi_transfer() 142 memcpy_fromio(t->rx_buf + frag_offset, in netup_spi_transfer()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | fw.c | 140 u16 frag_length, frag_offset = 0; in _rtl92s_firmware_downloadcode() local 154 if ((buffer_len - frag_offset) > frag_threshold) { in _rtl92s_firmware_downloadcode() 157 frag_length = (u16)(buffer_len - frag_offset + in _rtl92s_firmware_downloadcode() 168 skb_put_data(skb, code_virtual_address + frag_offset, in _rtl92s_firmware_downloadcode() 178 frag_offset += (frag_length - extra_descoffset); in _rtl92s_firmware_downloadcode() 180 } while (frag_offset < buffer_len); in _rtl92s_firmware_downloadcode()
|
/linux-6.3-rc2/drivers/net/xen-netback/ |
A D | rx.c | 246 unsigned int frag_offset; member 343 pkt->frag_offset = 0; in xenvif_rx_next_frag() 376 frag_data += pkt->frag_offset; in xenvif_rx_next_chunk() 377 frag_len -= pkt->frag_offset; in xenvif_rx_next_chunk() 383 pkt->frag_offset += chunk_len; in xenvif_rx_next_chunk()
|
/linux-6.3-rc2/net/kcm/ |
A D | kcmsock.c | 588 unsigned short fragidx, frag_offset; in kcm_write_msgs() local 619 frag_offset = txm->frag_offset; in kcm_write_msgs() 646 frag_offset = 0; in kcm_write_msgs() 656 skb_frag_off(frag) + frag_offset, in kcm_write_msgs() 657 skb_frag_size(frag) - frag_offset, in kcm_write_msgs() 665 txm->frag_offset = frag_offset; in kcm_write_msgs() 690 frag_offset += ret; in kcm_write_msgs() 692 if (frag_offset < skb_frag_size(frag)) { in kcm_write_msgs()
|
/linux-6.3-rc2/include/net/ |
A D | kcm.h | 51 unsigned int frag_offset; member
|
A D | page_pool.h | 159 unsigned int frag_offset; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ktls_tx.c | 790 unsigned int orig_fsz, frag_offset = 0, n = 0; in mlx5e_ktls_tx_handle_ooo() local 799 fsz = min_t(unsigned int, sq->hw_mtu, orig_fsz - frag_offset); in mlx5e_ktls_tx_handle_ooo() 807 frag_offset += fsz; in mlx5e_ktls_tx_handle_ooo() 808 } while (frag_offset < orig_fsz); in mlx5e_ktls_tx_handle_ooo()
|
/linux-6.3-rc2/net/core/ |
A D | page_pool.c | 704 *offset = pool->frag_offset; in page_pool_alloc_frag() 726 pool->frag_offset = size; in page_pool_alloc_frag() 732 pool->frag_offset = *offset + size; in page_pool_alloc_frag()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_rx.c | 472 union mlx5e_alloc_unit *au, u32 frag_offset, u32 len, in mlx5e_add_skb_frag() argument 477 dma_sync_single_for_cpu(rq->pdev, addr + frag_offset, len, in mlx5e_add_skb_frag() 481 au->page, frag_offset, len, truesize); in mlx5e_add_skb_frag() 1946 u32 frag_offset = head_offset + headlen; in mlx5e_skb_from_cqe_mpwrq_nonlinear() local 1962 if (unlikely(frag_offset >= PAGE_SIZE)) { in mlx5e_skb_from_cqe_mpwrq_nonlinear() 1964 frag_offset -= PAGE_SIZE; in mlx5e_skb_from_cqe_mpwrq_nonlinear() 1967 mlx5e_fill_skb_data(skb, rq, au, byte_cnt, frag_offset); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
|
/linux-6.3-rc2/net/ipv4/ |
A D | tcp.c | 1953 u32 frag_offset, partial_frag_remainder = 0; in tcp_zerocopy_set_hint_for_skb() local 1961 frag = skb_advance_to_frag(skb, offset, &frag_offset); in tcp_zerocopy_set_hint_for_skb() 1965 if (frag_offset) { in tcp_zerocopy_set_hint_for_skb() 1973 partial_frag_remainder = skb_frag_size(frag) - frag_offset; in tcp_zerocopy_set_hint_for_skb()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_enet.c | 3715 u32 frag_offset = desc_cb->page_offset + pull_len; in hns3_handle_rx_copybreak() local 3729 memcpy(frag, desc_cb->buf + frag_offset, frag_size); in hns3_handle_rx_copybreak() 3742 u32 frag_offset = desc_cb->page_offset + pull_len; in hns3_nic_reuse_page() local 3750 skb_add_rx_frag(skb, i, desc_cb->priv, frag_offset, in hns3_nic_reuse_page() 3794 skb_add_rx_frag(skb, i, desc_cb->priv, frag_offset, in hns3_nic_reuse_page()
|