函数逻辑报告 |
Source Code:mm\swap_cgroup.c |
Create Date:2022-07-27 17:50:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__lookup_swap_cgroup
函数原型:static struct swap_cgroup *__lookup_swap_cgroup(struct swap_cgroup_ctrl *ctrl, unsigned long offset)
返回类型:struct swap_cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
struct swap_cgroup_ctrl * | ctrl | |
unsigned long | offset |
71 | mappage等于map[offset / SC_PER_PAGE] |
72 | sc等于page_address(mappage) |
73 | 返回:sc加offset取模SC_PER_PAGE |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |