Function report |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-28 16:16:24 |
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_write
Proto:static ssize_t hugetlb_cgroup_write(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 |
293 | h_cg = hugetlb_cgroup_from_css(of_css(of)) |
295 | If hugetlb_cgroup_is_root(h_cg) Then Return -EINVAL |
303 | idx = MEMFILE_IDX(private) |
307 | Case MEMFILE_ATTR(private) == RES_LIMIT |
308 | mutex_lock( & hugetlb_limit_mutex) |
311 | Break |
312 | 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 |