函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:20:17 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_slabinfo
函数原型:void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | cachep | |
struct slabinfo * | sinfo |
4088 | total_slabs等于0, free_objs等于0, shared_avail等于0 |
4089 | free_slabs等于0 |
4094 | check_irq_on() |
4095 | spin_lock_irq( & list_lock) |
4097 | total_slabs加等于total_slabs |
4098 | free_slabs加等于free_slabs |
4099 | free_objs加等于free_objects |
4101 | 如果shared则shared_avail加等于avail |
4104 | spin_unlock_irq( & list_lock) |
4106 | num_objs等于total_slabs乘num |
4108 | active_objs等于num_objs减free_objs |
4110 | active_objs等于active_objs |
4112 | active_slabs等于active_slabs |
4113 | num_slabs等于total_slabs |
4114 | shared_avail等于shared_avail |
4116 | batchcount等于batchcount |
4118 | objects_per_slab等于num |
4119 | cache_order等于gfporder |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |