Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:08:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:free_contig_range

Proto:void free_contig_range(unsigned long pfn, unsigned int nr_pages)

Type:void

Parameter:

TypeParameterName
unsigned longpfn
unsigned intnr_pages
8601  count = 0
8603  When nr_pages-- cycle
8604  page = pfn_to_page(pfn)
8606  count += page_count(page) != 1
8607  __free_page(page)
8609  WARN(count != 0, "%d pages are still in use!\n", count)
Caller
NameDescribe
cma_releasema_release() - release allocated pages*@cma: Contiguous memory region for which the allocation is performed