函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void put_vaddr_frames(struct frame_vector *vec)

返回类型:void

参数:

类型参数名称
struct frame_vector *vec
128  如果非Did we pin pages by getting page ref? 则转到:out
130  pages等于frame_vector_pages(vec)
136  如果WARN_ON(是错误)则转到:out
138 i小于Number of frames stored in ptrs array 循环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