| Function report | 
| Source Code: kernel\user_namespace.c | Create Date:2022-07-28 11:19:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sort_idmaps - Sorts an array of idmap entries.* Can only be called if number of mappings exceeds UID_GID_MAP_MAX_BASE_EXTENTS.
Proto:static int sort_idmaps(struct uid_gid_map *map)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct uid_gid_map * | map | 
| 823 | If 64 bytes -- 1 cache line <= UID_GID_MAP_MAX_BASE_EXTENTS Then Return 0 | 
| 827 | sort(forward, 64 bytes -- 1 cache line , sizeof(structuid_gid_extent), mp function to sort() forward mappings , NULL) | 
| 831 | reverse = kmemdup(forward, 64 bytes -- 1 cache line * sizeof(structuid_gid_extent), GFP_KERNEL) | 
| 838 | sort(reverse, 64 bytes -- 1 cache line , sizeof(structuid_gid_extent), mp function to sort() reverse mappings , NULL) | 
| 841 | Return 0 | 
| 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 |