函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\user_namespace.c Create Date:2022-07-27 12:21:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static struct uid_gid_extent *map_id_up_base(unsigned extents, struct uid_gid_map *map, unsigned int id)

返回类型:struct uid_gid_extent

参数:

类型参数名称
unsignedextents
struct uid_gid_map *map
unsigned intid
327 idx小于extents循环
328  first等于lower_first
329  last等于firstcount减1
330  如果id大于等于firstid小于等于last则返回:extent[idx]
333  返回:NULL
调用者
名称描述
map_id_up