函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:css_cs

函数原型:static inline struct cpuset *css_cs(struct cgroup_subsys_state *css)

返回类型:struct cpuset

参数:

类型参数名称
struct cgroup_subsys_state *css
194  返回:css ? container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(css, structcpuset, css) : NULL
调用者
名称描述
task_csRetrieve the cpuset for a task
parent_cs
cpuset_can_attachCalled by cgroups to determine if a cpuset is usable; cpuset_mutex held
cpuset_cancel_attach
cpuset_attach
cpuset_write_u64
cpuset_write_s64
cpuset_write_resmaskCommon handling for a write to a "cpus" or "mems" file.
cpuset_common_seq_showThese ascii lists should be read in a single call, by using a user* buffer large enough to hold the entire map
cpuset_read_u64
cpuset_read_s64
sched_partition_show
sched_partition_write
cpuset_css_online
cpuset_css_offlineIf 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
cpuset_css_free