函数逻辑报告

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_get_cursor - Return the current position of the cyclic allocator*@idr: idr handle* The value returned is the value that will be next returned from* idr_alloc_cyclic() if it is free (otherwise the search will start from* this position).

函数原型:static inline unsigned int idr_get_cursor(const struct idr *idr)

返回类型:unsigned int

参数:

类型参数名称
const struct idr *idr
68  返回:READ_ONCE(idr_next)
调用者
名称描述
alloc_pid分配进程句柄