Function report |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-28 16:16:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hugetlb_cgroup_reset
Proto:static ssize_t hugetlb_cgroup_reset(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernfs_open_file * | of | |
char * | buf | |
size_t | nbytes | |
loff_t | off |
322 | ret = 0 |
324 | h_cg = hugetlb_cgroup_from_css(of_css(of)) |
329 | Case MEMFILE_ATTR(private) == RES_MAX_USAGE |
331 | Break |
332 | Case MEMFILE_ATTR(private) == RES_FAILCNT |
333 | failcnt = 0 |
334 | Break |
335 | Default |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |