Function report |
Source Code:mm\swap_cgroup.c |
Create Date:2022-07-28 16:15:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__lookup_swap_cgroup
Proto:static struct swap_cgroup *__lookup_swap_cgroup(struct swap_cgroup_ctrl *ctrl, unsigned long offset)
Type:struct swap_cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
struct swap_cgroup_ctrl * | ctrl | |
unsigned long | offset |
71 | mappage = map[offset / SC_PER_PAGE] |
72 | sc = page_address(mappage) |
73 | Return sc + offset % SC_PER_PAGE |
Name | Describe |
---|---|
lookup_swap_cgroup | |
swap_cgroup_record | swap_cgroup_record - record mem_cgroup for a set of swap entries*@ent: the first swap entry to be recorded into*@id: mem_cgroup to be recorded*@nr_ents: number of swap entries to be recorded* Returns old value at success, 0 at 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 |