函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.h Create Date:2022-07-27 15:27:17
Last Modify:2022-05-23 16:25:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:memcg_from_slab_page

函数原型:static inline struct mem_cgroup *memcg_from_slab_page(struct page *page)

返回类型:struct mem_cgroup

参数:

类型参数名称
struct page *page
443  返回:NULL
调用者
名称描述
page_cgroup_inopage_cgroup_ino - return inode number of the memcg a page is charged to*@page: the page* Look up the closest online ancestor of the memory cgroup @page is charged to* and return its inode number or 0 if @page is not charged to any cgroup. It
__mod_lruvec_slab_state