Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:v1_read_file_info

Proto:static int v1_read_file_info(struct super_block *sb, int type)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
inttype
161  dqopt = sb_dqopt(sb)
165  lock for reading
166  ret = quota_read(sb, type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(0))
168  If ret != sizeof(structv1_disk_dqblk) Then
169  If ret >= 0 Then ret = -EIO
171  Go to out
173  ret = 0
175  Maximum space limit [static] = 0xffffffffULL << QUOTABLOCK_BITS
176  Maximum inode limit [static] = 0xffffffff
177  Inode grace time [dq_data_lock] = If ime limit for excessive inode use Then ime limit for excessive inode use Else (7*24*60*60) 1 week
179  Space grace time [dq_data_lock] = If ime limit for excessive disk use Then ime limit for excessive disk use Else (7*24*60*60) 1 week
181  out :
182  lease a read lock
183  Return ret