Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\projid.h Create Date:2022-07-28 05:42:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:from_kprojid_munged

Proto:static inline projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t kprojid)

Type:projid_t

Parameter:

TypeParameterName
struct user_namespace *to
kprojid_tkprojid
77  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
78  If (projid == (projid_t) - 1) Then projid = OVERFLOW_PROJID
80  Return projid
Caller
NameDescribe
from_kqid_mungedm_kqid_munged - Create a qid from a kqid user-namespace pair.*@targ: The user namespace we want a qid in.*@kqid: The kernel internal quota identifier to start with.* Map @kqid into the user-namespace specified by @targ and* return the resulting qid.