Home
last modified time | relevance | path

Searched refs:unmap_len (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtx_tso.c67 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 = st->header_unmap_len; in tso_start_new_packet()
337 buffer->unmap_len = 0; in tso_start_new_packet()
437 if (state.unmap_len) { in efx_enqueue_skb_tso()
[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.h152 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()
H A Def10.c2298 buffer->unmap_len = 0; in efx_ef10_tx_tso_desc()
2313 buffer->unmap_len = 0; in efx_ef10_tx_tso_desc()
/openbmc/linux/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.h172 unsigned short unmap_len; member
1710 EFX_WARN_ON_ONCE_PARANOID(buffer->unmap_len); in efx_tx_queue_get_insert_buffer()
/openbmc/linux/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 = len; in ef4_tx_map_data()
H A Dnet_driver.h152 unsigned short unmap_len; member
1331 EF4_BUG_ON_PARANOID(buffer->unmap_len); in ef4_tx_queue_get_insert_buffer()
/openbmc/linux/drivers/dma/ppc4xx/
H A Dadma.h151 unsigned int unmap_len; member
H A Dadma.c2005 sw_desc->unmap_len = len; in ppc440spe_adma_prep_dma_memcpy()
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 = len; in ppc440spe_dma2_prep_pq()
2630 iter->unmap_len = len; in ppc440spe_adma_prep_dma_pqzero_sum()
2652 iter->unmap_len = 0; in ppc440spe_adma_prep_dma_pqzero_sum()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_inode.c1353 xfs_filblks_t unmap_len; in xfs_itruncate_extents_flags() local
1385 unmap_len = XFS_MAX_FILEOFF - first_unmap_block + 1; in xfs_itruncate_extents_flags()
1386 while (unmap_len > 0) { in xfs_itruncate_extents_flags()
1388 error = __xfs_bunmapi(tp, ip, first_unmap_block, &unmap_len, in xfs_itruncate_extents_flags()
/openbmc/linux/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()