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_put - put a css reference*@css: target css* Put a reference obtained via css_get() and css_tryget_online().

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

Type:void

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
400  If Not (flags & CSS_NO_REF) Then percpu_ref_put - decrement a percpu refcount*@ref: percpu_ref to put* Decrement the refcount, and if 0, call the release function (which was passed* to percpu_ref_init())* 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
put_css_set_locked
cgroup_extra_stat_show
css_free_rwork_fnss destruction is four-stage process
css_killed_work_fnThis is called when the refcnt of a css is confirmed to be killed.* css_tryget_online() is now guaranteed to fail. Tell the subsystem to* initate destruction and put the css ref from kill_css().
freezer_read
freezer_change_statezer_change_state - change the freezing state of a cgroup_freezer*@freezer: freezer of interest*@freeze: whether to freeze or thaw* Freeze or thaw @freezer according to @freeze. The operations are* recursive - all descendants of @freezer will be affected.
rdmacg_uncharge_hierarchydmacg_uncharge_hierarchy - hierarchically uncharge rdma resource count*@device: pointer to rdmacg device*@stop_cg: while traversing hirerchy, when meet with stop_cg cgroup* stop uncharging*@index: index of the resource to uncharge in cg in given resource
update_cpumasks_hierpdate_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_nodemasks_hierpdate_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
cpuset_write_resmaskCommon handling for a write to a "cpus" or "mems" file.
sched_partition_write
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.
mem_cgroup_itermem_cgroup_iter - iterate over memory cgroup hierarchy*@root: hierarchy root*@prev: previously returned memcg, NULL on first invocation*@reclaim: cookie for shared reclaim walks, NULL for full walks* Returns references to children of the hierarchy below
mem_cgroup_iter_breakmem_cgroup_iter_break - abort a hierarchy walk prematurely*@root: hierarchy root*@prev: last visited hierarchy member as returned by mem_cgroup_iter()
mem_cgroup_oom_synchronizemem_cgroup_oom_synchronize - complete memcg OOM handling*@handle: actually kill/wait or just clean up the OOM state* This has to be called at the end of a page fault if the memcg OOM* handler was enabled
mem_cgroup_handle_over_highScheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit.
mem_cgroup_soft_limit_reclaim
memcg_event_removeUnregister event and free resources.* Gets called from workqueue.
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.
mem_cgroup_id_put_many
mem_cgroup_try_chargemem_cgroup_try_charge - try charging a page*@page: page to charge*@mm: mm context of the victim*@gfp_mask: reclaim mode*@memcgp: charged memcg return*@compound: charge the page as compound or small page* Try to charge @page to the memcg that @mm belongs
mem_cgroup_sk_free
hugetlb_cgroup_charge_cgroup
__blkg_release
blkg_createIf @new_blkg is %NULL, this function tries to allocate a new one as* necessary using %GFP_NOWAIT. @new_blkg is always consumed on return.