函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\balloon_compaction.h Create Date:2022-07-27 15:39:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:alloon_page_pop - remove a page from a page list.*@head : pointer to list*@page : page to be added* Caller must ensure the page is private and protect the list.

函数原型:static inline struct page *balloon_page_pop(struct list_head *pages)

返回类型:struct page

参数:

类型参数名称
struct list_head *pages
202  page等于list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(pages, structpage, lru)
204  如果非page则返回:NULL
207  删除链表项
208  返回:page