Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dr_is_empty() - Are there any IDs allocated?*@idr: IDR handle.* Return: %true if any IDs have been allocated from this IDR.

Proto:static inline bool idr_is_empty(const struct idr *idr)

Type:bool

Parameter:

TypeParameterName
const struct idr *idr
162  Return radix_tree_empty( & idr_rt) && radix_tree_tagged( & idr_rt, The IDR API does not expose the tagging functionality of the radix tree* to users. Use tag 0 to track whether a node has free space below it.)