Home
last modified time | relevance | path

Searched refs:frag_offset (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_cmdpkt.c16 u16 frag_length = 0, frag_offset = 0; in rtl92e_send_cmd_pkt() local
27 if ((len - frag_offset) > CMDPACKET_FRAG_SIZE) { in rtl92e_send_cmd_pkt()
32 frag_length = (u16)(len - frag_offset); in rtl92e_send_cmd_pkt()
78 frag_offset += frag_length; in rtl92e_send_cmd_pkt()
80 } while (frag_offset < len); in rtl92e_send_cmd_pkt()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr819xU_firmware.c40 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()
/kernel/linux/linux-5.10/fs/squashfs/
Dinode.c130 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()
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_spi.c110 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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c140 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c405 unsigned int orig_fsz, frag_offset = 0, n = 0; in mlx5e_ktls_tx_handle_ooo() local
411 bool fence = !(i || frag_offset); in mlx5e_ktls_tx_handle_ooo()
415 fsz = min_t(unsigned int, sq->hw_mtu, orig_fsz - frag_offset); in mlx5e_ktls_tx_handle_ooo()
423 frag_offset += fsz; in mlx5e_ktls_tx_handle_ooo()
424 } while (frag_offset < orig_fsz); in mlx5e_ktls_tx_handle_ooo()
/kernel/linux/linux-5.10/drivers/net/xen-netback/
Drx.c246 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()
/kernel/linux/linux-5.10/net/kcm/
Dkcmsock.c579 unsigned short fragidx, frag_offset; in kcm_write_msgs() local
610 frag_offset = txm->frag_offset; in kcm_write_msgs()
637 frag_offset = 0; in kcm_write_msgs()
647 skb_frag_off(frag) + frag_offset, in kcm_write_msgs()
648 skb_frag_size(frag) - frag_offset, in kcm_write_msgs()
656 txm->frag_offset = frag_offset; in kcm_write_msgs()
681 frag_offset += ret; in kcm_write_msgs()
683 if (frag_offset < skb_frag_size(frag)) { in kcm_write_msgs()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c443 struct mlx5e_dma_info *di, u32 frag_offset, u32 len, in mlx5e_add_skb_frag() argument
447 di->addr + frag_offset, in mlx5e_add_skb_frag()
451 di->page, frag_offset, len, truesize); in mlx5e_add_skb_frag()
1407 u32 frag_offset = head_offset + headlen; in mlx5e_skb_from_cqe_mpwrq_nonlinear() local
1421 if (unlikely(frag_offset >= PAGE_SIZE)) { in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1423 frag_offset -= PAGE_SIZE; in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1428 min_t(u32, PAGE_SIZE - frag_offset, byte_cnt); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1432 mlx5e_add_skb_frag(rq, skb, di, frag_offset, in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1435 frag_offset = 0; in mlx5e_skb_from_cqe_mpwrq_nonlinear()
/kernel/linux/linux-5.10/include/net/
Dkcm.h51 unsigned int frag_offset; member