Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-28 11:19:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:map_id_up_base - Find idmap via binary search in static extent array.* Can only be called if number of mappings is equal or less than* UID_GID_MAP_MAX_BASE_EXTENTS.

Proto:static struct uid_gid_extent *map_id_up_base(unsigned extents, struct uid_gid_map *map, unsigned int id)

Type:struct uid_gid_extent

Parameter:

TypeParameterName
unsignedextents
struct uid_gid_map *map
unsigned intid
327  When idx < extents cycle
328  first = lower_first
329  last = first + count - 1
330  If id >= first && id <= last Then Return extent[idx]
333  Return NULL
Caller
NameDescribe
map_id_up