函数逻辑报告 |
Source Code:lib\idr.c |
Create Date:2022-07-27 07:11:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dr_alloc_cyclic() - Allocate an ID cyclically.*@idr: IDR handle.*@ptr: Pointer to be associated with the new ID.*@start: The minimum ID (inclusive).*@end: The maximum ID (exclusive).*@gfp: Memory allocation flags.
函数原型:int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct idr * | idr | |
void * | ptr | |
int | start | |
int | end | |
gfp_t | gfp |
134 | 返回:id |
名称 | 描述 |
---|---|
cgroup_init_root_id | |
bpf_map_alloc_id | |
bpf_prog_alloc_id | |
btf_alloc_id | |
alloc_pid | 分配进程句柄 |
ipc_idr_alloc | Insert new IPC object into idr tree, and set sequence number and id* in the correct order.* Especially:* - the sequence number must be set before inserting the object into the idr,* because the sequence number is accessed without a lock. |
inotify_add_to_idr |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |