Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:map_id_up_max - Find idmap via binary search in ordered idmap array.* Can only be called if number of mappings exceeds UID_GID_MAP_MAX_BASE_EXTENTS.

Proto:static struct uid_gid_extent *map_id_up_max(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
345  rue -> id from kid; false -> kid from id = true
346  == 0 unless used with map_id_range_down() = 1
347  d to find = id
349  Return search - binary search an array of elements*@key: pointer to item being searched for*@base: pointer to first element to search*@num: number of elements*@size: size of each element*@cmp: pointer to comparison function
Caller
NameDescribe
map_id_up