Function report |
Source Code:mm\page_counter.c |
Create Date:2022-07-28 16:07:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_counter_memparse - memparse() for page counter limits*@buf: string to parse*@max: string meaning maximum possible value*@nr_pages: returns the result in number of pages* Returns -EINVAL, or 0 and @nr_pages on success. @nr_pages will be
Proto:int page_counter_memparse(const char *buf, const char *max, unsigned long *nr_pages)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | buf | |
const char * | max | |
unsigned long * | nr_pages |
255 | nr_pages = PAGE_COUNTER_MAX |
256 | Return 0 |
263 | nr_pages = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(bytes / PAGE_SIZE, (u64)PAGE_COUNTER_MAX) |
265 | Return 0 |
Name | Describe |
---|---|
mem_cgroup_write | The user of this function is...* RES_LIMIT. |
__mem_cgroup_usage_register_event | |
memory_min_write | |
memory_low_write | |
memory_high_write | |
memory_max_write | |
swap_max_write | |
hugetlb_cgroup_write |
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 |