Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cgroup.h Create Date:2022-07-28 05:54:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ss_get - obtain a reference on the specified css*@css: target css* The caller must already have a reference.

Proto:static inline void css_get(struct cgroup_subsys_state *css)

Type:void

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
320  If Not (flags & CSS_NO_REF) Then percpu_ref_get - increment a percpu refcount*@ref: percpu_ref to get* Analagous to atomic_long_inc().* This function is safe to call as long as @ref is between init and exit.
Caller
NameDescribe
kthread_associate_blkcgkthread_associate_blkcg - associate blkcg to current kthread*@css: the cgroup info* Current thread must be a kthread. The thread is running jobs on behalf of* other threads. In some cases, we expect the jobs attach cgroup info of
cgroup_get_e_cssgroup_get_e_css - get a cgroup's effective css for the specified subsystem*@cgrp: the cgroup of interest*@ss: the subsystem of interest* Find and get the effective css of @cgrp for @ss
cgroup_get_live
find_css_setd_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.
init_and_link_css
kill_css
cpuset_write_resmaskCommon handling for a write to a "cpus" or "mems" file.
sched_partition_write
mem_cgroup_oom
mem_cgroup_get_oom_groupmem_cgroup_get_oom_group - get a memory cgroup to clean up after OOM*@victim: task to be killed by the OOM killer*@oom_domain: memcg in case of memcg OOM, NULL in case of system-wide OOM* Returns a pointer to a memory cgroup, which has to be cleaned up
mem_cgroup_css_online
mem_cgroup_sk_alloc