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

/linux-4.4.14/fs/quota/
H A Dquota_v2.c59 struct v2_disk_dqheader *dqhead) v2_read_header()
63 size = sb->s_op->quota_read(sb, type, (char *)dqhead, v2_read_header()
76 struct v2_disk_dqheader dqhead; v2_check_quota_file() local
80 if (!v2_read_header(sb, type, &dqhead)) v2_check_quota_file()
82 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || v2_check_quota_file()
83 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) v2_check_quota_file()
92 struct v2_disk_dqheader dqhead; v2_read_file_info() local
98 if (!v2_read_header(sb, type, &dqhead)) v2_read_file_info()
100 version = le32_to_cpu(dqhead.dqh_version); v2_read_file_info()
58 v2_read_header(struct super_block *sb, int type, struct v2_disk_dqheader *dqhead) v2_read_header() argument
H A Dquota_v1.c130 struct v2_disk_dqheader dqhead; v1_check_quota_file() local
145 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, v1_check_quota_file()
149 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) v1_check_quota_file()
/linux-4.4.14/fs/ocfs2/
H A Dquota_local.c171 struct ocfs2_disk_dqheader *dqhead; ocfs2_local_check_quota_file() local
182 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); ocfs2_local_check_quota_file()
183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { ocfs2_local_check_quota_file()
185 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), ocfs2_local_check_quota_file()
189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { ocfs2_local_check_quota_file()
191 " type=%d\n", le32_to_cpu(dqhead->dqh_version), ocfs2_local_check_quota_file()
214 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); ocfs2_local_check_quota_file()
215 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { ocfs2_local_check_quota_file()
218 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); ocfs2_local_check_quota_file()
221 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { ocfs2_local_check_quota_file()
224 le32_to_cpu(dqhead->dqh_version), gversions[type], ocfs2_local_check_quota_file()

Completed in 256 milliseconds