Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\idr.h Create Date:2022-07-28 05:44:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ida_is_empty

Proto:static inline bool ida_is_empty(const struct ida *ida)

Type:bool

Parameter:

TypeParameterName
const struct ida *ida
320  Return xa_empty() - Determine if an array has any present entries.*@xa: XArray.* Context: Any context.* Return: %true if the array contains only NULL pointers.
Caller
NameDescribe
ida_check_allocStraightforward checks that allocating and freeing IDs work.
ida_check_destroy_1Destroy an IDA with a single entry at @base
ida_check_destroyCheck that ida_destroy and ida_is_empty work
ida_check_leafCheck what happens when we fill a leaf and then delete it. This may* discover mishandling of IDR_FREE.
ida_check_maxCheck 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.
ida_check_convCheck handling of conversions between exceptional entries and full bitmaps.
ida_checks