函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:quota_getstatev

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

返回类型:int

参数:

类型参数名称
struct super_block *sb
inttype
struct fs_quota_statv *fqs
404  memset( & state, 0, sizeof(structqc_state))
405  ret等于get_state(sb, & state)
406  如果ret小于0则返回:ret
409  memset(fqs, 0, fqs的长度)
410  version for future changes 等于s_quota_stat.qs_version
411  FS_QUOTA_.* flags 等于quota_state_to_flags( & state)
413  如果非 FS_QUOTA_.* flags 则返回:负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  如果Inode number of quota file
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  如果Inode number of quota file
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  如果Inode number of quota file
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  返回:0
调用者
名称描述
quota_getxstatev