函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloon_page_list_enqueue() - inserts a list of pages into the balloon page* list

函数原型:size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info, struct list_head *pages)

返回类型:size_t

参数:

类型参数名称
struct balloon_dev_info *b_dev_info
struct list_head *pages
45  n_pages等于0
47  spin_lock_irqsave( & Protection to pages list , flags)
49  删除链表项
50  balloon_page_enqueue_one(b_dev_info, page)
51  n_pages自加
53  spin_unlock_irqrestore( & Protection to pages list , flags)
54  返回:n_pages