Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Generic routine for getting common part of quota structure

Proto:static void do_get_dqblk(struct dquot *dquot, struct qc_dqblk *di)

Type:void

Parameter:

TypeParameterName
struct dquot *dquot
struct qc_dqblk *di
2594  dm = Diskquota usage [dq_dqb_lock]
2596  memset(di, 0, size of di )
2597  spin_lock( & Lock protecting dq_dqb changes )
2598  absolute limit on used space = absolute limit on disk blks alloc
2599  preferred limit on used space = preferred limit on disk blks
2600  maximum # allocated inodes = absolute limit on allocated inodes
2601  preferred inode limit = preferred inode limit
2602  Space owned by the user = current used space + current reserved space for delalloc
2603  # inodes owned by the user = current # allocated inodes
2604  similar to above; for space = ime limit for excessive disk use
2605  zero if within inode limits = ime limit for excessive inode use
2606  spin_unlock( & Lock protecting dq_dqb changes )
Caller
NameDescribe
dquot_get_dqblk
dquot_get_next_dqblk