Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ss_put_many - put css references*@css: target css*@n: number of references to put* Put references obtained via css_get() and css_tryget_online().

Proto:static inline void css_put_many(struct cgroup_subsys_state *css, unsigned int n)

Type:void

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
unsigned intn
413  If Not (flags & CSS_NO_REF) Then percpu_ref_put_many - decrement a percpu refcount*@ref: percpu_ref to put*@nr: number of references to put* Decrement the refcount, and if 0, call the release function (which was passed* to percpu_ref_init())
Caller
NameDescribe
drain_stockReturns stocks cached in percpu and reset cached information.
cancel_charge
__mem_cgroup_clear_mcancels all extra charges on mc.from and mc.to, and wakes up all waiters.
uncharge_batch
mem_cgroup_swapoutmem_cgroup_swapout - transfer a memsw charge to swap*@page: page whose memsw charge to transfer*@entry: swap entry to move the charge to* Transfer the memsw charge of @page to @entry.