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:quota_getstatev

Proto:static int quota_getstatev(struct super_block *sb, int type, struct fs_quota_statv *fqs)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
inttype
struct fs_quota_statv *fqs
404  memset( & state, 0, sizeof(structqc_state))
405  ret = get_state(sb, & state)
406  If ret < 0 Then Return ret
409  memset(fqs, 0, size of fqs )
410  version for future changes = s_quota_stat.qs_version
411  FS_QUOTA_.* flags = quota_state_to_flags( & state)
413  If Not FS_QUOTA_.* flags Then Return -ENOSYS
415  number of dquots incore = Number of dquots in core
417  limit for blks timer = Time after which space softlimit is* enforced
418  limit for inodes timer = Ditto for inode softlimit
419  limit for rt blks timer = Ditto for real-time space
420  limit for num warnings = Limit for number of space warnings
421  limit for num warnings = Ditto for inodes
424  If Inode number of quota file Then
425  qfs_ino = Inode number of quota file
426  umber of BBs 512-byte-blks = Number of 512-byte blocks in the file
427  umber of extents = Number of extents in the file
429  If Inode number of quota file Then
430  de number = Inode number of quota file
431  umber of BBs 512-byte-blks = Number of 512-byte blocks in the file
432  umber of extents = Number of extents in the file
434  If Inode number of quota file Then
435  de number = Inode number of quota file
436  umber of BBs 512-byte-blks = Number of 512-byte blocks in the file
437  umber of extents = Number of extents in the file
439  Return 0
Caller
NameDescribe
quota_getxstatev