Function report |
Source Code:include\linux\memcontrol.h |
Create Date:2022-07-28 05:57:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_is_root
Proto:static inline bool mem_cgroup_is_root(struct mem_cgroup *memcg)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg |
339 | Return memcg == root_mem_cgroup |
Name | Describe |
---|---|
shrink_slab | shrink_slab - shrink slab caches*@gfp_mask: allocation context*@nid: node whose slab caches to target*@memcg: memory cgroup whose slab caches to target*@priority: the reclaim priority* Call the shrink functions to age shrinkable caches |
memcg_free_shrinker_maps | |
memcg_alloc_shrinker_maps | |
memcg_expand_shrinker_maps | |
memcg_set_shrinker_bit | |
try_charge | |
cancel_charge | |
mem_cgroup_force_empty_write | |
mem_cgroup_usage | |
mem_cgroup_write | The user of this function is...* RES_LIMIT. |
__mem_cgroup_clear_mc | ancels all extra charges on mc.from and mc.to, and wakes up all waiters. |
uncharge_batch | |
mem_cgroup_swapout | mem_cgroup_swapout - transfer a memsw charge to swap*@page: page whose memsw charge to transfer*@entry: swap entry to move the charge to* Transfer the memsw charge of @page to @entry. |
mem_cgroup_try_charge_swap | mem_cgroup_try_charge_swap - try charging swap space for a page*@page: page being added to swap*@entry: swap entry to charge* Try to charge @page's memcg for the swap space at @entry.* Returns 0 on success, -ENOMEM on failure. |
mem_cgroup_uncharge_swap | mem_cgroup_uncharge_swap - uncharge swap space*@entry: swap entry to uncharge*@nr_pages: the amount of swap space to uncharge |
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 |