函数逻辑报告 |
Source Code:include\linux\memcontrol.h |
Create Date:2022-07-27 06:56:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static inline struct mem_cgroup *parent_mem_cgroup(struct mem_cgroup *memcg)
返回类型:struct mem_cgroup
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mem_cgroup * | memcg |
| 482 | 如果非parent则返回:NULL |
| 484 | 返回:mem_cgroup_from_counter(parent, memory) |
| 名称 | 描述 |
|---|---|
| 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 | |
| memcg_memory_event | |
| mem_cgroup_under_socket_pressure |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |