Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota.c Create Date:2022-07-28 20:33:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_to_xfs_dqblk

Proto:static void copy_to_xfs_dqblk(struct fs_disk_quota *dst, struct qc_dqblk *src, int type, qid_t id)

Type:void

Parameter:

TypeParameterName
struct fs_disk_quota *dst
struct qc_dqblk *src
inttype
qid_tid
594  memset(dst, 0, size of dst )
595  version of this structure = s_disk_quota.d_version
596  user, project, or group ID = id
597  If type == lement used for user quotas Then FS_{USER,PROJ,GROUP}_QUOTA = user quota type
599  Else if type == lement used for project quotas Then FS_{USER,PROJ,GROUP}_QUOTA = project quota type
601  Else FS_{USER,PROJ,GROUP}_QUOTA = group quota type
603  absolute limit on disk blks = quota_btobb(absolute limit on used space )
604  preferred limit on disk blks = quota_btobb(preferred limit on used space )
605  maximum # allocated inodes = maximum # allocated inodes
606  preferred inode limit = preferred inode limit
607  # disk blocks owned by the user = quota_btobb(Space owned by the user )
608  # inodes owned by the user = # inodes owned by the user
609  zero if within inode limits = zero if within inode limits
610  similar to above; for disk blocks = similar to above; for space
611  # warnings issued wrt num inodes = # warnings issued wrt num inodes
612  # warnings issued wrt disk blocks = # warnings issued wrt used space
613  absolute limit on realtime blks = quota_btobb(absolute limit on realtime space )
614  preferred limit on RT disk blks = quota_btobb(preferred limit on RT space )
615  # realtime blocks owned = quota_btobb(altime space owned )
616  similar to above; for RT disk blks = similar to above; for RT space
617  # warnings issued wrt RT disk blks = # warnings issued wrt RT space
Caller
NameDescribe
quota_getxquota
quota_getnextxquotaReturn quota for next active quota >= this id, if any exists,* otherwise return -ENOENT via ->get_nextdqblk.