函数逻辑报告 |
Source Code:kernel\user_namespace.c |
Create Date:2022-07-27 12:21:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:map_id_up
函数原型:static unsigned int map_id_up(struct uid_gid_map *map, unsigned int id)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct uid_gid_map * | map | |
unsigned int | id |
357 | smp_rmb() |
361 | 否则extent等于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. |
365 | 如果extent则id等于id减lower_first加first |
370 | 返回:id |
名称 | 描述 |
---|---|
from_kuid | m_kuid - Create a uid from a kuid user-namespace pair.*@targ: The user namespace we want a uid in.*@kuid: The kernel internal uid to start with.* Map @kuid into the user-namespace specified by @targ and* return the resulting uid. |
from_kgid | m_kgid - Create a gid from a kgid user-namespace pair.*@targ: The user namespace we want a gid in.*@kgid: The kernel internal gid to start with.* Map @kgid into the user-namespace specified by @targ and* return the resulting gid. |
from_kprojid | m_kprojid - Create a projid from a kprojid user-namespace pair.*@targ: The user namespace we want a projid in.*@kprojid: The kernel internal project identifier to start with.* Map @kprojid into the user-namespace specified by @targ and |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |