函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:10:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_migrate_prepare_dst - prepare destination css_sets for migration*@mgctx: migration context* Tasks are about to be moved and all the source css_sets have been* preloaded to @mgctx->preloaded_src_csets
函数原型:int cgroup_migrate_prepare_dst(struct cgroup_mgctx *mgctx)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_mgctx * | mgctx |
2635 | WARN_ON_ONCE(mg_dst_cset || mg_dst_cset) |
2644 | mg_dst_cgrp = NULL |
2645 | 删除链表项并重新初始化 |
2646 | put_css_set(src_cset) |
2647 | put_css_set(dst_cset) |
2648 | 继续下一循环 |
2651 | mg_dst_cset等于dst_cset |
2656 | 否则put_css_set(dst_cset) |
2659 | r_each_subsys - iterate all enabled cgroup subsystems*@ss: the iteration cursor*@ssid: the index of @ss, CGROUP_SUBSYS_COUNT after reaching the end(ss, ssid) |
2664 | 返回:0 |
名称 | 描述 |
---|---|
cgroup_attach_task | group_attach_task - attach a task or a whole threadgroup to a cgroup*@dst_cgrp: the cgroup to attach to*@leader: the task or the leader of the threadgroup to be attached*@threadgroup: attach the whole threadgroup? |
cgroup_update_dfl_csses | group_update_dfl_csses - update css assoc of a subtree in default hierarchy*@cgrp: root of the subtree to update csses for*@cgrp's control masks have changed and its subtree's css associations* need to be updated accordingly |
cgroup_transfer_tasks | group_trasnsfer_tasks - move tasks from one cgroup to another*@to: cgroup to which the tasks will be moved*@from: cgroup in which the tasks currently reside* Locking rules between cgroup_post_fork() and the migration path* guarantee that, if a task is |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |