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:mem_cgroup_id
Proto:static inline unsigned short mem_cgroup_id(struct mem_cgroup *memcg)
Type:unsigned short
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mem_cgroup * | memcg | 
| 450 | If mem_cgroup_disabled() Then Return 0 | 
| 453 | Return id | 
| Name | Describe | 
|---|---|
| workingset_eviction | workingset_eviction - note the eviction of a page from memory*@target_memcg: the cgroup that is causing the reclaim*@page: the page being evicted* Returns a shadow entry to be stored in @page->mapping->i_pages in place | 
| mem_cgroup_move_swap_account | mem_cgroup_move_swap_account - move swap charge and swap_cgroup's record | 
| get_mctgt_type | get_mctgt_type - get target type of moving charge*@vma: the vma the pte to be checked belongs*@addr: the address corresponding to the pte to be checked*@ptent: the pte to be checked*@target: the pointer the target page or swap ent will be stored(can be | 
| 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. | 
| 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  |