函数逻辑报告

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

函数原型:static inline void idr_set_cursor(struct idr *idr, unsigned int val)

返回类型:void

参数:

类型参数名称
struct idr *idr
unsigned intval
81  WRITE_ONCE(idr_next, val)
调用者
名称描述
alloc_pid分配进程句柄