函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Test vmalloc() with given parameters.

函数原型:static int __init do_vmalloc_size(size_t size, int *total_failures)

返回类型:int

参数:

类型参数名称
size_tsize
int *total_failures
119  buf等于vmalloc(size)
120  fill_with_garbage(buf, size)
121  vfree(buf)
123  buf等于vmalloc(size)
124  如果Calculate the number of uninitialized bytes in the buffer. total_failures自加
126  fill_with_garbage(buf, size)
127  vfree(buf)
128  返回:1
调用者
名称描述
test_kvmallocTest kmalloc()/vmalloc() by allocating objects of different sizes.