函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:41:04 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Add a shrinker callback to be called from the vm.
函数原型:int prealloc_shrinker(struct shrinker *shrinker)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct shrinker * | shrinker |
352 | size等于bjs pending delete, per node 的长度 |
354 | 如果flags按位与Flags 则size乘等于nr_node_ids |
358 | 如果非bjs pending delete, per node 则返回:负ENOMEM |
361 | 如果flags按位与SHRINKER_MEMCG_AWARE则 |
362 | 如果prealloc_memcg_shrinker(shrinker)则转到:free_deferred |
366 | 返回:0 |
368 | free_deferred : |
369 | 释放内存 |
370 | bjs pending delete, per node = NULL |
371 | 返回:负ENOMEM |
名称 | 描述 |
---|---|
register_shrinker | |
workingset_init | |
alloc_super | alloc_super - create new superblock*@type: filesystem type superblock should belong to*@flags: the mount flags*@user_ns: User namespace for the super_block* Allocates and initializes a new &struct super_block. alloc_super() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |