--- zzzz-none-000/linux-5.4.213/include/linux/dmapool.h 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/include/linux/dmapool.h 2024-05-29 11:20:02.000000000 +0000 @@ -16,6 +16,17 @@ struct device; +struct dma_pool { /* the pool */ + struct list_head page_list; + spinlock_t lock; + size_t size; + struct device *dev; + size_t allocation; + size_t boundary; + char name[32]; + struct list_head pools; +}; + #ifdef CONFIG_HAS_DMA struct dma_pool *dma_pool_create(const char *name, struct device *dev,