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:Check that ida_destroy and ida_is_empty work

Proto:static void ida_check_destroy(struct ida *ida)

Type:void

Parameter:

TypeParameterName
struct ida *ida
69  IDA_BUG_ON(ida, !ida_is_empty(ida))
70  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
71  IDA_BUG_ON(ida, !ida_is_empty(ida))
73  Destroy an IDA with a single entry at @base
74  Destroy an IDA with a single entry at @base
75  Destroy an IDA with a single entry at @base
76  Destroy an IDA with a single entry at @base
77  Destroy an IDA with a single entry at @base
Caller
NameDescribe
ida_checks