函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota_v1.c Create Date:2022-07-29 11:09:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:v1_read_dqblk

函数原型:static int v1_read_dqblk(struct dquot *dquot)

返回类型:int

参数:

类型参数名称
struct dquot *dquot
58  type等于 USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid)
60  dqopt等于sb_dqopt( superblock this applies to )
62  如果非 inodes of quotafiles [type]则返回:负EINVAL
66  memset( & dqblk, 0, sizeof(structv1_disk_dqblk))
67  quota_read( superblock this applies to , type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(from_kqid( & userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ?, ID this applies to (uid, gid, projid) )))
71  v1_disk2mem_dqblk( & Diskquota usage [dq_dqb_lock] , & dqblk)
72  如果absolute limit on disk blks alloc 恒等于0且preferred limit on disk blks 恒等于0且absolute limit on allocated inodes 恒等于0且preferred inode limit 恒等于0则设置内存位
77  dqstats_inc(DQST_READS)
79  返回:0