函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This test case is supposed to be failed.

函数原型:static int align_shift_alloc_test(void)

返回类型:int

参数:

118 i小于BITS_PER_LONG循环
119  align等于1左移i
121  ptr等于__vmalloc_node_range - allocate virtually contiguous memory*@size: allocation size*@align: desired alignment*@start: vm area range start*@end: vm area range end*@gfp_mask: flags for the page level allocator*@prot: protection mask for the allocated pages
127  如果非ptr则返回:负1
130  vfree(ptr)
133  返回:0