函数逻辑报告 |
Source Code:include\linux\cgroup.h |
Create Date:2022-07-27 06:54:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:获得任务的css_set
函数原型:static inline struct css_set *task_css_set(struct task_struct *task)
返回类型:struct css_set
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
478 | 返回:task_css_set_check(task, false) |
名称 | 描述 |
---|---|
task_cgroup_from_root | Return the cgroup for "task" from the given hierarchy. Must be* called with cgroup_mutex and css_set_lock held. |
cgroup_migrate_add_task | group_migrate_add_task - add a migration target task to a migration context*@task: target task*@mgctx: target migration context* Add @task, which is a migration target, to @mgctx->tset. This function* becomes noop if @task doesn't need to be migrated |
cgroup_migrate_execute | group_taskset_migrate - migrate a taskset*@mgctx: migration context* Migrate tasks in @mgctx as setup by migration preparation functions.* This function fails iff one of the ->can_attach callbacks fails and |
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_post_fork | group_post_fork - called on a new task after adding it to the task list*@child: the task in question* Adds the task to the list running through its css_set if necessary and* call the subsystem fork() callbacks |
cgroup_exit | group_exit - detach cgroup from exiting task*@tsk: pointer to task_struct of exiting process* Description: Detach cgroup from @tsk. |
cgroup_release | |
cgroup_free | |
copy_cgroup_ns | |
current_css_set_read | |
current_css_set_refcount_read | |
current_css_set_cg_links_read | |
task_dfl_cgroup | |
task_under_cgroup_hierarchy | ask_under_cgroup_hierarchy - test task's membership of cgroup ancestry*@task: the task to be tested*@ancestor: possible ancestor of @task's cgroup* Tests whether @task's default cgroup hierarchy is a descendant of @ancestor |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |