函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:v1_read_file_info

函数原型:static int v1_read_file_info(struct super_block *sb, int type)

返回类型:int

参数:

类型参数名称
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  如果ret不等于sizeof(structv1_disk_dqblk)则
169  如果ret大于等于0则ret等于负EIO
171  转到: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] 等于如果ime limit for excessive inode use ime limit for excessive inode use 否则(7*24*60*60) 1 week
179  Space grace time [dq_data_lock] 等于如果ime limit for excessive disk use ime limit for excessive disk use 否则(7*24*60*60) 1 week
181  out :
182  lease a read lock
183  返回:ret