Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:10:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:css_task_iter_advance
Proto:static void css_task_iter_advance(struct css_task_iter *it)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct css_task_iter * | it |
| 4458 | lockdep_assert_held( & css_set_lock) |
| 4459 | repeat : |
| 4460 | If task_pos Then |
| 4466 | If flags & rnal flags Then flags &= ~rnal flags |
| 4471 | If task_pos == tasks_head Then task_pos = next |
| 4473 | If task_pos == mg_tasks_head Then task_pos = next |
| 4477 | Else |
| 4482 | If Not task_pos Then Return |
| 4487 | If flags & walk only threadgroup leaders Then |
| 4489 | If Not thread_group_leader(task) Then Go to repeat |
| 4493 | If Not atomic_read( & live) Then Go to repeat |
| 4495 | Else |
| 4497 | If Per task flags (PF_*), defined further below: & Getting shut down Then Go to repeat |
| Name | Describe |
|---|---|
| css_task_iter_start | ss_task_iter_start - initiate task iteration*@css: the css to walk tasks of*@flags: CSS_TASK_ITER_* flags*@it: the task iterator to use* Initiate iteration through the tasks of @css |
| css_task_iter_next | ss_task_iter_next - return the next task for the iterator*@it: the task iterator being iterated* The "next" function for task iteration. @it should have been* initialized via css_task_iter_start(). Returns NULL when the iteration* reaches the end. |
| 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 |