函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:m_kprojid_munged - Create a projiid from a kprojid user-namespace pair.*@targ: The user namespace we want a projid in.*@kprojid: The kernel internal projid to start with.* Map @kprojid into the user-namespace specified by @targ and

函数原型:projid_t from_kprojid_munged(struct user_namespace *targ, kprojid_t kprojid)

返回类型:projid_t

参数:

类型参数名称
struct user_namespace *targ
kprojid_tkprojid
568  projid等于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
570  如果(projid == (projid_t) - 1)则projid等于OVERFLOW_PROJID
572  返回:projid