Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-28 16:11:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mem_cgroup_force_empty_write

Proto:static ssize_t mem_cgroup_force_empty_write(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off)

Type:ssize_t

Parameter:

TypeParameterName
struct kernfs_open_file *of
char *buf
size_tnbytes
loff_toff
3180  memcg = mem_cgroup_from_css(of_css(of))
3182  If mem_cgroup_is_root(memcg) Then Return -EINVAL
3184  Return If Reclaims as many pages from the given memcg as possible.* Caller is responsible for holding css reference for memcg. Else nbytes