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:qid_eq - Test to see if to kquid values are the same*@left: A qid value*@right: Another quid value* Return true if the two qid values are equal and false otherwise.

Proto:bool qid_eq(struct kqid left, struct kqid right)

Type:bool

Parameter:

TypeParameterName
struct kqidleft
struct kqidright
15  If USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) != USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) Then Return false
18  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for user quotas
19  Return uid_eq(uid, uid)
20  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for group quotas
21  Return gid_eq(gid, gid)
22  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for project quotas
23  Return projid_eq(projid, projid)
24  Default
25  BUG()
Caller
NameDescribe
v2r0_is_id
v2r1_is_id