Function report | 
Source Code:include\linux\page_counter.h | 
Create Date:2022-07-28 05:56:43 | 
| 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_read
Proto:static inline unsigned long page_counter_read(struct page_counter *counter)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page_counter * | counter | 
| 47 | Return atomic_long_read( & usage) | 
| Name | Describe | 
|---|---|
| soft_limit_excess | |
| mem_cgroup_margin | mem_cgroup_margin - calculate chargeable space of a memory cgroup*@memcg: the memory cgroup* Returns the maximum amount of memory @mem can be charged with, in* pages. | 
| mem_cgroup_print_oom_meminfo | mem_cgroup_print_oom_meminfo: Print OOM memory information relevant to* memory controller.*@memcg: The memory cgroup that went over limit | 
| mem_cgroup_size | |
| reclaim_high | |
| mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. | 
| try_charge | |
| mem_cgroup_force_empty | Reclaims as many pages from the given memcg as possible.* Caller is responsible for holding css reference for memcg. | 
| mem_cgroup_usage | |
| mem_cgroup_read_u64 | |
| memory_current_read | |
| memory_high_write | |
| memory_max_write | |
| mem_cgroup_protected | mem_cgroup_protected - check if memory consumption is in the normal range*@root: the top ancestor of the sub-tree being checked*@memcg: the memory cgroup to check* WARNING: This function is not stateless! It can only be used as part | 
| mem_cgroup_get_nr_swap_pages | |
| mem_cgroup_swap_full | |
| swap_current_read | |
| hugetlb_cgroup_have_usage | |
| hugetlb_cgroup_read_u64 | 
| 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  |