Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Destroy an IDA with a single entry at @base

Proto:static void ida_check_destroy_1(struct ida *ida, unsigned int base)

Type:void

Parameter:

TypeParameterName
struct ida *ida
unsigned intbase
59  IDA_BUG_ON(ida, da_alloc_min() - Allocate an unused ID != base)
60  IDA_BUG_ON(ida, ida_is_empty(ida))
61  da_destroy() - Free all IDs.*@ida: IDA handle.* Calling this function frees all IDs and releases all resources used* by an IDA. When this call returns, the IDA is empty and can be reused* or freed. If the IDA is already empty, there is no need to call this
62  IDA_BUG_ON(ida, !ida_is_empty(ida))
Caller
NameDescribe
ida_check_destroyCheck that ida_destroy and ida_is_empty work