Function report | 
Source Code:mm\hugetlb_cgroup.c | 
Create Date:2022-07-28 16:16:20 | 
| 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_read_u64
Proto:static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, struct cftype *cft)
Type:u64
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cftype * | cft | 
| 268 | h_cg = hugetlb_cgroup_from_css(css) | 
| 273 | Case MEMFILE_ATTR(private) == RES_USAGE | 
| 274 | Return page_counter_read(counter) * PAGE_SIZE | 
| 275 | Case MEMFILE_ATTR(private) == RES_LIMIT | 
| 277 | Case MEMFILE_ATTR(private) == RES_MAX_USAGE | 
| 279 | Case MEMFILE_ATTR(private) == RES_FAILCNT | 
| 280 | Return failcnt | 
| 281 | Default | 
| 282 | BUG() | 
| 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  |