函数逻辑报告

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

函数名称:fix_align_alloc_test

函数原型:static int fix_align_alloc_test(void)

返回类型:int

参数:

141 i小于test_loop_count循环
142  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
149  如果非ptr则返回:负1
152  vfree(ptr)
155  返回:0