Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_vmalloc.c Create Date:2022-07-28 06:30:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This test case is supposed to be failed.

Proto:static int align_shift_alloc_test(void)

Type:int

Parameter:Nothing

118  When i < BITS_PER_LONG cycle
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  If Not ptr Then Return -1
130  vfree(ptr)
133  Return 0