Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:projid_t from_kprojid_munged(struct user_namespace *targ, kprojid_t kprojid)

Type:projid_t

Parameter:

TypeParameterName
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  If (projid == (projid_t) - 1) Then projid = OVERFLOW_PROJID
572  Return projid