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 - 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(struct user_namespace *targ, struct kqid kqid)

Type:qid_t

Parameter:

TypeParameterName
struct user_namespace *targ
struct kqidkqid
71  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for user quotas
72  Return 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.
73  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for group quotas
74  Return 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.
75  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for project quotas
76  Return from_kprojid(targ, projid)
77  Default
78  BUG()
Caller
NameDescribe
v1_read_dqblk
v1_commit_dqblk
v2r0_mem2diskdqb
v2r1_mem2diskdqb
get_index
find_block_dqentryFind entry in block
qtree_read_dquot
qtree_get_next_id
quota_getnextquotaReturn quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk
quota_setxquota
quota_getnextxquotaReturn quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk.
qid_has_mappingqid_has_mapping - Report if a qid maps into a user namespace.*@ns: The user namespace to see if a value maps into.*@qid: The kernel internal quota identifier to test.