函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:v2_read_header

函数原型:static int v2_read_header(struct super_block *sb, int type, struct v2_disk_dqheader *dqhead)

返回类型:int

参数:

类型参数名称
struct super_block *sb
inttype
struct v2_disk_dqheader *dqhead
64  size等于quota_read(sb, type, (char * )dqhead, sizeof(structv2_disk_dqheader), 0)
66  如果size不等于sizeof(structv2_disk_dqheader)则
67  quota_error(sb, "Failed header read: expected=%zd got=%zd", sizeof(structv2_disk_dqheader), size)
69  如果size小于0则返回:size
71  返回:负EIO
73  返回:0
调用者
名称描述
v2_check_quota_fileCheck whether given file is really vfsv0 quotafile
v2_read_file_infoRead information header from quota file