Function report |
Source Code:kernel\user_namespace.c |
Create Date:2022-07-28 11:19:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sert_extent - Safely insert a new idmap extent into struct uid_gid_map.* Takes care to allocate a 4K block of memory if the number of mappings exceeds* UID_GID_MAP_MAX_BASE_EXTENTS.
Proto:static int insert_extent(struct uid_gid_map *map, struct uid_gid_extent *extent)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct uid_gid_map * | map | |
struct uid_gid_extent * | extent |
757 | If 64 bytes -- 1 cache line == UID_GID_MAP_MAX_BASE_EXTENTS Then |
761 | forward = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
770 | No 3D Now!(forward, extent, 64 bytes -- 1 cache line * size of extent[0] ) |
774 | reverse = NULL |
777 | If 64 bytes -- 1 cache line < UID_GID_MAP_MAX_BASE_EXTENTS Then dest = extent[ 64 bytes -- 1 cache line ] |
779 | Else dest = forward[ 64 bytes -- 1 cache line ] |
783 | 64 bytes -- 1 cache line ++ |
784 | 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 |