Searched refs:dqhead (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | quota_v2.c | 52 struct v2_disk_dqheader dqhead; in v2_check_quota_file() local 57 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, sizeof(struct v2_disk_dqheader), 0); in v2_check_quota_file() 63 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file() 64 le32_to_cpu(dqhead.dqh_version) != quota_versions[type]) in v2_check_quota_file()
|
D | quota_v1.c | 123 struct v2_disk_dqheader dqhead; in v1_check_quota_file() local 136 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, sizeof(struct v2_disk_dqheader), 0); in v1_check_quota_file() 139 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) in v1_check_quota_file()
|
/fs/ocfs2/ |
D | quota_local.c | 145 struct ocfs2_disk_dqheader *dqhead; in ocfs2_local_check_quota_file() local 156 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file() 157 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file() 159 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), in ocfs2_local_check_quota_file() 163 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file() 165 " type=%d\n", le32_to_cpu(dqhead->dqh_version), in ocfs2_local_check_quota_file() 188 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file() 189 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { in ocfs2_local_check_quota_file() 192 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); in ocfs2_local_check_quota_file() 195 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { in ocfs2_local_check_quota_file() [all …]
|