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_lt - Test to see if one qid value is less than another*@left: The possibly lesser qid value*@right: The possibly greater qid value* Return true if left is less than right and false otherwise.

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

Type:bool

Parameter:

TypeParameterName
struct kqidleft
struct kqidright
39  If USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) < USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) Then Return true
41  If USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) > USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) Then Return false
44  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for user quotas
45  Return uid_lt(uid, uid)
46  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for group quotas
47  Return gid_lt(gid, gid)
48  Case USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) == element used for project quotas
49  Return projid_lt(projid, projid)
50  Default
51  BUG()