Home
last modified time | relevance | path

Searched refs:dqhead (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/quota/
Dquota_v2.c59 struct v2_disk_dqheader *dqhead) in v2_read_header() argument
63 size = sb->s_op->quota_read(sb, type, (char *)dqhead, in v2_read_header()
78 struct v2_disk_dqheader dqhead; in v2_check_quota_file() local
82 if (v2_read_header(sb, type, &dqhead)) in v2_check_quota_file()
84 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file()
85 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file()
94 struct v2_disk_dqheader dqhead; in v2_read_file_info() local
103 ret = v2_read_header(sb, type, &dqhead); in v2_read_file_info()
106 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info()
Dquota_v1.c131 struct v2_disk_dqheader dqhead; in v1_check_quota_file() local
146 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, in v1_check_quota_file()
150 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) in v1_check_quota_file()
/linux-4.19.296/fs/ocfs2/
Dquota_local.c171 struct ocfs2_disk_dqheader *dqhead; in ocfs2_local_check_quota_file() local
182 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file()
183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file()
185 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), in ocfs2_local_check_quota_file()
189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file()
191 " type=%d\n", le32_to_cpu(dqhead->dqh_version), in ocfs2_local_check_quota_file()
214 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file()
215 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { in ocfs2_local_check_quota_file()
218 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); in ocfs2_local_check_quota_file()
221 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { in ocfs2_local_check_quota_file()
[all …]