Searched refs:dqhead (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/fs/quota/ |
D | quota_v2.c | 58 struct v2_disk_dqheader *dqhead) in v2_read_header() argument 62 size = sb->s_op->quota_read(sb, type, (char *)dqhead, in v2_read_header() 77 struct v2_disk_dqheader dqhead; in v2_check_quota_file() local 81 if (v2_read_header(sb, type, &dqhead)) in v2_check_quota_file() 83 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file() 84 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file() 93 struct v2_disk_dqheader dqhead; in v2_read_file_info() local 102 ret = v2_read_header(sb, type, &dqhead); in v2_read_file_info() 105 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info()
|
D | quota_v1.c | 132 struct v2_disk_dqheader dqhead; in v1_check_quota_file() local 147 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, in v1_check_quota_file() 151 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) in v1_check_quota_file()
|
/Linux-v5.15/fs/ocfs2/ |
D | quota_local.c | 171 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 …]
|