函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\idr.c Create Date:2022-07-27 07:11:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dr_get_next() - Find next populated entry.*@idr: IDR handle.*@nextid: Pointer to an ID.* Returns the next populated entry in the tree with an ID greater than* or equal to the value pointed to by @nextid. On exit, @nextid is updated

函数原型:void *idr_get_next(struct idr *idr, int *nextid)

返回类型:void

参数:

类型参数名称
struct idr *idr
int *nextid
266  id等于nextid
267  entry等于dr_get_next_ul() - Find next populated entry.*@idr: IDR handle.*@nextid: Pointer to an ID.* Returns the next populated entry in the tree with an ID greater than* or equal to the value pointed to by @nextid. On exit, @nextid is updated
269  如果WARN_ON_ONCE(id > INT_MAX)则返回:NULL
271  nextid等于id
272  返回:entry
调用者
名称描述
task_cgroup_pathask_cgroup_path - cgroup path of a task in the first cgroup hierarchy*@task: target task*@buf: the buffer to write the path into*@buflen: the length of the buffer* Determine @task's cgroup on the first (the one with the lowest non-zero
bpf_obj_get_next_id
find_ge_pidUsed by proc to find the first pid that is greater than or equal to nr.* If there is a pid at nr this function is exactly the same as find_pid_ns.