Function report |
Source Code:include\linux\memcontrol.h |
Create Date:2022-07-28 05:57:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parent_mem_cgroup - find the accounting parent of a memcg*@memcg: memcg whose parent to find* Returns the parent memcg, or NULL if this is the root or the memory* controller is in legacy no-hierarchy mode.
Proto:static inline struct mem_cgroup *parent_mem_cgroup(struct mem_cgroup *memcg)
Type:struct mem_cgroup
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mem_cgroup * | memcg |
| 482 | If Not parent Then Return NULL |
| 484 | Return mem_cgroup_from_counter(parent, memory) |
| Name | Describe |
|---|---|
| advance_inactive_age | |
| page_cgroup_ino | page_cgroup_ino - return inode number of the memcg a page is charged to*@page: the page* Look up the closest online ancestor of the memory cgroup @page is charged to* and return its inode number or 0 if @page is not charged to any cgroup. It |
| mem_cgroup_update_tree | |
| __mod_memcg_state | __mod_memcg_state - update cgroup memory statistics*@memcg: the memory cgroup*@idx: the stat item - can be enum memcg_stat_item or enum node_stat_item*@val: delta to add to the counter, can be negative |
| parent_nodeinfo | |
| __count_memcg_events | __count_memcg_events - account VM events in a cgroup*@memcg: the memory cgroup*@idx: the event item*@count: the number of events that occured |
| invalidate_reclaim_iterators | |
| mem_cgroup_get_oom_group | mem_cgroup_get_oom_group - get a memory cgroup to clean up after OOM*@victim: task to be killed by the OOM killer*@oom_domain: memcg in case of memcg OOM, NULL in case of system-wide OOM* Returns a pointer to a memory cgroup, which has to be cleaned up |
| memcg_hotplug_cpu_dead | |
| reclaim_high | |
| try_charge | |
| memcg_flush_percpu_vmstats | |
| memcg_flush_percpu_vmevents | |
| memcg_stat_show | |
| mem_cgroup_threshold | |
| 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_id_get_online | |
| mem_cgroup_get_nr_swap_pages | |
| mem_cgroup_swap_full | |
| vmpressure_parent |
| 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 |