函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:quota_getstate

函数原型:static int quota_getstate(struct super_block *sb, int type, struct fs_quota_stat *fqs)

返回类型:int

参数:

类型参数名称
struct super_block *sb
inttype
struct fs_quota_stat *fqs
338  memset( & state, 0, sizeof(structqc_state))
339  ret等于get_state(sb, & state)
340  如果ret小于0则返回:ret
343  memset(fqs, 0, fqs的长度)
344  version number for future changes 等于s_quota_stat.qs_version
345  FS_QUOTA_{U,P,G}DQ_{ACCT,ENFD} 等于quota_state_to_flags( & state)
347  如果非 FS_QUOTA_{U,P,G}DQ_{ACCT,ENFD} 则返回:负ENOSYS
349  number of dquots incore 等于 Number of dquots in core
351  limit for blks timer 等于Time after which space softlimit is* enforced
352  limit for inodes timer 等于Ditto for inode softlimit
353  limit for rt blks timer 等于Ditto for real-time space
354  limit for num warnings 等于Limit for number of space warnings
355  limit for num warnings 等于Ditto for inodes
358  如果Inode number of quota file
359  qfs_ino等于Inode number of quota file
360  umber of BBs 512-byte-blks 等于Number of 512-byte blocks in the file
361  umber of extents 等于Number of extents in the file
363  如果Inode number of quota file
364  de number 等于Inode number of quota file
365  umber of BBs 512-byte-blks 等于Number of 512-byte blocks in the file
366  umber of extents 等于Number of extents in the file
368  如果Inode number of quota file
374  如果非Flags QCI_* 按位与Quota accounting enabled 的值则
382  返回:0
调用者
名称描述
quota_getxstate