函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\quota.h Create Date:2022-07-27 06:44:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:make_kqid - Map a user-namespace, type, qid tuple into a kqid

函数原型:static inline struct kqid make_kqid(struct user_namespace *from, enum quota_type type, qid_t qid)

返回类型:struct kqid

参数:

类型参数名称
struct user_namespace *from
enum quota_typetype
qid_tqid
102  USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) 等于type
104  :type恒等于 element used for user quotas
105  uid等于make_kuid(from, qid)
106  退出
107  :type恒等于 element used for group quotas
108  gid等于make_kgid(from, qid)
109  退出
110  :type恒等于 element used for project quotas
111  projid等于make_kprojid(from, qid)
112  退出
113  默认
114  BUG()
116  返回:kqid
调用者
名称描述
v2r0_is_id
v2r1_is_id
qtree_get_next_id
quota_getquota
quota_getnextquotaReturn quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk
quota_setquota
quota_setxquota
quota_getxquota
quota_getnextxquotaReturn quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk.