函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-27 12:09:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:of_css

函数原型:struct cgroup_subsys_state *of_css(struct kernfs_open_file *of)

返回类型:struct cgroup_subsys_state

参数:

类型参数名称
struct kernfs_open_file *of
632  cgrp等于priv
633  cft等于/css accessors for cftype->write() operation
643  如果NULL for cgroup core files 则返回:Dependency order vs. p above. ( Private pointers for each registered subsystem [ the following two fields are initialized automtically during boot ])
645  否则返回: self css with NULL ->ss, points back to this cgroup
调用者
名称描述
freezer_write
pids_max_write
rdmacg_resource_set_max
cpuset_write_resmaskCommon handling for a write to a "cpus" or "mems" file.
sched_partition_write
mem_cgroup_writeThe user of this function is...* RES_LIMIT.
mem_cgroup_reset
memcg_write_event_controlDO NOT USE IN NEW FILES.* Parse input and register new cgroup event handler.* Input must be in format ' '.* Interpretation of args is defined by control file implementation.
memory_min_write
memory_low_write
memory_high_write
memory_max_write
memory_oom_group_write
swap_max_write
hugetlb_cgroup_write
hugetlb_cgroup_reset
tg_set_limit
iolatency_set_limit
ioc_weight_write
seq_css
mem_cgroup_force_empty_write
tg_set_conf
devcgroup_access_write