函数逻辑报告 |
Source Code:mm\page_counter.c |
Create Date:2022-07-27 17:41:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_counter_set_max - set the maximum number of pages allowed*@counter: counter*@nr_pages: limit to set* Returns 0 on success, -EBUSY if the current number of pages on the* counter already exceeds the specified limit.
函数原型:int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page_counter * | counter | |
unsigned long | nr_pages |
175 | 循环 |
190 | usage等于atomic_long_read( & usage) |
197 | 如果atomic_long_read( & usage)小于等于usage则返回:0 |
201 | cond_resched() |
名称 | 描述 |
---|---|
mem_cgroup_resize_max | |
memcg_update_kmem_max | |
memcg_update_tcp_max | |
mem_cgroup_css_reset | mem_cgroup_css_reset - reset the states of a mem_cgroup*@css: the target css* Reset the states of the mem_cgroup associated with @css. This is* invoked when the userland requests disabling on the default hierarchy |
hugetlb_cgroup_init | |
hugetlb_cgroup_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |