函数逻辑报告 |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-27 12:18:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:parent_cs
函数原型:static inline struct cpuset *parent_cs(struct cpuset *cs)
返回类型:struct cpuset
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuset * | cs |
205 | 返回:css_cs(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) |
名称 | 描述 |
---|---|
guarantee_online_cpus | Return in pmask the portion of a cpusets's cpus_allowed that* are online. If none are online, walk up the cpuset hierarchy* until we find one that does have some online cpus.* One way or another, we guarantee to return some non-empty subset |
guarantee_online_mems | Return in *pmask the portion of a cpusets's mems_allowed that* are online, with memory |
validate_change | validate_change() - Used to validate that any proposed cpuset change* follows the structural rules for cpusets |
update_parent_subparts_cpumask | pdate_parent_subparts_cpumask - update subparts_cpus mask of parent cpuset*@cpuset: The cpuset that requests change in partition root state*@cmd: Partition root state change command*@newmask: Optional new cpumask for partcmd_update*@tmp: Temporary addmask |
update_cpumasks_hier | pdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset |
update_cpumask | pdate_cpumask - update the cpus_allowed mask of a cpuset and all tasks in it*@cs: the cpuset to consider*@trialcs: trial cpuset*@buf: buffer of cpu numbers written to this cpuset |
update_nodemasks_hier | pdate_nodemasks_hier - Update effective nodemasks and tasks in the subtree*@cs: the cpuset to consider*@new_mems: a temp variable for calculating new effective_mems* When configured nodemask is changed, the effective nodemasks of this cpuset |
update_prstate | pdate_prstate - update partititon_root_state* Call with cpuset_mutex held. |
cpuset_css_online | |
cpuset_css_offline | If the cpuset being removed has its flag 'sched_load_balance'* enabled, then simulate turning sched_load_balance off, which* will call rebuild_sched_domains_locked(). That is not needed* in the default hierarchy where only changes in partition |
remove_tasks_in_empty_cpuset | If CPU and/or memory hotplug handlers, below, unplug any CPUs* or memory nodes, we need to walk over the cpuset hierarchy,* removing that CPU or node from all cpusets. If this removes the* last CPU or node from a cpuset, then move the tasks in the empty |
hotplug_update_tasks | |
cpuset_hotplug_update_tasks | puset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly |
nearest_hardwall_ancestor | arest_hardwall_ancestor() - Returns the nearest mem_exclusive or* mem_hardwall ancestor to the specified cpuset. Call holding* callback_lock. If no ancestor is mem_exclusive or mem_hardwall* (an unusual configuration), then returns the root cpuset. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |