函数逻辑报告

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_get_many(struct cgroup_subsys_state *css, unsigned int n)

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
unsigned intn
333  如果非flags按位与CSS_NO_REF的值则percpu计数
调用者
名称描述
try_charge
mem_cgroup_migratemem_cgroup_migrate - charge a page's replacement*@oldpage: currently circulating page*@newpage: replacement page* Charge @newpage as a replacement page for @oldpage. @oldpage will* be uncharged upon free.