Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\contiguous.c Create Date:2022-07-28 10:33:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_free_contiguous() - release allocated pages*@dev: Pointer to device for which the pages were allocated

Proto:void dma_free_contiguous(struct device *dev, struct page *page, size_t size)

Type:void

Parameter:

TypeParameterName
struct device *dev
struct page *page
size_tsize
267  If Not cma_release(dev_get_cma_area(dev), page, align the pointer to the (next) page boundary (size) >> PAGE_SHIFT determines the page size ) Then __free_pages(page, get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory)
Caller
NameDescribe
__dma_direct_alloc_pages
dma_direct_alloc_pages
dma_direct_free_pages