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_set_cursor - Set the current position of the cyclic allocator*@idr: idr handle*@val: new position* The next call to idr_alloc_cyclic() will return @val if it is free* (otherwise the search will start from this position).

Proto:static inline void idr_set_cursor(struct idr *idr, unsigned int val)

Type:void

Parameter:

TypeParameterName
struct idr *idr
unsigned intval
81  WRITE_ONCE(idr_next, val)
Caller
NameDescribe
alloc_pid