函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:43:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_event_ratelimit
函数原型:static bool mem_cgroup_event_ratelimit(struct mem_cgroup *memcg, enum mem_cgroup_events_target target)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
enum mem_cgroup_events_target | target |
862 | val等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(nr_page_events) |
863 | next等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(targets[target]) |
867 | 当:target恒等于MEM_CGROUP_TARGET_THRESH |
869 | 退出 |
872 | 退出 |
873 | 默认 |
874 | 退出 |
876 | __this_cpu_write(targets[target], next) |
877 | 返回:true |
879 | 返回:false |
名称 | 描述 |
---|---|
memcg_check_events | Check events in order. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |