函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy.
函数原型:static struct css_set *find_css_set(struct css_set *old_cset, struct cgroup *cgrp)
返回类型:struct css_set
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct css_set * | old_cset | |
| struct cgroup * | cgrp |
| 1181 | struct cgroup_subsys_state * template[CGROUP_SUBSYS_COUNT] = {} |
| 1193 | spin_lock_irq( & css_set_lock) |
| 1197 | spin_unlock_irq( & css_set_lock) |
| 1203 | 如果非cset则返回:NULL |
| 1214 | 初始化链表头 |
| 1215 | 初始化链表头 |
| 1216 | 初始化链表头 |
| 1217 | 初始化链表头 |
| 1218 | 初始化链表头 |
| 1219 | INIT_HLIST_NODE( & List running through all cgroup groups in the same hash* slot. Protected by css_set_lock) |
| 1220 | 初始化链表头 |
| 1221 | 初始化链表头 |
| 1222 | 初始化链表头 |
| 1228 | spin_lock_irq( & css_set_lock) |
| 1240 | 1 for init_css_set 自加 |
| 1243 | key等于css_set_hash(Set of subsystem states, one for each subsystem. This array is* immutable after creation apart from the init_css_set during* subsystem registration (at boot time).) |
| 1247 | css等于Set of subsystem states, one for each subsystem. This array is* immutable after creation apart from the init_css_set during* subsystem registration (at boot time).[ssid] |
| 1249 | 添加链表项 |
| 1251 | 获取指定CSS参考 |
| 1254 | spin_unlock_irq( & css_set_lock) |
| 1266 | 如果非dcset则 |
| 1267 | put_css_set(cset) |
| 1268 | 返回:NULL |
| 1271 | spin_lock_irq( & css_set_lock) |
| 1273 | 添加链表项 |
| 1275 | spin_unlock_irq( & css_set_lock) |
| 1278 | 返回:cset |
| 名称 | 描述 |
|---|---|
| find_css_set | d_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy. |
| cgroup_migrate_prepare_dst | 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |