函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:设置一个css引用

函数原型:static inline void css_put_many(struct cgroup_subsys_state *css, unsigned int n)

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
unsigned intn
413  如果非flags按位与CSS_NO_REF的值则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())
调用者
名称描述
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.