函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:qid_t from_kqid(struct user_namespace *targ, struct kqid kqid)

返回类型:qid_t

参数:

类型参数名称
struct user_namespace *targ
struct kqidkqid
71  : USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) 恒等于 element used for user quotas
72  返回: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  : USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) 恒等于 element used for group quotas
74  返回: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  : USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) 恒等于 element used for project quotas
76  返回:from_kprojid(targ, projid)
77  默认
78  BUG()
调用者
名称描述
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.