函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ame_vector_to_pages - convert frame vector to contain page pointers*@vec: frame vector to convert* Convert @vec to contain array of page pointers. If the conversion is* successful, return 0. Otherwise return an error. Note that we do not grab

函数原型:int frame_vector_to_pages(struct frame_vector *vec)

返回类型:int

参数:

类型参数名称
struct frame_vector *vec
160  如果非Does array contain pages or pfns? 则返回:0
162  nums等于frame_vector_pfns(vec)
163 i小于Number of frames stored in ptrs array 循环如果非pfn_valid(nums[i])则
165  返回:负EINVAL
166  pages等于nums
167 i小于Number of frames stored in ptrs array 循环pages[i]等于pfn_to_page(nums[i])
169  Does array contain pages or pfns? = false
170  返回:0