函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:38:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_contig_range

函数原型:void free_contig_range(unsigned long pfn, unsigned int nr_pages)

返回类型:void

参数:

类型参数名称
unsigned longpfn
unsigned intnr_pages
8601  count等于0
8603 nr_pages自减循环
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)
调用者
名称描述
cma_releasema_release() - release allocated pages*@cma: Contiguous memory region for which the allocation is performed