函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:20:13 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ache_reap - Reclaim memory from caches
函数原型:static void cache_reap(struct work_struct *w)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct work_struct * | w |
4033 | work等于to_delayed_work(w) |
4035 | 如果非mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically则转到:out |
4040 | check_irq_on() |
4060 | next_reap等于jiffies加REAPTIMEOUT_NODE |
4064 | 如果free_touched则free_touched等于0 |
4066 | 否则 |
4069 | freed等于drain_freelist(searchp, n, (free_limit + 5 * num - 1) / (5 * num)) |
4071 | STATS_ADD_REAPED(searchp, freed) |
4073 | next : |
4074 | cond_resched() |
4076 | check_irq_on() |
4078 | next_reap_node() |
4079 | out : |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |