Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\kqid.c Create Date:2022-07-28 20:33:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid)

Type:qid_t

Parameter:

TypeParameterName
struct user_namespace *targ
struct kqidkqid
104  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for user quotas
105  Return m_kuid_munged - 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.
106  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for group quotas
107  Return m_kgid_munged - 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.
108  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for project quotas
109  Return from_kprojid_munged(targ, projid)
110  Default
111  BUG()
Caller
NameDescribe
quota_send_warningquota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier