函数逻辑报告 |
Source Code:mm\swap_cgroup.c |
Create Date:2022-07-27 17:50:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lookup_swap_cgroup
函数原型:static struct swap_cgroup *lookup_swap_cgroup(swp_entry_t ent, struct swap_cgroup_ctrl **ctrlp)
返回类型:struct swap_cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
swp_entry_t | ent | |
struct swap_cgroup_ctrl ** | ctrlp |
79 | offset等于Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format |
82 | ctrl等于swap_cgroup_ctrl[Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format] |
85 | 返回:__lookup_swap_cgroup(ctrl, offset) |
名称 | 描述 |
---|---|
swap_cgroup_cmpxchg | swap_cgroup_cmpxchg - cmpxchg mem_cgroup's id for this swp_entry.*@ent: swap entry to be cmpxchged*@old: old id*@new: new id* Returns old id at success, 0 at failure.* (There is no mem_cgroup using 0 as its id) |
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. |
lookup_swap_cgroup_id | lookup_swap_cgroup_id - lookup mem_cgroup id tied to swap entry*@ent: swap entry to be looked up.* Returns ID of mem_cgroup at success. 0 at failure. (0 is invalid ID) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |