Function report |
Source Code:kernel\user_namespace.c |
Create Date:2022-07-28 11:19:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mappings_overlap
Proto:static bool mappings_overlap(struct uid_gid_map *new_map, struct uid_gid_extent *extent)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
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 | When idx < 64 bytes -- 1 cache line cycle |
725 | If 64 bytes -- 1 cache line <= UID_GID_MAP_MAX_BASE_EXTENTS Then prev = extent[idx] |
730 | prev_upper_first = first |
731 | prev_lower_first = lower_first |
732 | prev_upper_last = prev_upper_first + count - 1 |
733 | prev_lower_last = prev_lower_first + count - 1 |
736 | If prev_upper_first <= upper_last && prev_upper_last >= upper_first Then Return true |
741 | If prev_lower_first <= lower_last && prev_lower_last >= lower_first Then Return true |
745 | Return false |
Name | Describe |
---|---|
map_write |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |