Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_vaddr_frames() - drop references to pages if get_vaddr_frames() acquired* them*@vec: frame vector to put* Drop references to pages if get_vaddr_frames() acquired them. We also* invalidate the frame vector so that it is prepared for the next call into

Proto:void put_vaddr_frames(struct frame_vector *vec)

Type:void

Parameter:

TypeParameterName
struct frame_vector *vec
128  If Not Did we pin pages by getting page ref? Then Go to out
130  pages = frame_vector_pages(vec)
136  If WARN_ON(IS_ERR(pages)) Then Go to out
138  When i < Number of frames stored in ptrs array cycle Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page.
140  Did we pin pages by getting page ref? = false
141  out :
142  Number of frames stored in ptrs array = 0