Searched refs:dqhead (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/fs/quota/ |
D | quota_v2.c | 59 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() 76 struct v2_disk_dqheader dqhead; in v2_check_quota_file() local 80 if (!v2_read_header(sb, type, &dqhead)) in v2_check_quota_file() 82 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file() 83 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file() 92 struct v2_disk_dqheader dqhead; in v2_read_file_info() local 98 if (!v2_read_header(sb, type, &dqhead)) in v2_read_file_info() 100 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info()
|
D | quota_v1.c | 130 struct v2_disk_dqheader dqhead; in v1_check_quota_file() local 145 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, in v1_check_quota_file() 149 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) in v1_check_quota_file()
|
/linux-4.1.27/fs/ocfs2/ |
D | quota_local.c | 172 struct ocfs2_disk_dqheader *dqhead; in ocfs2_local_check_quota_file() local 183 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file() 184 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file() 186 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), in ocfs2_local_check_quota_file() 190 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file() 192 " type=%d\n", le32_to_cpu(dqhead->dqh_version), in ocfs2_local_check_quota_file() 215 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file() 216 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { in ocfs2_local_check_quota_file() 219 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); in ocfs2_local_check_quota_file() 222 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { in ocfs2_local_check_quota_file() [all …]
|