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_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).

Proto:static inline unsigned int idr_get_cursor(const struct idr *idr)

Type:unsigned int

Parameter:

TypeParameterName
const struct idr *idr
68  Return READ_ONCE(idr_next)
Caller
NameDescribe
alloc_pid