Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:08:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_taskset_next - iterate to the next task in taskset*@tset: taskset of interest*@dst_cssp: output variable for the destination css* Return the next task in @tset. Iteration must have been initialized* with cgroup_taskset_first().
Proto:struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, struct cgroup_subsys_state **dst_cssp)
Type:struct task_struct
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup_taskset * | tset | |
struct cgroup_subsys_state ** | dst_cssp |
2353 | Else task = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(task, cg_list) |
2356 | If cg_list protected by css_set_lock and tsk->alloc_lock: != mg_tasks Then |
2371 | Return task |
2374 | cset = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(cset, mg_node) |
2375 | task = NULL |
2378 | Return NULL |
Name | Describe |
---|---|
cgroup_taskset_first | group_taskset_first - reset taskset and return the first task*@tset: taskset of interest*@dst_cssp: output variable for the destination css*@tset iteration is initialized and the first task is returned. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |