函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\idr.h Create Date:2022-07-27 06:45:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dr_init_base() - Initialise an IDR.*@idr: IDR handle.*@base: The base value for the IDR.* This variation of idr_init() creates an IDR which will allocate IDs* starting at %base.

函数原型:static inline void idr_init_base(struct idr *idr, int base)

返回类型:void

参数:

类型参数名称
struct idr *idr
intbase
137  INIT_RADIX_TREE( & idr_rt, Set the IDR flag and the IDR_FREE tag )
138  idr_base等于base
139  idr_next等于0
调用者
名称描述
aa_secids_init
idr_initdr_init() - Initialise an IDR.*@idr: IDR handle.* Initialise a dynamically allocated IDR. To initialise a* statically allocated IDR, use DEFINE_IDR().