/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_cmdpkt.c | 15 u16 frag_length = 0, frag_offset = 0; in rtl92e_send_cmd_pkt() local 24 if ((len - frag_offset) > CMDPACKET_FRAG_SIZE) { in rtl92e_send_cmd_pkt() 29 frag_length = (u16)(len - frag_offset); in rtl92e_send_cmd_pkt() 72 frag_offset += frag_length; in rtl92e_send_cmd_pkt() 74 } while (frag_offset < len); in rtl92e_send_cmd_pkt()
|
/linux-6.12.1/fs/squashfs/ |
D | inode.c | 133 unsigned int frag_offset, frag; in squashfs_read_inode() local 145 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 154 frag_offset = 0; in squashfs_read_inode() 164 squashfs_i(inode)->fragment_offset = frag_offset; in squashfs_read_inode() 176 unsigned int frag_offset, frag; in squashfs_read_inode() local 188 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 197 frag_offset = 0; in squashfs_read_inode() 211 squashfs_i(inode)->fragment_offset = frag_offset; in squashfs_read_inode()
|
/linux-6.12.1/drivers/media/pci/netup_unidvb/ |
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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
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.12.1/tools/testing/selftests/net/ |
D | ncdevmem.c | 399 dmabuf_cmsg->frag_offset >> PAGE_SHIFT, in do_server() 400 dmabuf_cmsg->frag_offset % getpagesize(), in do_server() 401 dmabuf_cmsg->frag_offset, dmabuf_cmsg->frag_size, in do_server() 420 dmabuf_cmsg->frag_offset, in do_server() 425 dmabuf_cmsg->frag_offset, in do_server()
|
/linux-6.12.1/drivers/net/xen-netback/ |
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.12.1/include/uapi/linux/ |
D | uio.h | 24 __u64 frag_offset; /* offset into the dmabuf where the frag starts. member
|
/linux-6.12.1/include/net/page_pool/ |
D | helpers.h | 140 if (pool->frag_offset + *size > max_size) { in page_pool_alloc() 142 pool->frag_offset = max_size; in page_pool_alloc()
|
D | types.h | 175 unsigned int frag_offset; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 500 u32 frag_offset, u32 len) in mlx5e_add_skb_shared_info_frag() argument 506 dma_sync_single_for_cpu(rq->pdev, addr + frag_offset, len, rq->buff.map_dir); in mlx5e_add_skb_shared_info_frag() 517 skb_frag_fill_page_desc(frag, frag_page->page, frag_offset, len); in mlx5e_add_skb_shared_info_frag() 527 u32 frag_offset, u32 len, in mlx5e_add_skb_frag() argument 533 dma_sync_single_for_cpu(rq->pdev, addr + frag_offset, len, in mlx5e_add_skb_frag() 536 if (skb_can_coalesce(skb, next_frag, frag_page->page, frag_offset)) { in mlx5e_add_skb_frag() 541 frag_offset, len, truesize); in mlx5e_add_skb_frag() 1989 u32 frag_offset = head_offset; in mlx5e_skb_from_cqe_mpwrq_nonlinear() local 2005 net_prefetchw(page_address(frag_page->page) + frag_offset); in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2027 frag_offset += headlen; in mlx5e_skb_from_cqe_mpwrq_nonlinear() [all …]
|
/linux-6.12.1/net/core/ |
D | page_pool.c | 185 CACHELINE_ASSERT_GROUP_MEMBER(struct page_pool, frag, frag_offset); in page_pool_struct_check() 948 *offset = pool->frag_offset; in page_pool_alloc_frag_netmem() 970 pool->frag_offset = size; in page_pool_alloc_frag_netmem() 976 pool->frag_offset = *offset + size; in page_pool_alloc_frag_netmem()
|
/linux-6.12.1/include/net/ |
D | kcm.h | 50 unsigned int frag_offset; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 792 unsigned int orig_fsz, frag_offset = 0, n = 0; in mlx5e_ktls_tx_handle_ooo() local 801 fsz = min_t(unsigned int, sq->hw_mtu, orig_fsz - frag_offset); in mlx5e_ktls_tx_handle_ooo() 809 frag_offset += fsz; in mlx5e_ktls_tx_handle_ooo() 810 } while (frag_offset < orig_fsz); in mlx5e_ktls_tx_handle_ooo()
|
/linux-6.12.1/net/kcm/ |
D | kcmsock.c | 619 txm->frag_offset = 0; in kcm_write_msgs() 643 iov_iter_advance(&msg.msg_iter, txm->frag_offset); in kcm_write_msgs() 674 txm->frag_offset += ret; in kcm_write_msgs() 681 txm->frag_offset = 0; in kcm_write_msgs() 686 txm->frag_offset = 0; in kcm_write_msgs()
|
/linux-6.12.1/net/ipv4/ |
D | tcp.c | 1835 u32 frag_offset, partial_frag_remainder = 0; in tcp_zerocopy_set_hint_for_skb() local 1843 frag = skb_advance_to_frag(skb, offset, &frag_offset); in tcp_zerocopy_set_hint_for_skb() 1847 if (frag_offset) { in tcp_zerocopy_set_hint_for_skb() 1855 partial_frag_remainder = skb_frag_size(frag) - frag_offset; in tcp_zerocopy_set_hint_for_skb() 2461 u64 frag_offset; in tcp_recvmsg_dmabuf() local 2484 frag_offset = net_iov_virtual_addr(niov) + in tcp_recvmsg_dmabuf() 2487 dmabuf_cmsg.frag_offset = frag_offset; in tcp_recvmsg_dmabuf()
|
/linux-6.12.1/Documentation/networking/ |
D | devmem.rst | 174 * dmabuf_cmsg->frag_offset is the offset into
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 3728 u32 frag_offset = desc_cb->page_offset + pull_len; in hns3_handle_rx_copybreak() local 3742 memcpy(frag, desc_cb->buf + frag_offset, frag_size); in hns3_handle_rx_copybreak() 3755 u32 frag_offset = desc_cb->page_offset + pull_len; in hns3_nic_reuse_page() local 3763 skb_add_rx_frag(skb, i, desc_cb->priv, frag_offset, in hns3_nic_reuse_page() 3807 skb_add_rx_frag(skb, i, desc_cb->priv, frag_offset, in hns3_nic_reuse_page()
|