Home
last modified time | relevance | path

Searched refs:unmap_len (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dtx_tso.c44 * @unmap_len: Length of SKB fragment
67 unsigned int unmap_len; member
203 st->unmap_len = 0; in tso_start()
214 st->unmap_len = skb_frag_size(frag); in tso_get_fragment()
265 buffer->unmap_len = st->unmap_len; in tso_fill_packet_with_fragment()
266 buffer->dma_offset = buffer->unmap_len - buffer->len; in tso_fill_packet_with_fragment()
267 st->unmap_len = 0; in tso_fill_packet_with_fragment()
311 buffer->unmap_len = 0; in tso_start_new_packet()
329 buffer->unmap_len in tso_start_new_packet()
[all...]
H A Dtx_common.c149 if (buffer->unmap_len) { in efx_dequeue_buffer()
154 dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, in efx_dequeue_buffer()
157 dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, in efx_dequeue_buffer()
159 buffer->unmap_len = 0; in efx_dequeue_buffer()
337 size_t len, unmap_len; in efx_tx_map_data() local
346 unmap_len = len; in efx_tx_map_data()
377 buffer->unmap_len = unmap_len; in efx_tx_map_data()
395 unmap_len = len; in efx_tx_map_data()
H A Dtx.c48 buffer->unmap_len = 0; in efx_tx_get_copy_buffer()
487 tx_buffer->unmap_len = len; in efx_xdp_tx_buffers()
H A Def100_tx.c98 buffer->unmap_len = 0; in ef100_tx_can_tso()
H A Dnet_driver.h157 * @unmap_len: Length of this fragment to unmap
159 * Only valid if @unmap_len != 0.
172 unsigned short unmap_len; member
1745 EFX_WARN_ON_ONCE_PARANOID(buffer->unmap_len); in efx_tx_queue_get_insert_buffer()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtx_tso.c44 * @unmap_len: Length of SKB fragment
67 unsigned int unmap_len; member
203 st->unmap_len = 0; in tso_start()
214 st->unmap_len = skb_frag_size(frag); in tso_get_fragment()
265 buffer->unmap_len = st->unmap_len; in tso_fill_packet_with_fragment()
266 buffer->dma_offset = buffer->unmap_len - buffer->len; in tso_fill_packet_with_fragment()
267 st->unmap_len = 0; in tso_fill_packet_with_fragment()
311 buffer->unmap_len = 0; in tso_start_new_packet()
329 buffer->unmap_len in tso_start_new_packet()
[all...]
H A Dtx_common.c155 if (buffer->unmap_len) { in efx_dequeue_buffer()
160 dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, in efx_dequeue_buffer()
163 dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, in efx_dequeue_buffer()
165 buffer->unmap_len = 0; in efx_dequeue_buffer()
357 size_t len, unmap_len; in efx_tx_map_data() local
366 unmap_len = len; in efx_tx_map_data()
397 buffer->unmap_len = unmap_len; in efx_tx_map_data()
415 unmap_len = len; in efx_tx_map_data()
H A Dtx.c48 buffer->unmap_len = 0; in efx_tx_get_copy_buffer()
491 tx_buffer->unmap_len = len; in efx_xdp_tx_buffers()
H A Dnet_driver.h137 * @unmap_len: Length of this fragment to unmap
139 * Only valid if @unmap_len != 0.
152 unsigned short unmap_len; member
1757 EFX_WARN_ON_ONCE_PARANOID(buffer->unmap_len); in efx_tx_queue_get_insert_buffer()
H A Def100_tx.c96 buffer->unmap_len = 0; in ef100_tx_can_tso()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Dtx.c39 buffer->unmap_len = 0; in ef4_tx_get_copy_buffer()
56 if (buffer->unmap_len) { in ef4_dequeue_buffer()
60 dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, in ef4_dequeue_buffer()
63 dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, in ef4_dequeue_buffer()
65 buffer->unmap_len = 0; in ef4_dequeue_buffer()
213 size_t len, unmap_len; in ef4_tx_map_data() local
222 unmap_len = len; in ef4_tx_map_data()
239 buffer->unmap_len = unmap_len; in ef4_tx_map_data()
257 unmap_len in ef4_tx_map_data()
[all...]
H A Dnet_driver.h140 * @unmap_len: Length of this fragment to unmap
142 * Only valid if @unmap_len != 0.
152 unsigned short unmap_len; member
1331 EF4_BUG_ON_PARANOID(buffer->unmap_len); in ef4_tx_queue_get_insert_buffer()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dtx.c39 buffer->unmap_len = 0; in ef4_tx_get_copy_buffer()
56 if (buffer->unmap_len) { in ef4_dequeue_buffer()
60 dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, in ef4_dequeue_buffer()
63 dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, in ef4_dequeue_buffer()
65 buffer->unmap_len = 0; in ef4_dequeue_buffer()
214 size_t len, unmap_len; in ef4_tx_map_data() local
223 unmap_len = len; in ef4_tx_map_data()
240 buffer->unmap_len = unmap_len; in ef4_tx_map_data()
258 unmap_len in ef4_tx_map_data()
[all...]
H A Dnet_driver.h140 * @unmap_len: Length of this fragment to unmap
142 * Only valid if @unmap_len != 0.
152 unsigned short unmap_len; member
1331 EF4_BUG_ON_PARANOID(buffer->unmap_len); in ef4_tx_queue_get_insert_buffer()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c127 if (buffer->unmap_len) { in efx_dequeue_buffer()
132 dma_unmap_single(dma_dev, unmap_addr, buffer->unmap_len, in efx_dequeue_buffer()
135 dma_unmap_page(dma_dev, unmap_addr, buffer->unmap_len, in efx_dequeue_buffer()
137 buffer->unmap_len = 0; in efx_dequeue_buffer()
338 size_t len, unmap_len; in efx_siena_tx_map_data() local
347 unmap_len = len; in efx_siena_tx_map_data()
378 buffer->unmap_len = unmap_len; in efx_siena_tx_map_data()
396 unmap_len = len; in efx_siena_tx_map_data()
H A Dtx.c40 buffer->unmap_len = 0; in efx_tx_get_copy_buffer()
278 tx_buffer->unmap_len = len; in efx_siena_xdp_tx_buffers()
H A Dnet_driver.h157 * @unmap_len: Length of this fragment to unmap
159 * Only valid if @unmap_len != 0.
172 unsigned short unmap_len; member
1710 EFX_WARN_ON_ONCE_PARANOID(buffer->unmap_len); in efx_tx_queue_get_insert_buffer()
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
H A Dadma.h131 * @unmap_len: transaction bytecount
154 unsigned int unmap_len; member
H A Dadma.c1966 group_start->unmap_len = 0; in ppc440spe_adma_prep_dma_interrupt()
2007 sw_desc->unmap_len = len; in ppc440spe_adma_prep_dma_memcpy()
2052 sw_desc->unmap_len = len; in ppc440spe_adma_prep_dma_xor()
2131 iter->unmap_len = len; in ppc440spe_dma01_prep_mult()
2157 iter->unmap_len = len; in ppc440spe_dma01_prep_mult()
2215 iter->unmap_len = len; in ppc440spe_dma01_prep_sum_product()
2241 iter->unmap_len = len; in ppc440spe_dma01_prep_sum_product()
2266 iter->unmap_len = len; in ppc440spe_dma01_prep_sum_product()
2412 iter->unmap_len = len; in ppc440spe_dma01_prep_pq()
2453 iter->unmap_len in ppc440spe_dma2_prep_pq()
[all...]
/kernel/linux/linux-6.6/drivers/dma/ppc4xx/
H A Dadma.h128 * @unmap_len: transaction bytecount
151 unsigned int unmap_len; member
H A Dadma.c1964 group_start->unmap_len = 0; in ppc440spe_adma_prep_dma_interrupt()
2005 sw_desc->unmap_len = len; in ppc440spe_adma_prep_dma_memcpy()
2050 sw_desc->unmap_len = len; in ppc440spe_adma_prep_dma_xor()
2129 iter->unmap_len = len; in ppc440spe_dma01_prep_mult()
2155 iter->unmap_len = len; in ppc440spe_dma01_prep_mult()
2213 iter->unmap_len = len; in ppc440spe_dma01_prep_sum_product()
2239 iter->unmap_len = len; in ppc440spe_dma01_prep_sum_product()
2264 iter->unmap_len = len; in ppc440spe_dma01_prep_sum_product()
2410 iter->unmap_len = len; in ppc440spe_dma01_prep_pq()
2451 iter->unmap_len in ppc440spe_dma2_prep_pq()
[all...]
/kernel/linux/linux-5.10/drivers/iommu/loongson/
H A Diommu.c1190 size_t unmap_len; in iommu_unmap_page() local
1197 unmap_len = iommu_ptw_unmap(iommu, entry, start, end, (IOMMU_LEVEL_MAX - 1)); in iommu_unmap_page()
1202 return unmap_len; in iommu_unmap_page()
1208 size_t unmap_len = 0; in domain_unmap_page() local
1218 unmap_len += 0x4000; in domain_unmap_page()
1221 unmap_len += size; in domain_unmap_page()
1223 return unmap_len; in domain_unmap_page()
1228 unmap_len = iommu_unmap_page(entry, start, size); in domain_unmap_page()
1231 return unmap_len; in domain_unmap_page()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_inode.c1497 xfs_filblks_t unmap_len; in xfs_itruncate_extents_flags() local
1529 unmap_len = XFS_MAX_FILEOFF - first_unmap_block + 1; in xfs_itruncate_extents_flags()
1530 while (unmap_len > 0) { in xfs_itruncate_extents_flags()
1532 error = __xfs_bunmapi(tp, ip, first_unmap_block, &unmap_len, in xfs_itruncate_extents_flags()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_inode.c1342 xfs_filblks_t unmap_len; in xfs_itruncate_extents_flags() local
1374 unmap_len = XFS_MAX_FILEOFF - first_unmap_block + 1; in xfs_itruncate_extents_flags()
1375 while (unmap_len > 0) { in xfs_itruncate_extents_flags()
1377 error = __xfs_bunmapi(tp, ip, first_unmap_block, &unmap_len, in xfs_itruncate_extents_flags()
/kernel/linux/linux-6.6/tools/testing/selftests/iommu/
H A Diommufd.c374 uint64_t unmap_len; in TEST_F() local
397 &unmap_len)); in TEST_F()
398 ASSERT_EQ(32 * PAGE_SIZE, unmap_len); in TEST_F()

Completed in 43 milliseconds

12