Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 26 lines 602 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/dma-direction.h> 4 5__rust_helper dma_addr_t rust_helper_sg_dma_address(struct scatterlist *sg) 6{ 7 return sg_dma_address(sg); 8} 9 10__rust_helper unsigned int rust_helper_sg_dma_len(struct scatterlist *sg) 11{ 12 return sg_dma_len(sg); 13} 14 15__rust_helper struct scatterlist *rust_helper_sg_next(struct scatterlist *sg) 16{ 17 return sg_next(sg); 18} 19 20__rust_helper void rust_helper_dma_unmap_sgtable(struct device *dev, 21 struct sg_table *sgt, 22 enum dma_data_direction dir, 23 unsigned long attrs) 24{ 25 return dma_unmap_sgtable(dev, sgt, dir, attrs); 26}