函数逻辑报告 |
Source Code:kernel\user_namespace.c |
Create Date:2022-07-27 12:21:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mappings_overlap
函数原型:static bool mappings_overlap(struct uid_gid_map *new_map, struct uid_gid_extent *extent)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct uid_gid_map * | new_map | |
struct uid_gid_extent * | extent |
715 | upper_first等于first |
716 | lower_first等于lower_first |
717 | upper_last等于upper_first加count减1 |
718 | lower_last等于lower_first加count减1 |
720 | 以idx小于 64 bytes -- 1 cache line 循环 |
725 | 如果 64 bytes -- 1 cache line 小于等于UID_GID_MAP_MAX_BASE_EXTENTS则prev等于extent[idx] |
730 | prev_upper_first等于first |
732 | prev_upper_last等于prev_upper_first加count减1 |
733 | prev_lower_last等于prev_lower_first加count减1 |
736 | 如果prev_upper_first小于等于upper_last且prev_upper_last大于等于upper_first则返回:true |
741 | 如果prev_lower_first小于等于lower_last且prev_lower_last大于等于lower_first则返回:true |
745 | 返回:false |
名称 | 描述 |
---|---|
map_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |