函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:v1_write_file_info

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

返回类型:int

参数:

类型参数名称
struct super_block *sb
inttype
188  dqopt等于sb_dqopt(sb)
192  lock for writing
193  ret等于quota_read(sb, type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(0))
195  如果ret不等于sizeof(structv1_disk_dqblk)则
196  如果ret大于等于0则ret等于负EIO
198  转到:out
200  加自旋锁
201  DFQ_ flags [dq_data_lock] 与等于Is info dirty? 的反
202  ime limit for excessive inode use 等于 Inode grace time [dq_data_lock]
203  ime limit for excessive disk use 等于 Space grace time [dq_data_lock]
204  自旋锁解锁
205  ret等于quota_write(sb, type, (char * ) & dqblk, sizeof(structv1_disk_dqblk), v1_dqoff(0))
207  如果ret恒等于sizeof(structv1_disk_dqblk)则ret等于0
209  否则如果ret大于0则ret等于负EIO
211  out :
212  lease a write lock
213  返回:ret