Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alloon_page_list_enqueue() - inserts a list of pages into the balloon page* list

Proto:size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info, struct list_head *pages)

Type:size_t

Parameter:

TypeParameterName
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  deletes entry from list
50  balloon_page_enqueue_one(b_dev_info, page)
51  n_pages++
53  spin_unlock_irqrestore( & Protection to pages list , flags)
54  Return n_pages