函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check allocations up to and slightly above the maximum allowed (2^31-1) ID.* Allocating up to 2^31-1 should succeed, and then allocating the next one* should fail.

函数原型:static void ida_check_max(struct ida *ida)

返回类型:void

参数:

类型参数名称
struct ida *ida
111 j小于65537循环
112  base等于1UL左移31位的值减j
113 i小于j循环
117  IDA_BUG_ON(ida, da_alloc_min() - Allocate an unused ID != - ENOSPC)
119  释放所有缓存层内IDA树
120  IDA_BUG_ON(ida, !ida_is_empty(ida))
调用者
名称描述
ida_checks